summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/ibp')
-rw-r--r--media-radio/ibp/files/ibp-0.21-clang16.patch8
-rw-r--r--media-radio/ibp/ibp-0.21-r2.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/media-radio/ibp/files/ibp-0.21-clang16.patch b/media-radio/ibp/files/ibp-0.21-clang16.patch
new file mode 100644
index 000000000000..a973c9fc17f9
--- /dev/null
+++ b/media-radio/ibp/files/ibp-0.21-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/870412
+--- a/xdisp.c
++++ b/xdisp.c
+@@ -551,3 +551,3 @@
+ struct sunclock *
+-makeClockContext(wid, ht, win, pix, gc)
++makeClockContext(wid, ht, win, pix)
+ int wid;
diff --git a/media-radio/ibp/ibp-0.21-r2.ebuild b/media-radio/ibp/ibp-0.21-r2.ebuild
index 62f2d6672a33..3a9d39772a5e 100644
--- a/media-radio/ibp/ibp-0.21-r2.ebuild
+++ b/media-radio/ibp/ibp-0.21-r2.ebuild
@@ -22,14 +22,18 @@ BDEPEND="
virtual/pkgconfig
X? ( sys-devel/gcc )"
+PATCHES=(
+ "${FILESDIR}"/${P}-clang16.patch
+)
+
src_prepare() {
+ default
+
# Respect CFLAGS if built without USE=X
sed -i -e "s/= -D/+= -D/" Makefile || die
# Fix compile if ncurses is built with separate libtinfo
sed -i -e "s:-lcurses:$($(tc-getPKG_CONFIG) --libs ncurses):" Imakefile Makefile || die
-
- eapply_user
}
src_configure() {