mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
media-radio/tucnak: Fix segfault during configure
Closes: https://bugs.gentoo.org/878245 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
14
media-radio/tucnak/files/tucnak-4.37-configure.patch
Normal file
14
media-radio/tucnak/files/tucnak-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>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user