1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 19:41:50 +02:00

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
This commit is contained in:
Janneke Nieuwenhuizen
2024-12-31 22:22:24 +01:00
committed by Andreas Enge
parent 2a05c9855a
commit a396a796a9
3 changed files with 17 additions and 1 deletions
@@ -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 .