pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/warzone2100 warzone2100: Don't attempt to static...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7db385ddff11
branches:  trunk
changeset: 414433:7db385ddff11
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 27 08:31:02 2020 +0000

description:
warzone2100: Don't attempt to statically link SDL2

diffstat:

 games/warzone2100/distinfo                             |   3 ++-
 games/warzone2100/patches/patch-lib_sdl_CMakeLists.txt |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 3e33758db0c1 -r 7db385ddff11 games/warzone2100/distinfo
--- a/games/warzone2100/distinfo        Fri Mar 27 08:07:27 2020 +0000
+++ b/games/warzone2100/distinfo        Fri Mar 27 08:31:02 2020 +0000
@@ -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-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
diff -r 3e33758db0c1 -r 7db385ddff11 games/warzone2100/patches/patch-lib_sdl_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/warzone2100/patches/patch-lib_sdl_CMakeLists.txt    Fri Mar 27 08:31:02 2020 +0000
@@ -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