diff options
author | fox <fox@pkgsrc.org> | 2019-10-24 00:36:07 +0000 |
---|---|---|
committer | fox <fox@pkgsrc.org> | 2019-10-24 00:36:07 +0000 |
commit | cd5588b47c620a6393d470e38123dd9e439f014a (patch) | |
tree | de4e15f4c25a834bfe90f01505df0e033b22c10e /emulators | |
parent | 47341910455f67e41a7cd34a5dd965b55ed0ec12 (diff) | |
download | pkgsrc-cd5588b47c620a6393d470e38123dd9e439f014a.tar.gz |
emulators/cannonball: Removes the patch (missed in the last commit).
- Removes patch that has been merged upstream.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/cannonball/patches/patch-cmake_bsd.cmake | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/emulators/cannonball/patches/patch-cmake_bsd.cmake b/emulators/cannonball/patches/patch-cmake_bsd.cmake deleted file mode 100644 index 9cbff7ec707..00000000000 --- a/emulators/cannonball/patches/patch-cmake_bsd.cmake +++ /dev/null @@ -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) |