1 |
commit: 1bce1ecabecaba1b97ba4beabd9d0b568a2374fa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 6 10:37:53 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 6 10:40:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bce1eca |
7 |
|
8 |
app-text/opensp: Revert broken autoreconfing |
9 |
|
10 |
Remove the unnecessary autoreconf, as well as "configure" patch that |
11 |
modifies a macro that is never used. This is necessary as this |
12 |
package's build system is broken beyond repair, and autoreconf triggers |
13 |
the breakage. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/880001 |
16 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
17 |
|
18 |
app-text/opensp/files/opensp-1.5.2-configure-clang16.patch | 13 ------------- |
19 |
.../{opensp-1.5.2-r8.ebuild => opensp-1.5.2-r9.ebuild} | 5 +---- |
20 |
2 files changed, 1 insertion(+), 17 deletions(-) |
21 |
|
22 |
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 |
23 |
deleted file mode 100644 |
24 |
index 468d0f1d306d..000000000000 |
25 |
--- a/app-text/opensp/files/opensp-1.5.2-configure-clang16.patch |
26 |
+++ /dev/null |
27 |
@@ -1,13 +0,0 @@ |
28 |
---- a/acinclude.m4 |
29 |
-+++ b/acinclude.m4 |
30 |
-@@ -9,8 +9,9 @@ changequote([, ])dnl |
31 |
- AC_MSG_CHECKING(size of $1) |
32 |
- AC_CACHE_VAL(AC_CV_NAME, |
33 |
- [AC_TRY_RUN([#include <stdio.h> |
34 |
-+#include <stdlib.h> |
35 |
- #include <$2> |
36 |
--main() |
37 |
-+int main(void) |
38 |
- { |
39 |
- FILE *f=fopen("conftestval", "w"); |
40 |
- if (!f) exit(1); |
41 |
|
42 |
diff --git a/app-text/opensp/opensp-1.5.2-r8.ebuild b/app-text/opensp/opensp-1.5.2-r9.ebuild |
43 |
similarity index 96% |
44 |
rename from app-text/opensp/opensp-1.5.2-r8.ebuild |
45 |
rename to app-text/opensp/opensp-1.5.2-r9.ebuild |
46 |
index 743116acc69e..eab00d21392b 100644 |
47 |
--- a/app-text/opensp/opensp-1.5.2-r8.ebuild |
48 |
+++ b/app-text/opensp/opensp-1.5.2-r9.ebuild |
49 |
@@ -34,14 +34,11 @@ BDEPEND="nls? ( sys-devel/gettext ) |
50 |
PATCHES=( |
51 |
"${FILESDIR}"/${P}-fix-segfault.patch |
52 |
"${FILESDIR}"/${P}-c11-using.patch |
53 |
- "${FILESDIR}"/${P}-configure-clang16.patch |
54 |
) |
55 |
|
56 |
src_prepare() { |
57 |
default |
58 |
- |
59 |
- # Needed for Clang 16 |
60 |
- eautoreconf |
61 |
+ use prefix && eautoreconf |
62 |
} |
63 |
|
64 |
src_configure() { |