fix for gcc 13

epel10
Caolán McNamara 2 years ago
parent 423fd3e1d5
commit ae793c41d7

@ -0,0 +1,11 @@
diff -ru zxing-cpp-1.2.0.orig/core/src/textcodec/JPTextEncoder.h zxing-cpp-1.2.0/core/src/textcodec/JPTextEncoder.h
--- zxing-cpp-1.2.0.orig/core/src/textcodec/JPTextEncoder.h 2023-01-23 20:12:39.682731359 +0000
+++ zxing-cpp-1.2.0/core/src/textcodec/JPTextEncoder.h 2023-01-23 20:13:32.420223873 +0000
@@ -61,6 +61,7 @@
* SUCH DAMAGE.
*/
+#include <cstdint>
#include <string>
class JPTextEncoder

@ -42,6 +42,8 @@ Patch1: %{url}/pull/269.patch
Patch2: zxing-cpp-1.2.0-system-pybind11.patch
# fix for recent libfmt
Patch3: 0001-test-update-to-libfmt-v9.0.0.patch
# fix for gcc 13
Patch4: 0001-include-cstdint.patch
%description
ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D barcode

Loading…
Cancel
Save