media-tv/xawtv: include stdbool declaration for gcc5 (thanks Helmut Jarausch, bug...
authorMichael Weber <xmw@gentoo.org>
Sat, 10 Oct 2015 09:14:20 +0000 (11:14 +0200)
committerMichael Weber <xmw@gentoo.org>
Sat, 10 Oct 2015 09:16:34 +0000 (11:16 +0200)
Package-Manager: portage-2.2.21

media-tv/xawtv/files/xawtv-3.95-stdbool.patch [new file with mode: 0644]
media-tv/xawtv/xawtv-3.95-r3.ebuild

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 (file)
index 0000000..b93bb11
--- /dev/null
@@ -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>
index 451a9d10fe2b83ce42634afea16dcfea8477cbaf..429f21fa1914863900f7108e1ad58f3cf48d4bc5 100644 (file)
@@ -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
 }