From 31459e63971ac3b08706bba949851d93c45043c3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 30 Sep 2022 15:24:40 +0100 Subject: gentoo auto-resync : 30:09:2022 - 15:24:40 --- media-radio/ibp/Manifest | 3 ++- media-radio/ibp/files/ibp-0.21-clang16.patch | 8 ++++++++ media-radio/ibp/ibp-0.21-r2.ebuild | 14 ++++++++++---- 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 media-radio/ibp/files/ibp-0.21-clang16.patch (limited to 'media-radio/ibp') diff --git a/media-radio/ibp/Manifest b/media-radio/ibp/Manifest index 7904365497ac..8818066d099f 100644 --- a/media-radio/ibp/Manifest +++ b/media-radio/ibp/Manifest @@ -1,3 +1,4 @@ +AUX ibp-0.21-clang16.patch 189 BLAKE2B ac3ef6ab8ea3d06419f3db214be0c710bd47f7746f782a879534249ee40ab53f308baca830cacdfe8883c9ef2a3ccd086c01e43a36a19f6fb95fcaced1713685 SHA512 0d04e8a81979db7168c3dc626b3582487898a4781cf06bb79e994bcbb3fd5a4a8f7313f52971a9c8561143132a675aa391202a93f2d7b1a73b026d72079b8932 DIST ibp-0.21.tgz 33536 BLAKE2B 0fee17215d6e6fc99dba6d216f4e2b79bf0be89f6edd68fe5b0c0f4ca6fee794274a9ec0c08b73f502fd57dd0208d1d0fcf362d0a8671d94d4a6a613f578e443 SHA512 784bdcae61ce41dff7d88eb2068171dafa607012660393188326e94e323fdf5badebf3d8a24016c83c96c770b6d0935fc35aef5aca6bbfd665b7f2ccf39118ca -EBUILD ibp-0.21-r2.ebuild 1138 BLAKE2B 72026bda27f612fb626312420491d814c8122aa0382cad6f4eedb1c5df90f2de64929dee89f9d885ae296f0724a3024074930c99e76f5b53d15ae105fb2b61ae SHA512 398e2abb771282b2a7af61e07ad48bb48cd4add30c9c4aa7969f3524f6c54f32ed8e9d731df072033351e45097f8b695088cc7ec78acd05f9ec69c58bc5b91fb +EBUILD ibp-0.21-r2.ebuild 1208 BLAKE2B 5e099e9d1ac03b0db1e505c24e5c36a64573c17e863256f8aecb5e9c47b1d49718216cb346a2a2a306dfe1fbf4a53347002bd8a8c74ccb9760faea7c7dba14d3 SHA512 be17eed3d4f79f58515ea40f9039c9f71f11596c4c89371a00a7b8c18e75cf3776ff8e5871bc58827f99281a354679d7aa754c0d558ecfc202e7870111dc8c63 MISC metadata.xml 250 BLAKE2B 73afdd27824ddad49c748f845fb81e8b64d10b29a271175198b7c893096d6d5c64bf736446ec01c9679b7978925de4df8159761e1c3fdb83436468c882a72f85 SHA512 f5d1c70de88ecdf2edd6f5d68f44e26fd99705a91c52269b39c03240b06ab1d8299d03a2af5828c8f22198ec1188f14f957064c8459f27a8f2efea25398bdf4d 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 4495eec2cb8d..3a9d39772a5e 100644 --- a/media-radio/ibp/ibp-0.21-r2.ebuild +++ b/media-radio/ibp/ibp-0.21-r2.ebuild @@ -18,22 +18,28 @@ RDEPEND="sys-libs/ncurses:0= X? ( x11-libs/libX11 )" DEPEND="${RDEPEND} X? ( >=x11-misc/imake-1.0.8-r1 )" -BDEPEND="virtual/pkgconfig" +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() { if use X ;then CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die + IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die fi } -- cgit v1.2.3