summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/serf-python3.patch
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-09 11:04:37 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:12 +0200
commit552ecf86177953ed0aad79e23547d38b48870048 (patch)
treec3d5722176006939e1e9d61b4a4b709b93f3f874 /gnu/packages/patches/serf-python3.patch
parentfcf21654e44fddb4573113b88aa72ef7ffe139e6 (diff)
gnu: serf: Update to 1.3.10 and fix build with gcc-14.
* gnu/packages/patches/serf-python3.patch: Remove file.N * gnu/local.mk (dist_patch_DATA): Unregister it. * gnu/packages/web.scm (serf): Update to 1.3.10 and remove it. [arguments]: Add CFLAGS to #:scons-flags to relax gcc-14's strictness. Change-Id: I2cb4d9bc7e22ab0bedacbd79b98d33a1b6a27bd0
Diffstat (limited to 'gnu/packages/patches/serf-python3.patch')
-rw-r--r--gnu/packages/patches/serf-python3.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/gnu/packages/patches/serf-python3.patch b/gnu/packages/patches/serf-python3.patch
deleted file mode 100644
index 636f51ed1e..0000000000
--- a/gnu/packages/patches/serf-python3.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fix build with Python 3 scons.
-
-Patch taken from Arch Linux:
-https://github.com/archlinux/svntogit-packages/blob/packages/serf/trunk/scons-python3.patch
-
---- serf-1.3.9/SConstruct.orig 2019-07-26 17:49:30.910189251 +0000
-+++ serf-1.3.9/SConstruct 2019-07-26 17:49:54.073821735 +0000
-@@ -163,9 +163,9 @@
- suffix='.def', src_suffix='.h')
- })
-
--match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
-- 'SERF_MINOR_VERSION ([0-9]+).*'
-- 'SERF_PATCH_VERSION ([0-9]+)',
-+match = re.search(b'SERF_MAJOR_VERSION ([0-9]+).*'
-+ b'SERF_MINOR_VERSION ([0-9]+).*'
-+ b'SERF_PATCH_VERSION ([0-9]+)',
- env.File('serf.h').get_contents(),
- re.DOTALL)
- MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
-@@ -183,7 +183,7 @@
-
- unknown = opts.UnknownVariables()
- if unknown:
-- print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
-+ print ('Warning: Used unknown variables:', ', '.join(unknown.keys()))
-
- apr = str(env['APR'])
- apu = str(env['APU'])