From nobody Sun Jun 04 16:21:55 2023 X-Original-To: dev-commits-ports-main@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 4QZ27S1KhWz4ZHcv; Sun, 4 Jun 2023 16:21:56 +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 4QZ27S0vz0z3sBr; Sun, 4 Jun 2023 16:21:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685895716; 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=vDKIROZ17KyrypriEmsJR1KqwKKKSJ/VXk52IUekbGM=; b=J/XetN79s3e4AzTDP4goaElaaaoGnOJsNbBIn8tMA5Fc/1NM4O5NPGagiyPD3R1lBRsumY MtFGZGyPsXoWQi6/jLWEjoBjSxJoMzHuu07jlnOdViMTqsQ+b9uHyrcRq35ihTL6aRIA8/ NbwBCjIBauvKOp1HhyCnMRpsickDZhdsQE6DQEDrNZrKH1TrO9M7edUmBJL5fAuIZpsaG2 gTQxLTplz9zLw0d1GzvTFCEySW8C779D/OM1xq36VIG1PbwmYexNslpMfKi56qclANOZdj RL5R9P5G24MB7HdSTe7TMOV/oAth7NVzw/9lZgLhz8NY6wSqyjcs23/GlnZl/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685895716; 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=vDKIROZ17KyrypriEmsJR1KqwKKKSJ/VXk52IUekbGM=; b=oowXTmHsyJvrbgyHCWuNNfjrEqfKP+SQN8/LfdViHjZBTenUVy4GxR/zzSWyrSvD1pqCLA kfTY0ZZUgfz/D3iLdwXis1cVJPgD5JRKN4LOwtmtKiee0KzhTe3NUp+gDkrUYXNegNcwNK D6yyNZaergb7/aRGhVSjCU0uzcNfvhiZysJ37OsXE4sBxqbOvKhfXIlsAIXXZ1fgXIsEr+ UZPmzUu6ck1Q15OM41K6KG07rFzupIHqIhUhAZJgs9KL57kBvzGxWbH2WMvxQS5jhmgkIN y1r8YZ3og5q7dy41w/xsGo6q8rV2ovqItIw1GEjkSvTg9BYhZXly9U8Hqqkc+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685895716; a=rsa-sha256; cv=none; b=UvWwJe1XWzPIzQ4hvyzQr3ICqg0Rm3Jph8suk491CCagye6KOb9UPAaE8Zkxv/MeR/AFYB MJ8Mus1+r1+E1t4GNNevPGSzlL9cQt1GzyTkub0IpaVO/kTTSx1OmXliknpa/aUaMQqQqZ QNarR90W3R4XMNPazhI2a8qmQMSEjolgECcyaa1KJ6wRgjmuNieL77weJFQIlvLZtiWrZ+ 7hF0WAqo5I9t64OoOWtQisOdqElYmJKoOrn8AS1uOMIcOuRZ9kDLpBjj+iDm+1DOAY2tlz hg8vg+ovw2BCWToxGGI1CsniSBz0b29Ovs5pL6NK+WBTOA4oiBBT1UsioKhktA== 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 4QZ27S00kBz1CZG; Sun, 4 Jun 2023 16:21:56 +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 354GLtDI024953; Sun, 4 Jun 2023 16:21:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 354GLtwp024952; Sun, 4 Jun 2023 16:21:55 GMT (envelope-from git) Date: Sun, 4 Jun 2023 16:21:55 GMT Message-Id: <202306041621.354GLtwp024952@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 28b30b0f681f - main - devel/libgee: fix build with clang 16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 28b30b0f681fbd8166afda9a633c04d7939ed6d6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=28b30b0f681fbd8166afda9a633c04d7939ed6d6 commit 28b30b0f681fbd8166afda9a633c04d7939ed6d6 Author: Dimitry Andric AuthorDate: 2023-05-18 11:47:43 +0000 Commit: Dimitry Andric CommitDate: 2023-06-04 16:21:23 +0000 devel/libgee: fix build with clang 16 Clang 16 has a new error about incompatible function types, which shows up when building devel/libgee: hashmap.c:4089:23: error: incompatible function pointer types assigning to 'gboolean (*)(GeeMapIterator *)' (aka 'int (*)(struct _GeeMapIterator *)') from 'gboolean (GeeHashMapNodeIterator *)' (aka 'int (struct _GeeHashMapNodeIterator *)') [-Wincompatible-function-pointer-types] iface->get_read_only = gee_hash_map_map_iterator_real_get_read_only; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Since the error occurs in vala-generated code, it does not make sense to patch the .c file. Suppress the warning instead. PR: 271485 Approved by: maintainer timeout (2 weeks) MFH: 2023Q2 --- devel/libgee/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/devel/libgee/Makefile b/devel/libgee/Makefile index bed36269cb25..a9e0ddd8aba5 100644 --- a/devel/libgee/Makefile +++ b/devel/libgee/Makefile @@ -1,5 +1,6 @@ PORTNAME= libgee PORTVERSION= 0.20.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNOME DIST_SUBDIR= gnome @@ -15,10 +16,16 @@ PORTSCOUT= limitw:1,even GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-introspection=yes -USES= cpe gettext gmake gnome libtool pathfix pkgconfig tar:xz vala:build +USES= compiler cpe gettext gmake gnome libtool pathfix pkgconfig tar:xz vala:build USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPE_VENDOR= gnome -.include +.include + +.if ${COMPILER_TYPE} == clang +CFLAGS+= -Wno-incompatible-function-pointer-types +.endif + +.include