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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DCB9A158041 for ; Sat, 24 Feb 2024 20:14:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32E08E29C1; Sat, 24 Feb 2024 20:14:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12941E29C1 for ; Sat, 24 Feb 2024 20:14:55 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48782343052 for ; Sat, 24 Feb 2024 20:14:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5DA6131B for ; Sat, 24 Feb 2024 20:14:52 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1708805671.5d7adf81044dbe3e035815dc85fa1127fa811970.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclxml/, dev-tcltk/tclxml/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild X-VCS-Directories: dev-tcltk/tclxml/files/ dev-tcltk/tclxml/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 5d7adf81044dbe3e035815dc85fa1127fa811970 X-VCS-Branch: master Date: Sat, 24 Feb 2024 20:14:52 +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: bfe334c6-4568-4d37-bd98-bfc51aa57b04 X-Archives-Hash: d55db42a9f8c9dcec865145e52ce2d2e commit: 5d7adf81044dbe3e035815dc85fa1127fa811970 Author: Alfredo Tupone gentoo org> AuthorDate: Sat Feb 24 20:13:15 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sat Feb 24 20:14:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7adf81 dev-tcltk/tclxml: fix incompatible function pointer Closes: https://bugs.gentoo.org/924861 Signed-off-by: Alfredo Tupone gentoo.org> .../tclxml/files/tclxml-3.3.1-funcPointer.patch | 38 ++++++++++++++++++++++ dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch b/dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch new file mode 100644 index 000000000000..3f641b490883 --- /dev/null +++ b/dev-tcltk/tclxml/files/tclxml-3.3.1-funcPointer.patch @@ -0,0 +1,38 @@ +From c1bc95aadd5334adf9c6d17ce918abf98af14c6f Mon Sep 17 00:00:00 2001 +From: Alfredo Tupone +Date: Sat, 24 Feb 2024 20:38:49 +0100 +Subject: [PATCH] fix -Wincompatible-pointer-types + +--- + docObj.c | 4 +--- + include/tclxml-libxml2/tclxml-libxml2Decls.h | 2 +- + 2 files changed, 2 insertions(+), 4 deletions(-) + +diff --git a/docObj.c b/docObj.c +index 20a1bd4..c4d5bf9 100644 +--- a/docObj.c ++++ b/docObj.c +@@ -1852,9 +1852,7 @@ ErrorCodeToString(code) + } + + void +-TclXML_libxml2_ErrorHandler (ctx, error) +- void *ctx; /* ignore - depends on context */ +- xmlErrorPtr error; ++TclXML_libxml2_ErrorHandler (void *ctx, const xmlError *error) + { + ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); + Tcl_Obj *objPtr; +diff --git a/include/tclxml-libxml2/tclxml-libxml2Decls.h b/include/tclxml-libxml2/tclxml-libxml2Decls.h +index 3faa5f7..9ad6555 100644 +--- a/include/tclxml-libxml2/tclxml-libxml2Decls.h ++++ b/include/tclxml-libxml2/tclxml-libxml2Decls.h +@@ -55,7 +55,7 @@ EXTERN void TclXML_libxml2_DocKeep _ANSI_ARGS_((Tcl_Obj * objPtr, + TclXML_libxml2_DocumentHandling keep)); + /* 10 */ + EXTERN void TclXML_libxml2_ErrorHandler _ANSI_ARGS_((void * ctx, +- xmlErrorPtr error)); ++ const xmlError *error)); + /* 11 */ + EXTERN void TclXML_libxml2_ResetError _ANSI_ARGS_(( + Tcl_Interp * interp)); diff --git a/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild b/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild index c6aed4cf1018..2091c6704dab 100644 --- a/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild +++ b/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,7 @@ RESTRICT="test" PATCHES=( "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch + "${FILESDIR}"/${P}-funcPointer.patch ) S="${WORKDIR}"/${MYP}