From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E1CC158021 for ; Tue, 15 Nov 2022 02:22:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15B83E0934; Tue, 15 Nov 2022 02:22:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC07CE0934 for ; Tue, 15 Nov 2022 02:22:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF0D6340DE8 for ; Tue, 15 Nov 2022 02:22:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2889741 for ; Tue, 15 Nov 2022 02:22:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1668478128.4d3d40a29078d1796ed26b83d5a823155a5ce015.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xvile/files/, app-editors/xvile/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/xvile/files/xvile-9.8w-fix-build-for-clang16.patch app-editors/xvile/xvile-9.8w-r1.ebuild app-editors/xvile/xvile-9.8w.ebuild X-VCS-Directories: app-editors/xvile/files/ app-editors/xvile/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4d3d40a29078d1796ed26b83d5a823155a5ce015 X-VCS-Branch: master Date: Tue, 15 Nov 2022 02:22:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5ac072d7-ba68-4261-bc49-d2ecd5749eeb X-Archives-Hash: 71fa5e90515ef595757afbca1434fe67 commit: 4d3d40a29078d1796ed26b83d5a823155a5ce015 Author: Pascal Jäger leimstift de> AuthorDate: Sun Nov 13 14:05:40 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Nov 15 02:08:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3d40a2 app-editors/xvile: fix build for clang16 Closes: https://bugs.gentoo.org/880941 Signed-off-by: Pascal Jäger leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/28255 Signed-off-by: Sam James gentoo.org> .../files/xvile-9.8w-fix-build-for-clang16.patch | 27 ++++++++++++++++++++++ .../{xvile-9.8w.ebuild => xvile-9.8w-r1.ebuild} | 2 ++ 2 files changed, 29 insertions(+) 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.ebuild b/app-editors/xvile/xvile-9.8w-r1.ebuild similarity index 94% rename from app-editors/xvile/xvile-9.8w.ebuild rename to app-editors/xvile/xvile-9.8w-r1.ebuild index 2d85fe5b7359..081a230fd55d 100644 --- a/app-editors/xvile/xvile-9.8w.ebuild +++ b/app-editors/xvile/xvile-9.8w-r1.ebuild @@ -29,6 +29,8 @@ DEPEND="${RDEPEND} sys-devel/flex" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}/${P}"-fix-build-for-clang16.patch ) + S="${WORKDIR}"/${MY_P} src_configure() {