guix/gnu/packages/patches/zxing-cpp-1.2.0-gcc-14.patch
Janneke Nieuwenhuizen c5aa07aa09
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
2025-01-24 15:49:50 +01:00

13 lines
393 B
Diff

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 .