Files
uwsgi/uwsgi-2.0.18-postgresql-config.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

23 lines
785 B
Diff

---
plugins/emperor_pg/uwsgiplugin.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
Index: uwsgi-2.0.31/plugins/emperor_pg/uwsgiplugin.py
===================================================================
--- uwsgi-2.0.31.orig/plugins/emperor_pg/uwsgiplugin.py 2025-10-11 21:15:54.000000000 +0200
+++ uwsgi-2.0.31/plugins/emperor_pg/uwsgiplugin.py 2025-10-20 11:57:51.496172543 +0200
@@ -2,11 +2,8 @@
NAME = 'emperor_pg'
-CFLAGS = ['-I' + os.popen('pg_config --includedir').read().rstrip()]
+CFLAGS = os.popen('pkg-config --cflags libpq').read().rstrip().split()
LDFLAGS = []
-LIBS = [
- '-L' + os.popen('pg_config --libdir').read().rstrip(),
- '-lpq'
-]
+LIBS = os.popen('pkg-config --libs libpq').read().rstrip().split()
GCC_LIST = ['emperor_pg']