summaryrefslogtreecommitdiff
path: root/app-text/opensp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-06 09:19:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-06 09:19:37 +0000
commit6003fc7a6eda56862fcff321f47e40cd34e60098 (patch)
tree342368c16c4837b5d9eaf8c4d8c0ea298d1e3308 /app-text/opensp
parent30c2cb2c8971dc95b672303f9191d166d622fe47 (diff)
gentoo auto-resync : 06:11:2022 - 09:19:37
Diffstat (limited to 'app-text/opensp')
-rw-r--r--app-text/opensp/Manifest3
-rw-r--r--app-text/opensp/files/opensp-1.5.2-configure-clang16.patch13
-rw-r--r--app-text/opensp/opensp-1.5.2-r8.ebuild (renamed from app-text/opensp/opensp-1.5.2-r7.ebuild)7
3 files changed, 21 insertions, 2 deletions
diff --git a/app-text/opensp/Manifest b/app-text/opensp/Manifest
index cb8466f20795..d59575f8f44a 100644
--- a/app-text/opensp/Manifest
+++ b/app-text/opensp/Manifest
@@ -1,5 +1,6 @@
AUX opensp-1.5.2-c11-using.patch 2626 BLAKE2B 16ff8ba1701831fa0c87e0788f8b420f1d96bf5b2f645d2d6706e82ae1767a99fed8f6ca4bd4f1abbc24bf80c4fa00d848f03056b01ac98f5b8a74d3a78c4467 SHA512 dea5fe17ea2662150b201ab6011bb01ba0f0c07689d267ec4086a914cefef3e91967f8db4be0258bac87d3cd73a9b05eb1f879415860552d9853e66e98e16e11
+AUX opensp-1.5.2-configure-clang16.patch 284 BLAKE2B 07015a0a788c946807e911262a96b092f7a791b6c704611438c885b2edd0e66f67aff546f3a0eba5541ec099dffe21114e853716caa0576c6d66624b2ed1113f SHA512 bd523ec04caf6bf14902cc8a98f5db41bb5db6c999cf9951c96361fca6c322733f395b0106e298bc40ee907594324a7c866e459530e0c76fa04eb0e7d0581a5c
AUX opensp-1.5.2-fix-segfault.patch 747 BLAKE2B 544dbb8a638d2fc8fed5c7426e828d1524f4756e6882ac837b4cf3deab4e039a0b66564431b1849d9067f6071955f82b8057cde5168094da70b1419844b000fe SHA512 e0c72df8e8b191c6cecabcac550cc52918bbff7c2fddf8099ff4403de0fe817c1f3f5deb44b4c33e9d135a97a4fd8978c4090f6740c99dbadc6f9b06e24c41cf
DIST OpenSP-1.5.2.tar.gz 1521390 BLAKE2B 2c6f8dfc721c77ab223aa67e90c8dfb45855b74fdd382ac98303c6fb23af08019ca96b5430bcdb87b9e86fc333114bd8b2e5f243c87f2cf84ee04c880c8c309b SHA512 a7dcc246ba7f58969ecd6d107c7b82dede811e65f375b7aa3e683621f2c6ff3e7dccefdd79098fcadad6cca8bb94c2933c63f4701be2c002f9a56f1bbe6b047e
-EBUILD opensp-1.5.2-r7.ebuild 2098 BLAKE2B 2f08bba773adf3277f0cb55216777d036a3f8612c6798a45965184fa7f855ba6dbf428abb5fe05d6b4f597ab2111bab799de1e22f6e31b07878699e67b8e9f76 SHA512 5b5517bb8ba18cc068e4e9551a79cc72eed2b1423e55f58515e39fcbea2c5ab948cd68bf26b1b964ebc58456dc0aba2e7213aa755aaa445a0af0d2a3fcd8f1d3
+EBUILD opensp-1.5.2-r8.ebuild 2183 BLAKE2B cde0c5c6198aaa4eed8ae0db069df2da8b4056e16d84b9d08be3b80896c0ed35f703f2ac9b4bf4a426722584f55cc13ba15c7052a125e250d327b3a3769db4bf SHA512 d2b6b1705e523ba19970adbdc9e50f67cfaf8a4cdde7b24e0e2ae17db2fb41be694e18b1300ca37e96491b84572d327d20a8049cb5a885c88b75845208ca07f4
MISC metadata.xml 321 BLAKE2B 5571226bba817c3d5cc47e0bd7d67e82399403e24e7773104f33b13bf40d95113da9613db2bd77408557e6793b9efb6d435402a7b680d07e1e3e6952614bdedd SHA512 95c0d6759a91874b81b707e479eee48bf67ba762584587b4027b583e42d63a83018a3243fe81b6649090d1e0167ab825b591dfccbd3a8db9078b1a80f729de15
diff --git a/app-text/opensp/files/opensp-1.5.2-configure-clang16.patch b/app-text/opensp/files/opensp-1.5.2-configure-clang16.patch
new file mode 100644
index 000000000000..468d0f1d306d
--- /dev/null
+++ b/app-text/opensp/files/opensp-1.5.2-configure-clang16.patch
@@ -0,0 +1,13 @@
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -9,8 +9,9 @@ changequote([, ])dnl
+ AC_MSG_CHECKING(size of $1)
+ AC_CACHE_VAL(AC_CV_NAME,
+ [AC_TRY_RUN([#include <stdio.h>
++#include <stdlib.h>
+ #include <$2>
+-main()
++int main(void)
+ {
+ FILE *f=fopen("conftestval", "w");
+ if (!f) exit(1);
diff --git a/app-text/opensp/opensp-1.5.2-r7.ebuild b/app-text/opensp/opensp-1.5.2-r8.ebuild
index 9f6b4f539bb4..743116acc69e 100644
--- a/app-text/opensp/opensp-1.5.2-r7.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r8.ebuild
@@ -34,11 +34,14 @@ BDEPEND="nls? ( sys-devel/gettext )
PATCHES=(
"${FILESDIR}"/${P}-fix-segfault.patch
"${FILESDIR}"/${P}-c11-using.patch
+ "${FILESDIR}"/${P}-configure-clang16.patch
)
src_prepare() {
default
- use prefix && eautoreconf
+
+ # Needed for Clang 16
+ eautoreconf
}
src_configure() {
@@ -51,6 +54,8 @@ src_configure() {
#ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
strip-flags
+ append-cxxflags -std=gnu++11
+
econf \
--enable-http \
--enable-default-catalog="${EPREFIX}"/etc/sgml/catalog \