diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2022-10-28 07:34:15 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-10-28 07:36:01 +0200 |
commit | 2f9162a5a83a098608205a35ce5abfe7a4edb2f6 (patch) | |
tree | e62dfc4a6e9cfe95a29602397125f1e3a621a661 /dev-libs/libzia | |
parent | app-arch/xz-utils: Stabilize 5.2.7 hppa, #878507 (diff) | |
download | gentoo-2f9162a5a83a098608205a35ce5abfe7a4edb2f6.tar.gz gentoo-2f9162a5a83a098608205a35ce5abfe7a4edb2f6.tar.bz2 gentoo-2f9162a5a83a098608205a35ce5abfe7a4edb2f6.zip |
dev-libs/libzia: Fix segfault during configure
Closes: https://bugs.gentoo.org/878237
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs/libzia')
-rw-r--r-- | dev-libs/libzia/files/libzia-4.37-configure.patch | 14 | ||||
-rw-r--r-- | dev-libs/libzia/libzia-4.37.ebuild | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/dev-libs/libzia/files/libzia-4.37-configure.patch b/dev-libs/libzia/files/libzia-4.37-configure.patch new file mode 100644 index 000000000000..531f25ad7ca6 --- /dev/null +++ b/dev-libs/libzia/files/libzia-4.37-configure.patch @@ -0,0 +1,14 @@ +diff --git a/configure.ac b/configure.ac +index 9266d41..35c2455 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -97,6 +97,9 @@ if test "$cross_compiling" = yes; then + else + AC_TRY_RUN([ + #include <features.h> ++#ifdef __GLIBC__ ++#include <gnu/libc-version.h> ++#endif + #include <stdio.h> + #ifdef __CYGWIN__ + #include <cygwin/version.h> diff --git a/dev-libs/libzia/libzia-4.37.ebuild b/dev-libs/libzia/libzia-4.37.ebuild index ab1b7f2cd743..00da4e47e42b 100644 --- a/dev-libs/libzia/libzia-4.37.ebuild +++ b/dev-libs/libzia/libzia-4.37.ebuild @@ -25,7 +25,12 @@ BDEPEND="virtual/pkgconfig" MAKEOPTS+=" -j1" +PATCHES=( + "${FILESDIR}/${PN}-4.37-configure.patch" + ) + src_prepare() { + eapply ${PATCHES[@]} eapply_user sed -i -e "s/docsdir/#docsdir/g" \ -e "s/docs_/#docs_/g" Makefile.am || die |