mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/gf2x: fix build with gcc 15
This commit is contained in:
parent
afe3bc974e
commit
c464fa29c5
2 changed files with 22 additions and 3 deletions
|
@ -12,14 +12,14 @@ makedepends="autoconf automake libtool"
|
|||
subpackages="$pkgname-dev"
|
||||
source="https://gitlab.inria.fr/gf2x/gf2x/-/archive/gf2x-$pkgver/gf2x-gf2x-$pkgver.tar.bz2
|
||||
gcc14.patch
|
||||
gcc15.patch
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
update_config_guess
|
||||
update_config_sub
|
||||
autoreconf -i
|
||||
|
||||
autoreconf -fvi
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -45,4 +45,5 @@ package() {
|
|||
sha512sums="
|
||||
2872d8ddeb1fd3966f8711573d6c090975fcd9acfa302f7537ebfa3350e83af224bfd18a33ea1106d81ab900c96413e413c04ba506d8bf928bb92b670c24d857 gf2x-gf2x-1.3.0.tar.bz2
|
||||
2ca5c8c22eedda1b2e0d39927de922ccc152b924ae4e140f147a7883386cc65ef57fc369b246ed6d8ae6fc52d118554a1b7ee1a04385fd2e956aef3ae668b345 gcc14.patch
|
||||
348f5ca844ea004939a6703ee9f059e5c77ec16af8f34e38357bedfed03f51c0023f8d3ec8bd3e18a1118efa6a0f44165779a336852852c0d0eeb409f1223bd1 gcc15.patch
|
||||
"
|
||||
|
|
18
testing/gf2x/gcc15.patch
Normal file
18
testing/gf2x/gcc15.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- a/config/acinclude.m4
|
||||
+++ b/config/acinclude.m4
|
||||
@@ -664,6 +664,7 @@ cat >conftest.c <<EOF
|
||||
int
|
||||
main ()
|
||||
{
|
||||
+ #include <stdlib.h>
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
@@ -702,6 +703,7 @@ AC_CACHE_CHECK([for build system executable suffix],
|
||||
int
|
||||
main ()
|
||||
{
|
||||
+ #include <stdlib.h>
|
||||
exit (0);
|
||||
}
|
||||
EOF
|
Loading…
Add table
Add a link
Reference in a new issue