From nobody Sat Aug 05 11:53:36 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 4RJ1FF3B6Pz4gwgj; Sat, 5 Aug 2023 11:53:37 +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 4RJ1FF0lgkz3PsT; Sat, 5 Aug 2023 11:53:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236417; 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=uNcRF5rTTD6FWJ4y7pvUAaVyn+jVP7D7Evls5NwSd/U=; b=PiG4x14HgLSq9bC73adHHOhsba+HOmrSoDoMjKox8R4eJ0ZO9TUftTqghQlN3D7uOeq7BJ j6uSO9ZZduKHRg0Kx1aWVepgiX1evqtlFM1gQBpR3EkKD7y+1W8nhxmTJEKGCjLff4qaG1 fJHRnYhG26oz1lwEYMBAXsAP6h2u/op3oxzIEjDnkDv3SSD/GxZiK/kUawQ0+iwFjFH7XL NCeCGKhpYrp1knXPfraB4hvjDmY6eJ68VnHqtJmIQb66LH3m0hjxTVa9NteTriSJIjxV9+ hWAXVaA4YK6iepk/CiZTa538mPBlMMlSgb+g2rTjJsxEh79uyKfsO8E3GbTthA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236417; 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=uNcRF5rTTD6FWJ4y7pvUAaVyn+jVP7D7Evls5NwSd/U=; b=PoM9uvlXax/Sn95CYaVAXNRFZsSidKdS/Mec2xCURE/YTqvIOB4DZJYzwZxCYdO31s3a/K NKxTrLLCxMwSwA0gFC42IgF+pbsCmV/dYYbm7qNPCJ2v6ffkd2EJA7y3NVbIjtQX3pkSHX vlmL46CDK1Y+j0y+Gl9s4etw3CLCmOvHfVuhFI3ZxO9dUb6Xdz8UcX8xQsmXbgUZHd/vTz coln3PUdS9S95+chU1GKOwbpDxpjU6vGPe7SKVIn5iigT2vdmpyvG57n5FK7HLwROpkHtw lZsYKUcAPdsZlvsGzDcnoz94EVTFlwwPrr1+FWMEqGiC8+xY+p1CQZhRw7an3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691236417; a=rsa-sha256; cv=none; b=tcpD2oQ5jvlCcuJb5KzH9yQtxxPxaKLBoLvJZ1vckGju6diPLRYFrfUxUeKV52zwFh4TjH iC+npCNF5PCnUGmm0C70004TqhO3hnS1mV9RJW1XTw8ioyu4H2hWkCoTMhgcfNNd7DEl1T br0fqY16mW0e/HNkVpxSLLOXKG+PMxvfdd/A5FLJ+t4wSHzCXC/OhQ8fVKwjjqeMjlRZw2 wihAJUOnokc+5cp3Qz7LhscUwerXV5Pr59p69zGwJYQAfzLBfUzbjYoAXyUqWISiphE165 14Lsp1fxt/FBDOZYB4G3Qtp5tdFlX6SRUGofNHN3PlEmQZHNhJU8wXhDM/ywug== 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 4RJ1FD6zDFzCyn; Sat, 5 Aug 2023 11:53: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 375BraSr075180; Sat, 5 Aug 2023 11:53:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375BraT8075179; Sat, 5 Aug 2023 11:53:36 GMT (envelope-from git) Date: Sat, 5 Aug 2023 11:53:36 GMT Message-Id: <202308051153.375BraT8075179@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: 7c9c6b8cf7a7 - main - graphics/kludge3d: 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: 7c9c6b8cf7a78af1dbcc8d2a44d6ae0d5d33a014 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c9c6b8cf7a78af1dbcc8d2a44d6ae0d5d33a014 commit 7c9c6b8cf7a78af1dbcc8d2a44d6ae0d5d33a014 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 11:52:37 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 11:53:20 +0000 graphics/kludge3d: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/kludge3d/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/graphics/kludge3d/Makefile b/graphics/kludge3d/Makefile index 4326e2fa63a0..50701e0b88d8 100644 --- a/graphics/kludge3d/Makefile +++ b/graphics/kludge3d/Makefile @@ -11,16 +11,23 @@ WWW= http://kludge3d.sourceforge.net/ LIB_DEPENDS= lib3ds.so:graphics/lib3ds \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext -USES= compiler:c++11-lang gl gmake gnome pkgconfig python +USES= compiler:c++11-lang gl gmake gnome localbase:ldflags pkgconfig python USE_GL= gl USE_GNOME= gtk20 + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lib-GL +CPPFLAGS+= -I${PYTHON_INCLUDEDIR} +LDFLAGS+= -L${PYTHON_LIBDIR}/config -lpthread -lm + PLIST_FILES= bin/kludge3d -CPPFLAGS+= -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR} -LDFLAGS+= -L${LOCALBASE}/lib -L${PYTHON_LIBDIR}/config -lpthread -lm +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \