Files
uwsgi/plugins-gcc15.patch
James Oakley 3677e68551 Required mainly for compatibility with Python 3.14.
- Update to 2.0.31:
  - Fix build with gcc-15 (Arne de Bruijn)
  - Build improvements (Janos Guljas, Jonas Smedegaard)
  - Fix some user visible typos (Alexandre Rossi)
  - Fix gracefully_kill_them_all() for setups using fifo-based
    master graceful reload (Wynn Wilkes)
  - Fix compilation with PHP 8.5 (Remi Collet)
- Update to 2.0.30:
  - Port to Python 3.14 beta 1 (Victor Stinner)
  - Fix atexit handler install with –lazy / –lazy-apps (Taegyun
    Kim)
- Update to 2.0.29:
  - Fix integration tests not running (Alexandre Rossi)
  - Backport pypy plugin fixes (Alexandre Rossi)
  - Add support for rack 3 (Alexandre Rossi)
  - Fix compilation with gcc-15 (Alexandre Rossi)
  - Backport –max-request-delta from master (Jeremy Goulard)
  - Disable executable stack (Martin Liška)
  - Fix uwsgi_request_body_readline without new lines found (Juho
    Heikkinen)
  - Fix reload-os-env option (wszak)
  - Tidy python code (Curtis)
  - Python3 compat for examples and testing code (Thomas Goirand)
- Remove upstreamed patches:
  - gcc15.patch
- Readjusted patches:
  - plugins-gcc15.patch
  - python313.patch
  - uwsgi-1.9.11-systemd_logger-old_systemd.patch
  - uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch
  - uwsgi-1.9.17-plugin_build_path.patch
  - uwsgi-2.0.12-no-LD_RUN_PATH.patch
  - uwsgi-2.0.18-postgresql-config.patch
  - uwsgi-ld-noexecstack.patch
  - uwsgi-reproducible-jar-mtime.patch

OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=145
2025-10-20 12:20:11 +00:00

32 lines
1.2 KiB
Diff

---
plugins/pty/pty.c | 3 ++-
plugins/tuntap/tuntap.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Index: uwsgi-2.0.31/plugins/pty/pty.c
===================================================================
--- uwsgi-2.0.31.orig/plugins/pty/pty.c 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/pty/pty.c 2025-10-20 12:13:55.683815424 +0200
@@ -307,7 +307,8 @@
uwsgi_pty_setterm(0);
if (upty.uremote) {
- signal(SIGWINCH, uwsgi_pty_winch);
+ // cast uwsgi_pty_winch() to make gcc-15 happy
+ signal(SIGWINCH, (__sighandler_t)uwsgi_pty_winch);
// send current terminal size
uwsgi_pty_winch(SIGWINCH);
}
Index: uwsgi-2.0.31/plugins/tuntap/tuntap.c
===================================================================
--- uwsgi-2.0.31.orig/plugins/tuntap/tuntap.c 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/tuntap/tuntap.c 2025-10-20 12:13:55.684261783 +0200
@@ -535,5 +535,6 @@
.name = "tuntap",
.options = uwsgi_tuntap_options,
.post_jail = uwsgi_tuntap_client,
- .jail = uwsgi_tuntap_router,
+ // cast uwsgi_tuntap_router() to make gcc-15 happy
+ .jail = (void (*)(int (*)(void *), char **))uwsgi_tuntap_router,
};