From nobody Sat Jun 24 18:10:11 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QpMb74BKwz4hnXY; Sat, 24 Jun 2023 18:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QpMb73Hpnz3s59; Sat, 24 Jun 2023 18:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687630211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e/u3CJKFORSNph6Uhg1ZuSCd/y7Lr1Wg2UZY3U1+27E=; b=Nx7dVBxnaBB/ictP6jmxfuRIWAhatQfJs34gciGcg21iEj3f1FqtFDgmtcb+f4djjpqkU7 /FKgVAy9ZbpiZJ76NA7xW1vJtIruzJkGyLOrksVwTEVlH+IeG93jRxRywMeN9EnCvMuvnZ bXmLwxKgAejKYp837DFBZwiJIPe3PTKSNxgZMk43QAhbY5KCR7yRBcOECb1yxtBRjVA1lI gxmzWrWMWzBGtIJIZG9/yWwx4nziq23NWbSQhPHd2da7X69FCopKjjPBJpRhd+2FqnpmW/ 1lH8dAovfdMNfwF5AUM6gAT+QY1JeCu4Dk7iMHach2jurXkHYEUkpytzbGywjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687630211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e/u3CJKFORSNph6Uhg1ZuSCd/y7Lr1Wg2UZY3U1+27E=; b=hw0ZxDUf6TMdy1L91IAoVRXJ9++eSX0JK2kg3hbnqAOuWAIwYX8mqbHujYam47GuMNzRmk kwlBiEw/JPftUG1rnX3KN6LzbtAURIgL7KIIwxCHFQIlkPkW1RQMUy4T/L8rjAVRw/zEug ZVsa+3200KMOj+YQI8OGHI4/NES8xA0eBIJQdzXDKIdxfYnNqnOvNL10ekGtlT0II/4GwC LBQcWDUp+2xgq+GQuENhPTaGWTpRj259lRLlTzRKZxP/qyTjw95dd7qjI4Zyjf1SRuI0HV R7j3EusgTq29EdBAG4KCGlclRwtpWLbcvgnPGBoKUPIMbep0mHvQoJgZi8HowA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687630211; a=rsa-sha256; cv=none; b=DNP6U7ftbi7uLclyFUmv9BG64zJ+Wn7NGGECLlzlm5uam3zph5/lnoRWvOvndaIuKiptTU NP4e4M8vo/VpM43Cq0FyACbLkqdxPkF8cWidKijjo1libGD5W5h0zCQLW/rFUi07Qi7dgL kBEy51tZVpH+egEirzraIEjhJw8hv3QRbTBkxtLUvFnIVHQdtE5/8a4+2Nw6BFLf5z950W FWzkVf7lWBHTrf5rvad9rmdi1zuFKDRFWCdOs+Li92VgXlX1YleR3oFkdhDJM7m/v71VWI y+wOLwB4AcZsXq0BklVluzI/38e5nlxmBTBa/QaaPPJSXkKarLgzxH/iEo6HDg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QpMb72GR3zw0p; Sat, 24 Jun 2023 18:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35OIAB6G015213; Sat, 24 Jun 2023 18:10:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35OIABRR015210; Sat, 24 Jun 2023 18:10:11 GMT (envelope-from git) Date: Sat, 24 Jun 2023 18:10:11 GMT Message-Id: <202306241810.35OIABRR015210@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 8a4ae0881482 - main - textproc/gdome2: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a4ae08814823be994b752387aa5d33fba7797c8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a4ae08814823be994b752387aa5d33fba7797c8 commit 8a4ae08814823be994b752387aa5d33fba7797c8 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-24 17:20:47 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-24 18:10:02 +0000 textproc/gdome2: Fix build with llvm16 - Add LICENSE GPLv2 LGPL21 - Pet portclippy - Refresh patches - Adopt port Sponsored by: The FreeBSD Foundation --- textproc/gdome2/Makefile | 28 ++++++++++++++++------ .../patch-libgdome_gdomecore_gdome-xml-documentt.c | 6 ++--- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile index 2b826a739911..0f9c4a00c698 100644 --- a/textproc/gdome2/Makefile +++ b/textproc/gdome2/Makefile @@ -1,26 +1,40 @@ PORTNAME= gdome2 PORTVERSION= 0.8.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= textproc MASTER_SITES= http://gdome2.cs.unibo.it/tarball/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Gnome DOM Engine WWW= http://gdome2.cs.unibo.it/ -USES= gnome libtool pathfix pkgconfig +LICENSE= GPLv2 LGPL21 +LICENSE_COMB= dual +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING +LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB + +USES= gnome libtool localbase pathfix pkgconfig USE_GNOME= glib20 libxml2 +USE_LDCONFIG= yes + GNU_CONFIGURE= yes CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/pkg-config glib-2.0" + +INSTALL_TARGET= install-strip + CFLAGS+= -fcommon -CPPFLAGS+= -I${LOCALBASE}/include + DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} -USE_LDCONFIG= yes -INSTALL_TARGET= install-strip + +PORTDOCS= * OPTIONS_DEFINE= DOCS -PORTDOCS= * +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif post-patch: @${FIND} ${WRKSRC} -type f -and \ diff --git a/textproc/gdome2/files/patch-libgdome_gdomecore_gdome-xml-documentt.c b/textproc/gdome2/files/patch-libgdome_gdomecore_gdome-xml-documentt.c index 5b94efe8ecca..9a89320c8069 100644 --- a/textproc/gdome2/files/patch-libgdome_gdomecore_gdome-xml-documentt.c +++ b/textproc/gdome2/files/patch-libgdome_gdomecore_gdome-xml-documentt.c @@ -4,9 +4,9 @@ Patch by Harris Landgarten. The patch was submitted on bug 448236, following the announcement on https://mail.gnome.org/archives/xml/2012-August/msg00005.html ---- libgdome/gdomecore/gdome-xml-documentt.c.orig 2003-07-13 06:47:54.000000000 -0400 -+++ libgdome/gdomecore/gdome-xml-documentt.c 2012-12-23 08:57:23.000000000 -0500 -@@ -342,7 +342,11 @@ +--- libgdome/gdomecore/gdome-xml-documentt.c.orig 2003-07-13 10:47:54 UTC ++++ libgdome/gdomecore/gdome-xml-documentt.c +@@ -342,7 +342,11 @@ gdome_xml_dt_internalSubset (GdomeDocumentType *self, } xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL); xmlOutputBufferFlush(out_buff);