From 9f7759b3b1be5a3bc7794010a8ebf9334f017d2f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Nov 2022 06:52:13 +0000 Subject: gentoo auto-resync : 15:11:2022 - 06:52:13 --- app-editors/xvile/Manifest | 3 +- .../files/xvile-9.8w-fix-build-for-clang16.patch | 27 ++++++++++++ app-editors/xvile/xvile-9.8w-r1.ebuild | 50 ++++++++++++++++++++++ app-editors/xvile/xvile-9.8w.ebuild | 48 --------------------- 4 files changed, 79 insertions(+), 49 deletions(-) create mode 100644 app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch create mode 100644 app-editors/xvile/xvile-9.8w-r1.ebuild delete mode 100644 app-editors/xvile/xvile-9.8w.ebuild (limited to 'app-editors/xvile') diff --git a/app-editors/xvile/Manifest b/app-editors/xvile/Manifest index 6e05a0555545..724235477754 100644 --- a/app-editors/xvile/Manifest +++ b/app-editors/xvile/Manifest @@ -1,7 +1,8 @@ +AUX xvile-9.8w-fix-build-for-clang16.patch 1032 BLAKE2B 7dbb32881fde4b76fd5612c66408aff7a6f579f9f5d530fc91bbd98d1fdd485004e36e9adbefa2e1615e94de73c1a975e6dbc46eedc2b510f37ae73fb32f6185 SHA512 25dc04ae80c126d60ef199b11194b78809a8de5eb08afae89008dbd0c533b5f119ac996f447c697f3a4086722d50967709210072a64ed7701b57db8c042ee430 DIST vile-9.8t.tgz 2352119 BLAKE2B fc1c75eba09e8be99945ba0d178fd150576d8108f906afb20dba265adaee9e5bea4869415d3ebceabf0b6b56c147add79e9c7e4fe34d7f4744930c3728e4a4a4 SHA512 4be4e37c7231395cae9236796073c2c3e428f1945283785a931c5d4cce94e0f970efa6634b0f9053679a00f4b4577704ea38ded2129e444b26ee9935a1c3d229 DIST vile-9.8v.tgz 2405398 BLAKE2B cd8753c57ff95c9b420026128fd19b7c689c99500da7cae91d3160dded46aa101b0cae32daeaf0377d4d72a5e526e8e4f25422bbbff2cc5ecdef10b7f04c8b39 SHA512 b752f26148bd4411ab6b31697459a16d8168f79ffad6b3509d6cf5d40611176b833e56f4bac21fe18ecdd256be467ba96ea98149daceab671002df49508eb8d2 DIST vile-9.8w.tgz 2407322 BLAKE2B 824142c2d081db7c74ab4ce36db63e2d26e82954b32d274477f920b3519c75a249745365f7fb4f117f613c04fddd468394b4636d5f84d9f024eee3cb9c8332ba SHA512 54a96b400f479c633b917691fdab5ec5098ff1d6a6f5390c085635b4449ee7f02988e52c6b442918917455d02d5d74781ed57e4f944422576cf6532caaa446af EBUILD xvile-9.8t-r2.ebuild 891 BLAKE2B a76858f6c81c1071ffde27f70c634bfdda2700571cedd1b1a34480b03147fc2ca2e5f3bd1e5c13c83c74a1249592910643f9c90806f37ffb9db3bd32147fcdc0 SHA512 dc36fe03386f3f270152f671e68ade17c16d327a6ab558a44c706255be7fa7b12761d47df0d6be34082377865522d2795775a455e3f3b911756218db1eb03a46 EBUILD xvile-9.8v.ebuild 1008 BLAKE2B d3e6e51e1436faf9dde210e90a96aaeec2270a97b5cc5913914397d594355654a0a62fb6c2ba82b67152d20e2cc139ff9c4f343bd4b276d44b79c460eed09c07 SHA512 017e1b87c2f1924d075e6baf0a04d56c27f154aea126b0081efcb0caff8dc80782002552c4a7497da093a3305c7626c98b268edae83a3197b84b102248972ae4 -EBUILD xvile-9.8w.ebuild 1004 BLAKE2B f114d6faa82f58b3b4dc9ffff6e546d014c98f4a29ed9557c119863a8ff03908326265a1ea3a247b80e357715ccfc4595bfc9fddf3db5609eb061424eaec9f52 SHA512 023bdb6109fcdca3d1b361033b34b364b00e5fbe0591fbf9ffee23c3f9674da0c466296882f3a15623db89d8f31bc3dbdc4e8224485e3bc105b549006a24efe8 +EBUILD xvile-9.8w-r1.ebuild 1064 BLAKE2B e25cca8efb0991dd25f3aa594a0c7178e299937d42474d227c5474ee1ba62e25c3226aa21a0a448c0f2a1fb918f2210e6cd12e5273b5bae89dcec983e6ab73a3 SHA512 96f1d0d217c687ba554a38023c8570bea9de215e17eb184b3fc4b4d0ebed4f7df3dccd64f35a7a83e71c9b8364103f26d882eacff717d8cc650bc20481ced889 MISC metadata.xml 347 BLAKE2B 5546714e3c87c1f8380e655e16cf7915878127cbf23ba125010a023056f73e20acb3a268aec33c1829244b7d637f62c47003d98ce90ac127035853b8f2c68ca5 SHA512 a0f8b7dd3327440537748c2e2faaf268efd46b20cbddfb9cbb1ced71b04ed37fd7b65ab3d317d1bc260fdad7497f60e32d29d9313764cdb0896f7137c39fa2e5 diff --git a/app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch b/app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch new file mode 100644 index 000000000000..df5b6d605054 --- /dev/null +++ b/app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch @@ -0,0 +1,27 @@ +Clang16 will not allow implicit function pointer types by default. + +Bug: https://bugs.gentoo.org/880941 +Upstream Bug report and patch: https://savannah.nongnu.org/bugs/index.php?63356 + +Signed-off-by: Pascal Jäger + +--- a/x11.c ++++ b/x11.c +@@ -2259,7 +2259,7 @@ x_preparse_args(int *pargc, char ***pargv) + if (isEmpty(xvile_class)) + xvile_class = MY_CLASS; + +- XtSetErrorHandler(initial_error_handler); ++ XtSetErrorHandler((__attribute__((noreturn)) XtErrorHandler)runtime_error_handler); + memset(cur_win, 0, sizeof(*cur_win)); + cur_win->top_widget = XtVaAppInitialize(&cur_win->app_context, + xvile_class, +@@ -2269,7 +2269,7 @@ x_preparse_args(int *pargc, char ***pargv) + Nval(XtNgeometry, NULL), + Nval(XtNinput, TRUE), + NULL); +- XtSetErrorHandler(runtime_error_handler); ++ XtSetErrorHandler((__attribute__((noreturn)) XtErrorHandler)runtime_error_handler); + dpy = XtDisplay(cur_win->top_widget); + + XtVaGetValues(cur_win->top_widget, diff --git a/app-editors/xvile/xvile-9.8w-r1.ebuild b/app-editors/xvile/xvile-9.8w-r1.ebuild new file mode 100644 index 000000000000..081a230fd55d --- /dev/null +++ b/app-editors/xvile/xvile-9.8w-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Bump with app-editors/vile + +MY_P="${PN/x/}-${PV}" +DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" +HOMEPAGE="https://invisible-island.net/vile/" +SRC_URI="https://invisible-island.net/archives/vile/current/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ppc ~riscv sparc x86" +IUSE="perl" + +RDEPEND="~app-editors/vile-${PV} + virtual/libcrypt:= + >=x11-libs/libX11-1.0.0 + >=x11-libs/libXt-1.0.0 + >=x11-libs/libICE-1.0.0 + >=x11-libs/libSM-1.0.0 + >=x11-libs/libXaw-1.0.1 + >=x11-libs/libXpm-3.5.4.2 + perl? ( dev-lang/perl:= )" +DEPEND="${RDEPEND} + x11-base/xorg-proto + sys-devel/flex" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}"-fix-build-for-clang16.patch ) + +S="${WORKDIR}"/${MY_P} + +src_configure() { + econf \ + --disable-stripping \ + --with-ncurses \ + --with-pkg-config \ + --with-x \ + $(use_with perl) +} + +src_install() { + dobin xvile + dodoc CHANGES* README doc/*.doc + docinto html + dodoc doc/*.html +} diff --git a/app-editors/xvile/xvile-9.8w.ebuild b/app-editors/xvile/xvile-9.8w.ebuild deleted file mode 100644 index 2d85fe5b7359..000000000000 --- a/app-editors/xvile/xvile-9.8w.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Bump with app-editors/vile - -MY_P="${PN/x/}-${PV}" -DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" -HOMEPAGE="https://invisible-island.net/vile/" -SRC_URI="https://invisible-island.net/archives/vile/current/${MY_P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~ia64 ppc ~riscv sparc x86" -IUSE="perl" - -RDEPEND="~app-editors/vile-${PV} - virtual/libcrypt:= - >=x11-libs/libX11-1.0.0 - >=x11-libs/libXt-1.0.0 - >=x11-libs/libICE-1.0.0 - >=x11-libs/libSM-1.0.0 - >=x11-libs/libXaw-1.0.1 - >=x11-libs/libXpm-3.5.4.2 - perl? ( dev-lang/perl:= )" -DEPEND="${RDEPEND} - x11-base/xorg-proto - sys-devel/flex" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}"/${MY_P} - -src_configure() { - econf \ - --disable-stripping \ - --with-ncurses \ - --with-pkg-config \ - --with-x \ - $(use_with perl) -} - -src_install() { - dobin xvile - dodoc CHANGES* README doc/*.doc - docinto html - dodoc doc/*.html -} -- cgit v1.2.3