gentoo-ebuilds/www-nginx
Zurab Kvachadze 3abcc25833
www-nginx/ngx-vod: fix unprototyped func declaration causing build errors on new gcc's
Before version 15, GCC had -std=gnu17 as the default. GCC 15 bumped the
default to -std=gnu23. One of the changes in C23 is the interpretation
of function declaration without parameters (unprototyped declaration).

In C17 and before, the unprototyped declaration specified no information
on the number and types of arguments. With GCC 15, the declaration of
the form
    int myfunc()
is treated the same as
    int myfunc(void)
i.e. the function takes no arguments.

This change broke compilation of the module which relied on older
interpretation. The broken function, having the unprototyped
declaration, actually takes one argument of type ngx_cycle_t *.

This commit corrects the function declaration and definition, explicitly
specifying the arguments.

Closes: https://bugs.gentoo.org/959586
Closes: https://bugs.gentoo.org/959690
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42954
Closes: https://github.com/gentoo/gentoo/pull/42954
Signed-off-by: Sam James <sam@gentoo.org>
2025-07-10 23:39:43 +01:00
..
ngx-brotli www-nginx/ngx-brotli: Keyword 20231109 amd64, #959570 2025-07-05 09:32:14 +01:00
ngx-dav-ext www-nginx/ngx-dav-ext: Keyword 3.0.0 amd64, #959570 2025-07-05 09:32:15 +01:00
ngx-echo www-nginx/ngx-echo: Keyword 0.63 amd64, #959570 2025-07-05 09:32:17 +01:00
ngx-encrypted-session www-nginx/ngx-encrypted-session: Keyword 0.09 amd64, #959570 2025-07-05 09:32:19 +01:00
ngx-eval www-nginx/ngx-eval: Keyword 0_p20240817 amd64, #959570 2025-07-05 09:32:19 +01:00
ngx-fancyindex www-nginx/ngx-fancyindex: Keyword 0.5.2 amd64, #959570 2025-07-05 09:32:20 +01:00
ngx-geoip2 www-nginx/ngx-geoip2: Keyword 3.4 amd64, #959570 2025-07-05 09:32:21 +01:00
ngx-headers-more www-nginx/ngx-headers-more: Keyword 0.37 amd64, #959570 2025-07-05 09:32:21 +01:00
ngx-iconv www-nginx/ngx-iconv: Keyword 0.14 amd64, #959570 2025-07-05 09:32:22 +01:00
ngx-lua-module www-nginx/ngx-lua-module: Keyword 0.10.27 amd64, #959570 2025-07-05 09:32:16 +01:00
ngx-lua-upstream www-nginx/ngx-lua-upstream: Keyword 0.07 amd64, #959570 2025-07-05 09:32:23 +01:00
ngx-memc www-nginx/ngx-memc: Keyword 0.20 amd64, #959570 2025-07-05 09:32:23 +01:00
ngx-modsecurity www-nginx/ngx-modsecurity: add 1.0.4, drop 1.0.3 2025-07-07 23:24:38 +01:00
ngx-set-misc www-nginx/ngx-set-misc: Keyword 0.33 amd64, #959570 2025-07-05 09:32:18 +01:00
ngx-srcache www-nginx/ngx-srcache: Keyword 0.33 amd64, #959570 2025-07-05 09:32:25 +01:00
ngx-upload-progress www-nginx/ngx-upload-progress: Keyword 0.9.3 amd64, #959570 2025-07-05 09:32:26 +01:00
ngx-vod www-nginx/ngx-vod: fix unprototyped func declaration causing build errors on new gcc's 2025-07-10 23:39:43 +01:00
ngx-xss www-nginx/ngx-xss: Keyword 0.06 amd64, #959570 2025-07-05 09:32:25 +01:00
ngx_devel_kit www-nginx/ngx_devel_kit: Keyword 0.3.4 amd64, #959570 2025-07-05 09:32:16 +01:00
metadata.xml