summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-11 23:26:56 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-11 23:31:58 +0100
commitf97f8e63b790fb4507a613a6ca5d0c35392fe243 (patch)
tree1b3eb8a5c2846a49697f2450b8d81b26e11be0f6 /net-dns/avahi/files
parentmedia-gfx/xfig: stable 3.2.6a for ppc/ppc64, bug #644204 (diff)
downloadgentoo-f97f8e63b790fb4507a613a6ca5d0c35392fe243.tar.gz
gentoo-f97f8e63b790fb4507a613a6ca5d0c35392fe243.tar.bz2
gentoo-f97f8e63b790fb4507a613a6ca5d0c35392fe243.zip
net-dns/avahi: Don't call moc directly
Closes: https://bugs.gentoo.org/587830 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-dns/avahi/files')
-rw-r--r--net-dns/avahi/files/avahi-0.6.32-mocqt4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-dns/avahi/files/avahi-0.6.32-mocqt4.patch b/net-dns/avahi/files/avahi-0.6.32-mocqt4.patch
new file mode 100644
index 000000000000..bba25e971630
--- /dev/null
+++ b/net-dns/avahi/files/avahi-0.6.32-mocqt4.patch
@@ -0,0 +1,12 @@
+--- a/configure.ac 2018-01-11 23:00:47.503309612 +0100
++++ b/configure.ac 2018-01-11 23:10:04.373295395 +0100
+@@ -516,8 +516,7 @@
+ PKG_CHECK_MODULES( QT4, [ QtCore >= 4.0.0 ])
+ AC_SUBST(QT4_CFLAGS)
+ AC_SUBST(QT4_LIBS)
+- QT4_PREFIX="`$PKG_CONFIG --variable=prefix QtCore`/bin"
+- AC_PATH_PROGS(MOC_QT4, [moc-qt4 moc], no, [$QT4_PREFIX])
++ MOC_QT4="`$PKG_CONFIG --variable=moc_location QtCore`"
+ if test "$MOC_QT4" = no; then
+ AC_MSG_ERROR([Could not find QT4 moc])
+ fi