pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/violetland



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Apr 21 17:07:36 UTC 2024

Modified Files:
        pkgsrc/games/violetland: Makefile distinfo
Added Files:
        pkgsrc/games/violetland/patches: patch-src_game_Highscores.cpp

Log Message:
violetland: fix build with newer boost


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/games/violetland/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/violetland/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/violetland/patches/patch-src_game_Highscores.cpp

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

Modified files:

Index: pkgsrc/games/violetland/Makefile
diff -u pkgsrc/games/violetland/Makefile:1.26 pkgsrc/games/violetland/Makefile:1.27
--- pkgsrc/games/violetland/Makefile:1.26       Fri Dec 29 18:24:45 2023
+++ pkgsrc/games/violetland/Makefile    Sun Apr 21 17:07:36 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.26 2023/12/29 18:24:45 adam Exp $
+# $NetBSD: Makefile,v 1.27 2024/04/21 17:07:36 adam Exp $
 
 DISTNAME=      violetland-0.5-source-with-dependencies
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
 PKGNAME=       ${DISTNAME:S/-source-with-dependencies//}
-PKGREVISION=   21
+PKGREVISION=   22
 CATEGORIES=    games
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ooxi/}
 
@@ -13,12 +13,12 @@ HOMEPAGE=   https://violetland.github.io/
 COMMENT=       Help a girl by name of Violet to struggle with monsters
 LICENSE=       gnu-gpl-v3 AND cc-by-sa-v3.0
 
-USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    xgettext
 
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../devel/SDL_ttf/buildlink3.mk"
 .include "../../graphics/SDL_image/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/games/violetland/distinfo
diff -u pkgsrc/games/violetland/distinfo:1.4 pkgsrc/games/violetland/distinfo:1.5
--- pkgsrc/games/violetland/distinfo:1.4        Tue Oct 26 10:44:29 2021
+++ pkgsrc/games/violetland/distinfo    Sun Apr 21 17:07:36 2024
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:44:29 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/04/21 17:07:36 adam Exp $
 
 BLAKE2s (violetland-0.5-source-with-dependencies.tar.gz) = 30c3fe743ba04e5b1006ee561ee2a4632c983b121ecad2d53619fd6cadb7dff6
 SHA512 (violetland-0.5-source-with-dependencies.tar.gz) = 9b00fa600332c956c49bc5906f373c0dfff08a13320617014942ac4dbc199de8f84bef87ed218b38812ae3c53622e9148aa4463c4ea219056360bff1c73b7f88
 Size (violetland-0.5-source-with-dependencies.tar.gz) = 11495885 bytes
 SHA1 (patch-lib_CMake-Gettext_GettextTranslate.cmake) = 569cc6476dbac487f603fb666fe372e79cd4f43d
+SHA1 (patch-src_game_Highscores.cpp) = 2d4379672d1676db1057a078655035e0720783fe
 SHA1 (patch-src_program.cpp) = f06e7935d2cf8cd23dd3ab9c75990f8b289476cd
 SHA1 (patch-src_system_utility_FileUtility.cpp) = d6663de57b76121dc4f84b8e7ed20e93134940b4

Added files:

Index: pkgsrc/games/violetland/patches/patch-src_game_Highscores.cpp
diff -u /dev/null pkgsrc/games/violetland/patches/patch-src_game_Highscores.cpp:1.1
--- /dev/null   Sun Apr 21 17:07:36 2024
+++ pkgsrc/games/violetland/patches/patch-src_game_Highscores.cpp       Sun Apr 21 17:07:36 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_game_Highscores.cpp,v 1.1 2024/04/21 17:07:36 adam Exp $
+
+Fix build with newer boost.
+
+--- src/game/Highscores.cpp.orig       2024-04-21 17:03:18.448207624 +0000
++++ src/game/Highscores.cpp
+@@ -105,7 +105,7 @@ bool Highscores::add(HighscoresEntry ent
+               ofile.close();
+ 
+               boost::filesystem::copy_file(hsTempFile, hsFile, 
+-                              boost::filesystem::copy_option::overwrite_if_exists);
++                              boost::filesystem::copy_options::overwrite_existing);
+               boost::filesystem::remove(hsTempFile);
+ 
+               cout << "Scores was updated." << endl;



Home | Main Index | Thread Index | Old Index