# HG changeset patch # User Franz Glasner # Date 1741479230 -3600 # Node ID 5df3b8e28ee2293e7374d9fded5763a7773d7c82 # Parent 9f86d2b1b802e4c9f210e5394b7eb86650f42808 Regenerate patch files: just line numbers changed diff -r 9f86d2b1b802 -r 5df3b8e28ee2 uwsginl/files/patch-core-logging.c --- a/uwsginl/files/patch-core-logging.c Sun Mar 09 00:36:08 2025 +0100 +++ b/uwsginl/files/patch-core-logging.c Sun Mar 09 01:13:50 2025 +0100 @@ -1,6 +1,6 @@ ---- core/logging.c.orig 2022-09-21 14:46:45 UTC +--- core/logging.c.orig 2024-10-26 09:59:26 UTC +++ core/logging.c -@@ -549,13 +549,23 @@ void uwsgi_log_do_rotate(char *logfile, char *rotatedf +@@ -536,13 +536,23 @@ void uwsgi_log_do_rotate(char *logfile, char *rotatedf uwsgi_error_open(logfile); exit(1); } diff -r 9f86d2b1b802 -r 5df3b8e28ee2 uwsginl/files/patch-uwsgiconfig.py --- a/uwsginl/files/patch-uwsgiconfig.py Sun Mar 09 00:36:08 2025 +0100 +++ b/uwsginl/files/patch-uwsgiconfig.py Sun Mar 09 01:13:50 2025 +0100 @@ -1,6 +1,6 @@ ---- uwsgiconfig.py.orig 2023-12-26 11:13:58 UTC +--- uwsgiconfig.py.orig 2024-10-26 09:59:26 UTC +++ uwsgiconfig.py -@@ -1494,7 +1494,8 @@ def build_plugin(path, uc, cflags, ldflags, libs, name +@@ -1467,7 +1467,8 @@ def build_plugin(path, uc, cflags, ldflags, libs, name gcc_list.append(path + '/' + cfile) for bfile in up.get('BINARY_LIST', []): try: @@ -10,10 +10,11 @@ print(binary_link_cmd) if subprocess.call(binary_link_cmd, shell=True) != 0: raise Exception('unable to link binary file') -@@ -1592,6 +1593,18 @@ def build_plugin(path, uc, cflags, ldflags, libs, name +@@ -1561,6 +1562,19 @@ def build_plugin(path, uc, cflags, ldflags, libs, name + print("build time: %d seconds" % (time.time() - plugin_started_at)) print("*** %s plugin built and available in %s ***" % (name, plugin_dest + '.so')) - ++ +def get_default_target_emulation(): + """Need a target emulation on FreeBSD (ld, ld.lld when linking binary/raw""" + emul = "" @@ -29,8 +30,8 @@ def vararg_callback(option, opt_str, value, parser): assert value is None value = [] -@@ -1681,7 +1694,7 @@ if __name__ == "__main__": - print("*** uWSGI building and linking plugin %s ***" % options.plugin[0]) +@@ -1650,7 +1664,7 @@ if __name__ == "__main__": + print("*** uWSGI building and linking plugin %s ***" % options.plugin[0] ) build_plugin(options.plugin[0], uc, cflags, ldflags, libs, name) elif options.extra_plugin: - print("*** uWSGI building and linking plugin from %s ***" % options.extra_plugin[0])