[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
95/296: gnu: zxing-cpp-1-2.0: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
95/296: gnu: zxing-cpp-1-2.0: Fix build with gcc-14. |
Date: |
Tue, 6 May 2025 10:48:33 -0400 (EDT) |
andreas pushed a commit to branch core-packages-team
in repository guix.
commit 9bb2fcaad665083629a26238d48a424644c0c117
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 31 22:22:24 2024 +0100
gnu: zxing-cpp-1-2.0: Fix build with gcc-14.
* gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/aidc.scm (zxing-cpp-1.2)[source]: Use it.
Change-Id: I6a007ac9728d8ed16ddeef425cc544e7f0d861c1
---
gnu/local.mk | 3 ++-
gnu/packages/aidc.scm | 2 ++
gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch | 13 +++++++++++++
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index a23bebe1c6..341088e42e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2482,7 +2482,8 @@ dist_patch_DATA =
\
%D%/packages/patches/zig-0.14-use-baseline-cpu-by-default.patch \
%D%/packages/patches/zig-0.14-use-system-paths.patch \
%D%/packages/patches/zsh-egrep-failing-test.patch \
- %D%/packages/patches/zuo-bin-sh.patch
+ %D%/packages/patches/zuo-bin-sh.patch \
+ %D%/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
MISC_DISTRO_FILES = \
%D%/packages/ld-wrapper.in
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index a4816472d7..af7c01639b 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -86,6 +87,7 @@
(url "https://github.com/nu-book/zxing-cpp")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
+ (patches (search-patches "zxing-cpp-1.2.0-gcc-14.patch"))
(sha256
(base32
"1gjj9c7h634rrmmgzbc7cxjqsxdq0paj6113k02ncjm1s9abk7ik"))))
diff --git a/gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
b/gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
new file mode 100644
index 0000000000..466969ee00
--- /dev/null
+++ b/gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
@@ -0,0 +1,13 @@
+Upstream-status: Not presented upstream.
+
+--- source/core/src/textcodec/JPTextEncoder.cpp.orig 2024-12-31
22:18:42.612859809 +0100
++++ source/core/src/textcodec/JPTextEncoder.cpp 2024-12-31
22:19:21.637235909 +0100
+@@ -37,6 +37,8 @@
+
+ #include "JPTextEncoder.h"
+
++#include <cstdint>
++
+ /*
+ * This data is derived from Unicode 1.1,
+ * JIS X 0208 (1990) to Unicode mapping table version 0.9 .
- 61/296: gnu: bootstrap: %bootstrap-glibc: Patch more files., (continued)
- 61/296: gnu: bootstrap: %bootstrap-glibc: Patch more files., guix-commits, 2025/05/06
- 63/296: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2025/05/06
- 65/296: gnu: gcc-11: Update to 11.5.0; fixes build with gcc-14., guix-commits, 2025/05/06
- 67/296: Revert "gnu: gcc-4.7: Fix build with gcc-14.", guix-commits, 2025/05/06
- 68/296: gnu: polkit: Fix build with gcc-14., guix-commits, 2025/05/06
- 69/296: gnu: xfsprogs: Update to 6.12.0; fixes build with gcc-14., guix-commits, 2025/05/06
- 76/296: gnu: xf86-video-nouveau: Fix build with gcc-14., guix-commits, 2025/05/06
- 83/296: gnu: classpath-bootstrap: Fix build with gcc-14., guix-commits, 2025/05/06
- 89/296: gnu: libvisual: Fix build with gcc-14., guix-commits, 2025/05/06
- 92/296: gnu: libopenmpt: Update to 0.7.12; fixes build with gcc-14., guix-commits, 2025/05/06
- 95/296: gnu: zxing-cpp-1-2.0: Fix build with gcc-14.,
guix-commits <=
- 06/296: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2025/05/06
- 09/296: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2025/05/06
- 08/296: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2025/05/06
- 11/296: gnu: gettext: Fix build with gcc-14., guix-commits, 2025/05/06
- 30/296: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2025/05/06
- 44/296: gnu: pth: Fix build with gcc-14., guix-commits, 2025/05/06
- 45/296: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2025/05/06
- 52/296: gnu: ldb: Update to 2.9.2; fixes build with gcc-14., guix-commits, 2025/05/06
- 56/296: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2025/05/06
- 55/296: gnu: netdde: Use -Wno-error=., guix-commits, 2025/05/06