diff options
Diffstat (limited to 'dev-libs/libxls')
-rw-r--r-- | dev-libs/libxls/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libxls/files/libxls-1.6.2-gcc13.patch | 25 | ||||
-rw-r--r-- | dev-libs/libxls/libxls-1.6.2-r1.ebuild (renamed from dev-libs/libxls/libxls-1.6.2.ebuild) | 3 |
3 files changed, 29 insertions, 2 deletions
diff --git a/dev-libs/libxls/Manifest b/dev-libs/libxls/Manifest index 437f19e7ed6d..893086bbee2b 100644 --- a/dev-libs/libxls/Manifest +++ b/dev-libs/libxls/Manifest @@ -1,4 +1,5 @@ AUX libxls-1.4.0-asprintf.patch 190 BLAKE2B 36c39cce45025c5498fefae2de5f9fb78f377463b4a761ef1abe89d8194b90b798e03dfa82561bc7cecd505abbdd5412b75b05194991257c600e4bbb307167b1 SHA512 c5881d63742b50f923c74dcedb5d2149bb55ea19bc611ba51c879f9ae82b8f87d9ab477fae57ef40814bea42f27a27d3be272b1c9fbd5e6c04d69078c8e7c03d +AUX libxls-1.6.2-gcc13.patch 722 BLAKE2B 45d2747d483529c6995674f105e34b256ebbefb24d8f392c7ef74782771463f602979e794034d5a82ceb24578b74428a906fb37ddf11a7451aa622627757b75e SHA512 a55db1ad0fc1cd78ea83d00750fbe272333570c07e3339e3dcf2070a2c95f5da9a72bc23ce9c4f37667aabcb0484772f1e1d00e7c66e5d1ce525c067520caae9 DIST libxls-1.6.2.tar.gz 443736 BLAKE2B 46f875613caa423dcb3acac0c38a68c7274993b25cc9be891266b8cf59e8eb0f17580e399305cf927854e090f34fa34f57f7fcbdceb75dffaf04c3362fa63095 SHA512 55e5cb33ec63484063d0893eee7352b89f993363762cd5ef42b5f918b09d1eafcf933fba076255267d9413c963481eb07c7054a2495d2d529db2e1d626353d22 -EBUILD libxls-1.6.2.ebuild 606 BLAKE2B 84d666cde338bf29513688a2894def2ce0bd39266ca38243bcf53186a625694ab4a8439f309e44abb5d330684c39c5d058a277a7174d6f8263ba0b1939c4b29e SHA512 357225002518240aaf0bad025acb45b3ba4e133027f9532fb48756844bcee51702ba615ba74b97b950ab5001650544677becf7590e697fdf28185c2d79cc514e +EBUILD libxls-1.6.2-r1.ebuild 645 BLAKE2B 6f5d3893730a96c2070061ae5436e349d51246756f136851a354fca7759eadf0a48ead57ddc302c7e4c1120113d88b465c3d1b5f736ebda32a10746fbdd08cb3 SHA512 7471ef3dc3d29033c41db4756e0642be44bae6175379b18be9a2835b9446e17c1279fe901ea7575e25ccf738cf1ae6ade631c9f99cce46d59a7c8645b49061d1 MISC metadata.xml 304 BLAKE2B b1b6c500fe0d22b04f956c8adeeefaf3fa1a9776f485c8285b6c4774d6e8c32868c7f056b10ab743dd3a003fd833ce6df05e31b64ba7f496cd5061a9c9ad4f35 SHA512 5ee99e9cc9769d406b48e2f44895d1066bd02df0547df172fd08edfe8d614f56f97829645ede881f7dc65fbb03fb9cabd22e42b526222d21cdaa7db532ba7231 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; + diff --git a/dev-libs/libxls/libxls-1.6.2.ebuild b/dev-libs/libxls/libxls-1.6.2-r1.ebuild index 95af65648371..0ba177446fdc 100644 --- a/dev-libs/libxls/libxls-1.6.2.ebuild +++ b/dev-libs/libxls/libxls-1.6.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,6 +18,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.4.0-asprintf.patch + "${FILESDIR}"/${PN}-1.6.2-gcc13.patch ) src_configure() { |