summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-07-26 21:39:12 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-07-26 21:39:12 +0100
commitb0c6930a65322ff75515be5b0f1362e0936ea5c9 (patch)
tree57d712cc408543df66252907c6b71ac33072d27c /media-tv
parentsys-kernel/installkernel: add 41 (diff)
downloadgentoo-b0c6930a65322ff75515be5b0f1362e0936ea5c9.tar.gz
gentoo-b0c6930a65322ff75515be5b0f1362e0936ea5c9.tar.bz2
gentoo-b0c6930a65322ff75515be5b0f1362e0936ea5c9.zip
media-tv/ivtv-utils: Fix musl by patching out bad redefine
Closes: https://bugs.gentoo.org/833882 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/ivtv-utils/files/ivtv-utils-1.4.1-redefine.patch12
-rw-r--r--media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild1
2 files changed, 13 insertions, 0 deletions
diff --git a/media-tv/ivtv-utils/files/ivtv-utils-1.4.1-redefine.patch b/media-tv/ivtv-utils/files/ivtv-utils-1.4.1-redefine.patch
new file mode 100644
index 000000000000..70a1d0ed1745
--- /dev/null
+++ b/media-tv/ivtv-utils/files/ivtv-utils-1.4.1-redefine.patch
@@ -0,0 +1,12 @@
+This is already defined in linux/fb.h, and the int type is wrong anyway.
+
+diff -Naur a/utils/linux/ivtvfb.h b/utils/linux/ivtvfb.h
+--- a/utils/linux/ivtvfb.h 2024-07-26 21:36:14.167005194 +0100
++++ b/utils/linux/ivtvfb.h 2024-07-26 21:36:23.785286007 +0100
+@@ -32,6 +32,5 @@
+ };
+
+ #define IVTVFB_IOC_DMA_FRAME _IOW('V', BASE_VIDIOC_PRIVATE+0, struct ivtvfb_dma_frame)
+-#define FBIO_WAITFORVSYNC _IOW('F', 0x20, u_int32_t)
+
+ #endif
diff --git a/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild b/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild
index 14068ad3896f..804c80293f10 100644
--- a/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild
+++ b/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild
@@ -27,6 +27,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.4.0-gentoo.patch
"${FILESDIR}"/${PN}-1.4.1-overflow.patch
+ "${FILESDIR}"/${PN}-1.4.1-redefine.patch
)
src_configure() {