mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libzia: Fix segfault during configure
Closes: https://bugs.gentoo.org/878237 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
14
dev-libs/libzia/files/libzia-4.37-configure.patch
Normal file
14
dev-libs/libzia/files/libzia-4.37-configure.patch
Normal file
@@ -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>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user