From nobody Sat Aug 05 18:01:35 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 4RJ9Pr2bXhz4mLnh; Sat, 5 Aug 2023 18:01:36 +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 4RJ9Pr0zzDz4Sl7; Sat, 5 Aug 2023 18:01:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691258496; 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=UEKT79xm+5L95uGb5VpN/AHaciMxzSfuAlQ75N5LrsI=; b=tJpLBOTLWWEgpjeEqG9sckDDoanEEVQcScvn/ERwYUeaGyv4n7vZS7t/x+l3dqM4qdvI9I hM6u6NBuEcVvlKggzJSc4Ysm50TYyZVXMhlFI0/PwPhNQxdi/czvGGqg6PJCcR6IgFHyRd NIh9kXYSHVsnCWCH8uzeU9ZH8o4oY2HcWHlxDXD037JoivVXj/WQ088SSJdE2yX1INA9t7 gqGiN10W8Oo0VHmSeAfcZvYblQnvsavN5O6TIJX+akaInXmrxy3a8NwmqDcq1RxXtFEpYn fQV/M5/RGC6r70S96WfUJPCfGpWLITLizt171UU+wwTTPr0nS22uvK+nEoQYzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691258496; 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=UEKT79xm+5L95uGb5VpN/AHaciMxzSfuAlQ75N5LrsI=; b=R0gmyn7BC5uEySw4Ae/hWPyxRaIZZ27ea3PgpUXqYHDhiyypkNMGRGMVBYtyWHf55ZDq3d HDM4mLFgxf8oaMx0ey+Drgn14NupM2pHROJsqyTRbBZXl+pZFY7eWWRRndJTAI9TL27ER5 rDoYVx+6VETVEymRdJLsKeKKubZ4sJCE3AoA5YPv5xDrFwAWYfS20e5UDhUc9wwfD2FkZH mIonCmHjb9uV8oHjzKGegIGwky91ZieilSz2WMMvpKFCJ0OTLEQU7LOifpzsngJN+Shnyg TbJ5Mz7Wwy1N/I2R1vLQl1lFSDBiAWKRO/BVn0sRx16bLHwkubLEHyDF4VA8Yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691258496; a=rsa-sha256; cv=none; b=Rb87fkpz85HoxsLQOdTO1o8zUzDeaNhWMd+Af4nR+ZioSxxBJaL+59ZOZd59k/QjP6fexT 3WAbUiW31aiwy8o9IeBpvD0s/B2960pfL1Z5K7byDj7haE4MS4tojAtaMYza+dFdqwasT9 qc4HlOHJTwLBsqorsEoX1csXmwbq5Ivw2IiB0TwJ+agN5dX30JXtmYi62DiZfWzPyXt/fO 1KuTKG3UxPmqzpiXnCKxKPmHAcAGtZcAvM7LZ0PK/2mKfhAw/z5PiC7jVQIMLwZQWockmY vxmjplZqvd/7z6GfRfrpgwJdfH4YyRvC5JRselD2h+lECUiJZI2H2jlCQwOWuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJ9Pr05YhzfBN; Sat, 5 Aug 2023 18:01:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 375I1ZCB090155; Sat, 5 Aug 2023 18:01:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375I1Z8j090154; Sat, 5 Aug 2023 18:01:35 GMT (envelope-from git) Date: Sat, 5 Aug 2023 18:01:35 GMT Message-Id: <202308051801.375I1Z8j090154@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: 6c9df079871c - main - graphics/gpaint: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6c9df079871c3a3a8642a29fd18aa48dbd38625b Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c9df079871c3a3a8642a29fd18aa48dbd38625b commit 6c9df079871c3a3a8642a29fd18aa48dbd38625b Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 15:09:45 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 18:01:11 +0000 graphics/gpaint: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/gpaint/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/graphics/gpaint/Makefile b/graphics/gpaint/Makefile index b40a434e369d..ee13293eb9f5 100644 --- a/graphics/gpaint/Makefile +++ b/graphics/gpaint/Makefile @@ -13,12 +13,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome libtool pkgconfig USE_GNOME= gtk20 libglade2 + GNU_CONFIGURE= yes + LIBS+= -lm PLIST_FILES= ${DATADIR}/glade/gpaint.glade \ bin/gpaint-2 +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|_RESPONSE_DISCARD|_RESPONSE_NO|g' ${WRKSRC}/src/drawing.c