diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 11:55:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 11:55:01 +0100 |
commit | 7288c6e5fa05acddbf692a5187d925ef85662b46 (patch) | |
tree | 54bfc06561e59d1ad1e6e7bdbd06b76fc4ba0d06 /dev-libs/libxls/files/libxls-1.6.2-gcc13.patch | |
parent | 5a1fb66df455454109e1de61d38b48f509dc68b8 (diff) |
gentoo auto-resync : 18:04:2023 - 11:55:01
Diffstat (limited to 'dev-libs/libxls/files/libxls-1.6.2-gcc13.patch')
-rw-r--r-- | dev-libs/libxls/files/libxls-1.6.2-gcc13.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/libxls/files/libxls-1.6.2-gcc13.patch b/dev-libs/libxls/files/libxls-1.6.2-gcc13.patch new file mode 100644 index 000000000000..6958bb63bc65 --- /dev/null +++ b/dev-libs/libxls/files/libxls-1.6.2-gcc13.patch @@ -0,0 +1,25 @@ +https://github.com/libxls/libxls/pull/118 + +From f46aea10c50fb08657c15f8f3e813d5434b8b4d5 Mon Sep 17 00:00:00 2001 +From: Elliott Sales de Andrade <quantum.analyst@gmail.com> +Date: Wed, 18 Jan 2023 05:21:23 -0500 +Subject: [PATCH] Fix header include in C++ mode + +This file is included in the toplevel `xls.h` within an `extern "C"`, +which means including C++ headers in it is completely broken. With GCC +13, this causes strange errors due to "missing" symbols. +--- a/include/libxls/xlstypes.h ++++ b/include/libxls/xlstypes.h +@@ -36,11 +36,7 @@ + #ifndef XLS_TYPES_INC + #define XLS_TYPES_INC + +-#ifdef __cplusplus +-#include <cstdint> +-#else + #include <stdint.h> +-#endif + #include <sys/types.h> + + typedef unsigned char BYTE; + |