Mercurial > hgrepos > FreeBSD > ports > www > uwsginl
changeset 177:5df3b8e28ee2
Regenerate patch files: just line numbers changed
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 09 Mar 2025 01:13:50 +0100 |
| parents | 9f86d2b1b802 |
| children | c8ba67c8b1f5 |
| files | uwsginl/files/patch-core-logging.c uwsginl/files/patch-uwsgiconfig.py |
| diffstat | 2 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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); }
--- 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])
