pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/cannonball/patches emulators/cannonball: Rem...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11d16d2a22b2
branches:  trunk
changeset: 403221:11d16d2a22b2
user:      fox <fox%pkgsrc.org@localhost>
date:      Thu Oct 24 00:36:07 2019 +0000

description:
emulators/cannonball: Removes the patch (missed in the last commit).

- Removes patch that has been merged upstream.

diffstat:

 emulators/cannonball/patches/patch-cmake_bsd.cmake |  35 ----------------------
 1 files changed, 0 insertions(+), 35 deletions(-)

diffs (39 lines):

diff -r 9377df0c320d -r 11d16d2a22b2 emulators/cannonball/patches/patch-cmake_bsd.cmake
--- a/emulators/cannonball/patches/patch-cmake_bsd.cmake        Thu Oct 24 00:32:36 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-$NetBSD: patch-cmake_bsd.cmake,v 1.1 2019/10/23 00:21:26 fox Exp $
-
-Support building with SDL2 instead of SDL.
-
---- cmake/bsd.cmake.orig       2019-09-24 11:04:39.000000000 +0000
-+++ cmake/bsd.cmake
-@@ -4,12 +4,12 @@ set(lib_base ${BSD_PREFIX_PATH}/include)
- 
- set(BOOST_INCLUDEDIR ${lib_base})
- 
--set(sdl_root ${lib_base}/SDL)
-+set(sdl_root ${lib_base}/SDL2)
- 
- include_directories("${sdl_root}")
- 
- link_libraries(cannonball
--    SDL
-+    SDL2
- )
- 
- # Linking
-@@ -17,7 +17,12 @@ link_directories(
-     "${BSD_PREFIX_PATH}/lib"
- )
- 
-+add_definitions(-O3 -DSDL2)
-+
- # Location for Cannonball to create save files
- # Used to auto-generate setup.hpp with various file paths
- set(xml_directory ./)
--set(sdl_flags "SDL_DOUBLEBUF | SDL_SWSURFACE")
-+set(sdl_flags "SDL_WINDOW_RESIZABLE")
-+
-+# Set SDL2 instead of SDL1
-+set(SDL2 1)



Home | Main Index | Thread Index | Old Index