[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/74: gnu: serf: Update to 1.3.10 and fix build with gcc-14.
From: |
guix-commits |
Subject: |
32/74: gnu: serf: Update to 1.3.10 and fix build with gcc-14. |
Date: |
Wed, 18 Dec 2024 08:07:01 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 1f99b1970373f858927430ab4c5f2a770a369dbd
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Dec 9 11:04:37 2024 +0100
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
---
gnu/local.mk | 1 -
gnu/packages/patches/serf-python3.patch | 29 -----------------------------
gnu/packages/web.scm | 8 ++++----
3 files changed, 4 insertions(+), 34 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 0427646340..a713f25991 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2191,7 +2191,6 @@ dist_patch_DATA =
\
%D%/packages/patches/seq24-rename-mutex.patch \
%D%/packages/patches/libsequoia-fix-ffi-Makefile.patch \
%D%/packages/patches/libsequoia-remove-store.patch \
- %D%/packages/patches/serf-python3.patch \
%D%/packages/patches/shakespeare-spl-fix-grammar.patch \
%D%/packages/patches/shared-mime-info-xdgmime-path.patch \
%D%/packages/patches/sharutils-CVE-2018-1000097.patch \
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'])
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d7314f2932..4f56ddc9f7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2351,15 +2351,14 @@ from streaming URLs. It is a command-line wrapper for
the libquvi library.")
(define-public serf
(package
(name "serf")
- (version "1.3.9")
+ (version "1.3.10")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://apache/serf/serf-"
version ".tar.bz2"))
- (patches (search-patches "serf-python3.patch"))
(sha256
- (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
+ (base32 "1rk4q0fv9xs57fivjy5mxqkk5g7pvvvssxvalz6nwld2p84fz0dy"))))
(build-system scons-build-system)
(propagated-inputs
(list apr apr-util openssl-1.1))
@@ -2368,7 +2367,8 @@ from streaming URLs. It is a command-line wrapper for
the libquvi library.")
;;("gss" ,gss)
zlib))
(arguments
- `(#:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs
"apr"))
+ `(#:scons-flags (list "CFLAGS=-g -O2
-Wno-error=incompatible-pointer-types"
+ (string-append "APR=" (assoc-ref %build-inputs
"apr"))
(string-append "APU=" (assoc-ref %build-inputs
"apr-util"))
(string-append "OPENSSL=" (assoc-ref %build-inputs
"openssl"))
;; (string-append "GSSAPI=" (assoc-ref
%build-inputs "gss"))
- 01/74: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", (continued)
- 01/74: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2024/12/18
- 03/74: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2024/12/18
- 12/74: gnu: gettext: Update to 0.23., guix-commits, 2024/12/18
- 11/74: gnu: gettext: Fix build with gcc-14., guix-commits, 2024/12/18
- 09/74: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/18
- 13/74: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/18
- 23/74: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/18
- 30/74: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2024/12/18
- 22/74: gnu: expect: Fix build with gcc-14., guix-commits, 2024/12/18
- 33/74: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/18
- 32/74: gnu: serf: Update to 1.3.10 and fix build with gcc-14.,
guix-commits <=
- 40/74: gnu: jack-1: Fix build with gcc-14., guix-commits, 2024/12/18
- 37/74: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/18
- 43/74: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/18
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 25/74: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/18
- 26/74: gnu: xmlto: Fix build with gcc-14., guix-commits, 2024/12/18
- 36/74: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/18
- 44/74: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/18
- 46/74: gnu: pth: Fix build with gcc-14., guix-commits, 2024/12/18
- 05/74: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/18