summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2015-10-10 11:14:20 +0200
committerMichael Weber <xmw@gentoo.org>2015-10-10 11:16:34 +0200
commitb4ca68f8b701b52c491ebdaa0a45ea07718648d1 (patch)
treea68ead0c21c73161b88603aa2db3f307ae031f2b
parentapp-admin/conky: add ~arm, bug #561750 (diff)
downloadgentoo-b4ca68f8b701b52c491ebdaa0a45ea07718648d1.tar.gz
gentoo-b4ca68f8b701b52c491ebdaa0a45ea07718648d1.tar.bz2
gentoo-b4ca68f8b701b52c491ebdaa0a45ea07718648d1.zip
media-tv/xawtv: include stdbool declaration for gcc5 (thanks Helmut Jarausch, bug 548454).
Package-Manager: portage-2.2.21
-rw-r--r--media-tv/xawtv/files/xawtv-3.95-stdbool.patch10
-rw-r--r--media-tv/xawtv/xawtv-3.95-r3.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/media-tv/xawtv/files/xawtv-3.95-stdbool.patch b/media-tv/xawtv/files/xawtv-3.95-stdbool.patch
new file mode 100644
index 000000000000..b93bb11c8644
--- /dev/null
+++ b/media-tv/xawtv/files/xawtv-3.95-stdbool.patch
@@ -0,0 +1,10 @@
+--- x11/blit.c
++++ x11/blit.c
+@@ -13,6 +13,7 @@
+ #include <pthread.h>
+ #include <sys/ipc.h>
+ #include <sys/shm.h>
++#include <stdbool.h>
+
+ #include <X11/Xlib.h>
+ #include <X11/Intrinsic.h>
diff --git a/media-tv/xawtv/xawtv-3.95-r3.ebuild b/media-tv/xawtv/xawtv-3.95-r3.ebuild
index 451a9d10fe2b..429f21fa1914 100644
--- a/media-tv/xawtv/xawtv-3.95-r3.ebuild
+++ b/media-tv/xawtv/xawtv-3.95-r3.ebuild
@@ -76,6 +76,7 @@ src_prepare() {
epatch "${FILESDIR}/${P}-libquicktime-compat.patch"
epatch "${FILESDIR}/${P}-pagemask-fix.patch"
epatch "${FILESDIR}/${P}-jpeg-7.patch"
+ epatch "${FILESDIR}/${P}-stdbool.patch"
eautoreconf
}