diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2022-10-28 07:35:30 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-10-28 07:36:01 +0200 |
commit | e50a91a74a6ad1bdf05c827ee21ec1f3678c2b80 (patch) | |
tree | 2479a6931ff57872c80864e678d00b41219df542 /media-radio | |
parent | dev-libs/libzia: Fix segfault during configure (diff) | |
download | gentoo-e50a91a74a6ad1bdf05c827ee21ec1f3678c2b80.tar.gz gentoo-e50a91a74a6ad1bdf05c827ee21ec1f3678c2b80.tar.bz2 gentoo-e50a91a74a6ad1bdf05c827ee21ec1f3678c2b80.zip |
media-radio/tucnak: Fix segfault during configure
Closes: https://bugs.gentoo.org/878245
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/tucnak/files/tucnak-4.37-configure.patch | 14 | ||||
-rw-r--r-- | media-radio/tucnak/tucnak-4.37.ebuild | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/media-radio/tucnak/files/tucnak-4.37-configure.patch b/media-radio/tucnak/files/tucnak-4.37-configure.patch new file mode 100644 index 000000000000..531f25ad7ca6 --- /dev/null +++ b/media-radio/tucnak/files/tucnak-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/media-radio/tucnak/tucnak-4.37.ebuild b/media-radio/tucnak/tucnak-4.37.ebuild index 358be0cafa27..ba6f3d876615 100644 --- a/media-radio/tucnak/tucnak-4.37.ebuild +++ b/media-radio/tucnak/tucnak-4.37.ebuild @@ -24,7 +24,12 @@ RDEPEND="dev-libs/glib:2 DEPEND="${RDEPEND} virtual/pkgconfig" +PATCHES=( + "${FILESDIR}/${PN}-4.37-configure.patch" + ) + src_prepare() { + eapply ${PATCHES[@]} eapply_user # fix destop file sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak.desktop || die |