pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/warzone2100



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Mar 27 08:31:02 UTC 2020

Modified Files:
        pkgsrc/games/warzone2100: distinfo
Added Files:
        pkgsrc/games/warzone2100/patches: patch-lib_sdl_CMakeLists.txt

Log Message:
warzone2100: Don't attempt to statically link SDL2


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/games/warzone2100/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/warzone2100/patches/patch-lib_sdl_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/warzone2100/distinfo
diff -u pkgsrc/games/warzone2100/distinfo:1.10 pkgsrc/games/warzone2100/distinfo:1.11
--- pkgsrc/games/warzone2100/distinfo:1.10      Mon Jan 27 19:35:54 2020
+++ pkgsrc/games/warzone2100/distinfo   Fri Mar 27 08:31:02 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2020/01/27 19:35:54 triaxx Exp $
+$NetBSD: distinfo,v 1.11 2020/03/27 08:31:02 nia Exp $
 
 SHA1 (warzone2100-3.3.0_src.tar.xz) = 781ee178a9e2cf5204a4cb8fc29a5226f64d8229
 RMD160 (warzone2100-3.3.0_src.tar.xz) = 28fa1a10af8df3f029ea8026cb76d59c883ffa1b
@@ -8,3 +8,4 @@ SHA1 (patch-build__tools_autorevision) =
 SHA1 (patch-lib_exceptionhandler_exceptionhandler.cpp) = 4271efc90e2972ee196d6ced5ec254fe708c42f0
 SHA1 (patch-lib_framework_string__ext.h) = 93a0e2e4acf298be49d5853f9084df187240309b
 SHA1 (patch-lib_netplay_netplay.cpp) = 9152f24677a900e68e034c45154ad44e05a79bc1
+SHA1 (patch-lib_sdl_CMakeLists.txt) = 2034d69568dcb90784b9a26e920d632182dee794

Added files:

Index: pkgsrc/games/warzone2100/patches/patch-lib_sdl_CMakeLists.txt
diff -u /dev/null pkgsrc/games/warzone2100/patches/patch-lib_sdl_CMakeLists.txt:1.1
--- /dev/null   Fri Mar 27 08:31:02 2020
+++ pkgsrc/games/warzone2100/patches/patch-lib_sdl_CMakeLists.txt       Fri Mar 27 08:31:02 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_sdl_CMakeLists.txt,v 1.1 2020/03/27 08:31:02 nia Exp $
+
+Don't statically link SDL2.
+
+--- lib/sdl/CMakeLists.txt.orig        2019-08-31 18:17:22.000000000 +0000
++++ lib/sdl/CMakeLists.txt
+@@ -19,9 +19,7 @@ set(_sdl2_main_library)
+ # - and is required to properly link with a static SDL2 library (at least on Windows and macOS)
+ find_package(SDL2 ${SDL2_MIN_VERSION} CONFIG QUIET)
+ if(SDL2_FOUND)
+-      if (TARGET SDL2::SDL2-static)
+-              set(_sdl2_library SDL2::SDL2-static)
+-      elseif(TARGET SDL2::SDL2)
++      if(TARGET SDL2::SDL2)
+               set(_sdl2_library SDL2::SDL2)
+       else()
+               # Fall-back to FindSDL2 module (below)



Home | Main Index | Thread Index | Old Index