diff options
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 |