media-radio/ibp: fix build with clang16
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
546235197b
commit
ceba8dbc54
|
@ -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;
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue