pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/lugaru



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 19 11:25:42 UTC 2025

Modified Files:
        pkgsrc/games/lugaru: Makefile distinfo
Added Files:
        pkgsrc/games/lugaru/patches: patch-CMakeLists.txt

Log Message:
lugaru: fix build with cmake 4


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/games/lugaru/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/lugaru/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/lugaru/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/lugaru/Makefile
diff -u pkgsrc/games/lugaru/Makefile:1.16 pkgsrc/games/lugaru/Makefile:1.17
--- pkgsrc/games/lugaru/Makefile:1.16   Thu Apr 24 14:14:03 2025
+++ pkgsrc/games/lugaru/Makefile        Tue Aug 19 11:25:41 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2025/04/24 14:14:03 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2025/08/19 11:25:41 wiz Exp $
 
 DISTNAME=      lugaru-${VERSION}
 VERSION=       1.2
@@ -8,8 +8,8 @@ MASTER_SITES=   https://bitbucket.org/ossl
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    charlotte%NetBSD.org@localhost
-COMMENT=       Cross-platform third-person action game from Wolfire
 HOMEPAGE=      https://osslugaru.gitlab.io/
+COMMENT=       Cross-platform third-person action game from Wolfire
 LICENSE=       gnu-gpl-v2 AND cc-by-sa-v3.0 AND cc-by-sa-v4.0
 
 USE_LANGUAGES= c c++
@@ -18,6 +18,7 @@ USE_TOOLS+=   pkg-config
 
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Release
 CMAKE_CONFIGURE_ARGS+= -DSYSTEM_INSTALL=ON
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../audio/openal-soft/buildlink3.mk"

Index: pkgsrc/games/lugaru/distinfo
diff -u pkgsrc/games/lugaru/distinfo:1.3 pkgsrc/games/lugaru/distinfo:1.4
--- pkgsrc/games/lugaru/distinfo:1.3    Tue Oct 26 10:44:13 2021
+++ pkgsrc/games/lugaru/distinfo        Tue Aug 19 11:25:41 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:44:13 nia Exp $
+$NetBSD: distinfo,v 1.4 2025/08/19 11:25:41 wiz Exp $
 
 BLAKE2s (lugaru-1.2.tar.xz) = 776db6ad1420237ca2bfcc984ccfee9388650c7f6d817afd80ee3adc61bde637
 SHA512 (lugaru-1.2.tar.xz) = ca5b82d92d7167ddd51bed51d4511f9b36e5809f67b3f90a336bad690dd839bd66b25139f4a8b5ae5a24370146a6f9b7857d0418004cae275e0939e3292866d2
 Size (lugaru-1.2.tar.xz) = 34519308 bytes
+SHA1 (patch-CMakeLists.txt) = a84079c550dc925a96d50629a616e9f2db2daa21
 SHA1 (patch-Source_Utils_ImageIO.cpp) = b450e8842be08c6ff6801c5699649be30df16bf5
 SHA1 (patch-Source_main.cpp) = 0b0066971f68c285c4b7ef4bb6456d1983df3f7e

Added files:

Index: pkgsrc/games/lugaru/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/games/lugaru/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Tue Aug 19 11:25:42 2025
+++ pkgsrc/games/lugaru/patches/patch-CMakeLists.txt    Tue Aug 19 11:25:41 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2025/08/19 11:25:41 wiz Exp $
+
+Fix build with cmake 4.
+
+--- CMakeLists.txt.orig        2025-08-19 11:24:31.017965021 +0000
++++ CMakeLists.txt
+@@ -1,7 +1,6 @@
+ project(lugaru)
+ 
+ cmake_minimum_required(VERSION 3.0)
+-cmake_policy(SET CMP0004 OLD)
+ 
+ include(FindPkgConfig)
+ include(GNUInstallDirs)



Home | Main Index | Thread Index | Old Index