diff options
author | Tim Biermann <tbier@posteo.de> | 2022-01-03 14:30:33 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-01-03 14:30:33 +0100 |
commit | 67f83a120ec658eb99a8a7132cb68a68751a91a7 (patch) | |
tree | f046ae34bccd75c0159fbb9efcde839c8c1f19b6 /liborcus | |
parent | d172fa088e5f7cf5ee41f2711d0063fa40f145ed (diff) | |
download | contrib-67f83a120ec658eb99a8a7132cb68a68751a91a7.tar.gz contrib-67f83a120ec658eb99a8a7132cb68a68751a91a7.tar.xz |
liborcus: added patch for gcc 11
Diffstat (limited to 'liborcus')
-rw-r--r-- | liborcus/.signature | 7 | ||||
-rw-r--r-- | liborcus/Pkgfile | 8 | ||||
-rw-r--r-- | liborcus/gcc11-1.patch | 24 | ||||
-rw-r--r-- | liborcus/gcc11-2.patch | 24 | ||||
-rw-r--r-- | liborcus/gcc11-3.patch | 24 |
5 files changed, 84 insertions, 3 deletions
diff --git a/liborcus/.signature b/liborcus/.signature index 67285c910..8a1d5cab1 100644 --- a/liborcus/.signature +++ b/liborcus/.signature @@ -1,5 +1,8 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3x+NJr0N+BeIoAmKJNQpW45npQ+q7MqRJfvrxZzG6giuQndPsk5Lfl3LdZfWKtT6lML3AHPxPSPq7G9rs7q56gU= -SHA256 (Pkgfile) = d9941d2167bf1e376795e018015400bbbae5e51c337568fe5fa34e21f75c8354 +RWSagIOpLGJF33ai1DvgON/cdxFplmBiBEq8MuT6P+rxBKHuQjBZRj6a0sUmtACPoKksgQpc7oQBJ3/bHfcYhvOM4J9TMaVevA8= +SHA256 (Pkgfile) = ef8a2514b01af873baade66134053dd04fda65307b8e80d6edc341ef8c664954 SHA256 (.footprint) = fc6a013b9d9a866ca22333d2d96212db2d8c668f0cb6f18058e1070706a6556a SHA256 (liborcus-0.16.1.tar.xz) = a4b26b320d00bdfc769c3a03ed22bd5ad7e54a93dc6b1d00cd949f8f3519faae +SHA256 (gcc11-1.patch) = 59a08e0935f2474e4b9fa63d2508455c819127a152368724eec468cd3f390849 +SHA256 (gcc11-2.patch) = 2a12c3a0c9f70e138cd6224cd75372aeffcca74418ddccbc65674de8c81c5cf3 +SHA256 (gcc11-3.patch) = 4b15b495beafe343ad39d1468c179c399cac3b9381392ae0e66c1e92a8dc9064 diff --git a/liborcus/Pkgfile b/liborcus/Pkgfile index 7c972ec6f..a40787809 100644 --- a/liborcus/Pkgfile +++ b/liborcus/Pkgfile @@ -6,10 +6,16 @@ name=liborcus version=0.16.1 release=1 -source=(https://kohei.us/files/orcus/src/$name-$version.tar.xz) +source=(https://kohei.us/files/orcus/src/$name-$version.tar.xz + gcc11-1.patch gcc11-2.patch gcc11-3.patch) build() { cd $name-$version + + patch -Np1 -i $SRC/gcc11-1.patch + patch -Np1 -i $SRC/gcc11-2.patch + patch -Np1 -i $SRC/gcc11-3.patch + ./configure --prefix=/usr --disable-python make make DESTDIR=$PKG install diff --git a/liborcus/gcc11-1.patch b/liborcus/gcc11-1.patch new file mode 100644 index 000000000..aec69cc70 --- /dev/null +++ b/liborcus/gcc11-1.patch @@ -0,0 +1,24 @@ +From 50506d534230d90de2b0a2af3fb072428c942a4e Mon Sep 17 00:00:00 2001 +From: hedmo <hedmoo@yahoo.com> +Date: Fri, 8 Jan 2021 07:30:16 +0000 +Subject: [PATCH] Update orcus_xlsx.cpp to build with gcc-11 + +--- + src/liborcus/orcus_xlsx.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/liborcus/orcus_xlsx.cpp b/src/liborcus/orcus_xlsx.cpp +index 6df72a32..a59b2b9d 100644 +--- a/src/liborcus/orcus_xlsx.cpp ++++ b/src/liborcus/orcus_xlsx.cpp +@@ -32,6 +32,7 @@ + + #include <cstdlib> + #include <iostream> ++#include <limits> + #include <string> + #include <cstring> + #include <sstream> +-- +GitLab + diff --git a/liborcus/gcc11-2.patch b/liborcus/gcc11-2.patch new file mode 100644 index 000000000..f0d9e0554 --- /dev/null +++ b/liborcus/gcc11-2.patch @@ -0,0 +1,24 @@ +From 3bfa1a000e4639fe68781c584356ceea7c6b1a72 Mon Sep 17 00:00:00 2001 +From: hedmo <hedmoo@yahoo.com> +Date: Fri, 8 Jan 2021 07:32:53 +0000 +Subject: [PATCH] Update xls_xml_context.cpp to build with gcc-11 + +--- + src/liborcus/xls_xml_context.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/liborcus/xls_xml_context.cpp b/src/liborcus/xls_xml_context.cpp +index 538f5607..ca3dc4d0 100644 +--- a/src/liborcus/xls_xml_context.cpp ++++ b/src/liborcus/xls_xml_context.cpp +@@ -16,6 +16,7 @@ + #include <mdds/sorted_string_map.hpp> + + #include <iostream> ++#include <limits> + + using namespace std; + namespace ss = orcus::spreadsheet; +-- +GitLab + diff --git a/liborcus/gcc11-3.patch b/liborcus/gcc11-3.patch new file mode 100644 index 000000000..7dfcda5a2 --- /dev/null +++ b/liborcus/gcc11-3.patch @@ -0,0 +1,24 @@ +From 5e8fb255dc6bc9b7084a05b8dc24f31417542e5e Mon Sep 17 00:00:00 2001 +From: hedmo <hedmoo@yahoo.com> +Date: Fri, 8 Jan 2021 07:34:17 +0000 +Subject: [PATCH] Update xlsx_revision_context.cpp to build with gcc-11 + +--- + src/liborcus/xlsx_revision_context.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/liborcus/xlsx_revision_context.cpp b/src/liborcus/xlsx_revision_context.cpp +index edfd9eed..0b6ec0af 100644 +--- a/src/liborcus/xlsx_revision_context.cpp ++++ b/src/liborcus/xlsx_revision_context.cpp +@@ -16,6 +16,7 @@ + #include "orcus/global.hpp" + + #include <iostream> ++#include <limits> + + using namespace std; + +-- +GitLab + |