summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-06 11:37:53 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-06 11:40:08 +0100
commit1bce1ecabecaba1b97ba4beabd9d0b568a2374fa (patch)
tree834b491fabf1ee426cf2657abe10c4e1c45314f1
parentkde-misc/krusader: add 2.8.0_pre20221106 w/o KEYWORDS (diff)
downloadgentoo-1bce1eca.tar.gz
gentoo-1bce1eca.tar.bz2
gentoo-1bce1eca.zip
app-text/opensp: Revert broken autoreconfing
Remove the unnecessary autoreconf, as well as "configure" patch that modifies a macro that is never used. This is necessary as this package's build system is broken beyond repair, and autoreconf triggers the breakage. Closes: https://bugs.gentoo.org/880001 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--app-text/opensp/files/opensp-1.5.2-configure-clang16.patch13
-rw-r--r--app-text/opensp/opensp-1.5.2-r9.ebuild (renamed from app-text/opensp/opensp-1.5.2-r8.ebuild)5
2 files changed, 1 insertions, 17 deletions
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
deleted file mode 100644
index 468d0f1d306d..000000000000
--- a/app-text/opensp/files/opensp-1.5.2-configure-clang16.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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-r8.ebuild b/app-text/opensp/opensp-1.5.2-r9.ebuild
index 743116acc69e..eab00d21392b 100644
--- a/app-text/opensp/opensp-1.5.2-r8.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r9.ebuild
@@ -34,14 +34,11 @@ BDEPEND="nls? ( sys-devel/gettext )
PATCHES=(
"${FILESDIR}"/${P}-fix-segfault.patch
"${FILESDIR}"/${P}-c11-using.patch
- "${FILESDIR}"/${P}-configure-clang16.patch
)
src_prepare() {
default
-
- # Needed for Clang 16
- eautoreconf
+ use prefix && eautoreconf
}
src_configure() {