From nobody Fri Jul 21 14:45:44 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 4R6smn22dHz4nX2X; Fri, 21 Jul 2023 14:45:45 +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 4R6smn0slKz43vZ; Fri, 21 Jul 2023 14:45:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689950745; 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=nRND5wBb0R+IYIim/9XO8Y/jYy5ks7ZkvFQa0EzhgbM=; b=W5nx3YPUoiVnJ29vsqkR0Zy8SQS+3BCCLpxWlatCkxl7lQEGofcLq7txntGw6IGuvxhqRC G/pwXb4y339wD0Zv4nMOPCGda7ZxZGO5i4/c2EISh24LxSt+UJCUgOu/w+rKDKx5tXhBPY Vhj5oWu0ej3NBPM1Sz0M0p4nYrm3VtM0mv5NE4AA6O+p3Q1MvaSoybKXKCxWiaw0b2CGp/ yToRXV0CWaiTxm1t07W/0OpA9lsb7wa8fuhFmdm7vRwPBCxWRSfpH0O+BRBa8fyVZOncDX cv8zPeC6H2QgkcQDnwkLh+12GI93geiXP8lOwlj+v/6g86tr7Md6zzS1CKlXHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689950745; 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=nRND5wBb0R+IYIim/9XO8Y/jYy5ks7ZkvFQa0EzhgbM=; b=NklhJTqgcgpz9YXT4zbG7S++7UqFKJ7c6tU01v/wnrOwsOIp1EIYZbE1GzBo3tfBX9BT+N XtY60pEMub3RoGuOV1B0fgms+WXVF7ImfTijqknjGFqM99um3csQsnTGm9GgI/n5HeykOZ Vo0VnD+T9Is5OlYTcTolPBqTaaV8EwEIB+8RxHqqAsNMqU547wkS7tC4nXleM9HorsfNbo ijYuE+WvXBhFdyarBsMYU3WCG/heScXua1rDmxdqLn0AZdyHNfy/Y5ovAkdkn8rPXuFEdx 8zNY0c1WCuCEwkAgf/CK87Pb9fBAdPkhGSpmK+UUyJ0ADthNCqBRMry+HpJcpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689950745; a=rsa-sha256; cv=none; b=eSfTpk1BrUQsIItyr8bkog+5T3h3GnSa42+N+6Hkki7fnYCzOTPojJYE/KAzTMXXY0DKYP kQ4cqt8W9I1d/B+ESMecWUAmc6YdWViwIasFr7AD4eXiyhsgscDZY0UaXG4dl0WqiXBsuj zCiQsy7OvX0cHEJaSR9rkw0UewkC+hqBCm07Jl1HUcS7UF6BMcumskaYpEz6s4vJ5tHejY H6niGxmXvo9kwuGM3dbsNfK2y4cWJw1aunlEzBVQCa7feAbBuOyFNQFz+nj+SHTIjTZ40x YusXU12CqNbePQ4lhH9LmQlN3S0BlA8ZN1HhP9eDbRPh/BtcuMqJK4Y0t4f+lQ== 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 4R6smm6JBjzGy2; Fri, 21 Jul 2023 14:45:44 +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 36LEji9c025562; Fri, 21 Jul 2023 14:45:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LEjidp025561; Fri, 21 Jul 2023 14:45:44 GMT (envelope-from git) Date: Fri, 21 Jul 2023 14:45:44 GMT Message-Id: <202307211445.36LEjidp025561@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: 812ce11abdb1 - main - games/scourge: 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: 812ce11abdb11b0e99837911e2cc0c41b3228557 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=812ce11abdb11b0e99837911e2cc0c41b3228557 commit 812ce11abdb11b0e99837911e2cc0c41b3228557 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 14:24:38 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 14:45:29 +0000 games/scourge: Fix build with llvm16 - Add LICENSE GPLv2 - Pet portclippy Sponsored by: The FreeBSD Foundation --- games/scourge/Makefile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/games/scourge/Makefile b/games/scourge/Makefile index b5aa965b69e3..ce63d88fd6de 100644 --- a/games/scourge/Makefile +++ b/games/scourge/Makefile @@ -1,6 +1,6 @@ PORTNAME= scourge PORTVERSION= 0.21.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= games MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION:S/$/.src/} @@ -10,27 +10,33 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Rogue-like game WWW= http://scourge.sourceforge.net/ +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libfreetype.so:print/freetype2 RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/config/scourge.cfg:games/scourge-data USES= autoreconf compiler gettext gl gmake localbase pkgconfig sdl -GNU_CONFIGURE= yes +USE_CXXSTD= c++14 USE_GL= gl USE_SDL= sdl image mixer net ttf +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-data-dir=${DATADIR} + CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing -CONFIGURE_ARGS= --with-data-dir=${DATADIR} - +BINARY_ALIAS= freetype-config=true SUB_FILES= pkg-message -PLIST_FILES= bin/${PORTNAME} + WRKSRC= ${WRKDIR}/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} + OPTIONS_DEFINE= DEBUG -DEBUG_CONFIGURE_ENABLE= debug -BINARY_ALIAS= freetype-config=true +DEBUG_CONFIGURE_ENABLE= debug post-patch: @${REINPLACE_CMD} -e 's|GLvoid|void|g' ${WRKSRC}/src/sdlhandler.cpp ${WRKSRC}/src/sdlhandler.h