diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-05-10 22:15:44 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-05-10 22:16:12 +0100 |
commit | ff98ec6d084ecd9f5f6186c69c01fd09b6042e2e (patch) | |
tree | ead50b8cc3cfc792db353f2e5262f42e172b9398 /games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch | |
parent | games-action/supertuxkart: EAPI 7 (diff) | |
download | gentoo-ff98ec6d084ecd9f5f6186c69c01fd09b6042e2e.tar.gz gentoo-ff98ec6d084ecd9f5f6186c69c01fd09b6042e2e.tar.bz2 gentoo-ff98ec6d084ecd9f5f6186c69c01fd09b6042e2e.zip |
games-action/supertuxkart: Drop old 0.9.3
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch')
-rw-r--r-- | games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch b/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch deleted file mode 100644 index 8c00fce7e186..000000000000 --- a/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch +++ /dev/null @@ -1,57 +0,0 @@ -Description: Build supertuxkart against system enet instead of embedded copy -Forwarded: not-yet -Author: Vincent Cheng <vcheng@debian.org> -Last-Update: 2016-07-17 - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -105,9 +105,9 @@ - add_subdirectory("${PROJECT_SOURCE_DIR}/lib/bullet") - include_directories("${PROJECT_SOURCE_DIR}/lib/bullet/src") - --# Build the ENet UDP network library --add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet") --include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include") -+# ENet -+find_package(ENet REQUIRED) -+include_directories(${ENET_INCLUDE_DIR}) - - # Build glew library - if(NOT USE_GLES2 AND NOT SERVER_ONLY) -@@ -406,10 +406,10 @@ - bulletdynamics - bulletcollision - bulletmath -- enet - stkirrlicht - ${Angelscript_LIBRARIES} - ${CURL_LIBRARIES} -+ ${ENET_LIBRARIES} - ${OGGVORBIS_LIBRARIES} - ${OPENAL_LIBRARY} - ${FREETYPE_LIBRARIES} ---- /dev/null -+++ b/cmake/FindENet.cmake -@@ -0,0 +1,22 @@ -+# - Find ENet -+# Find the ENet includes and libraries -+# -+# Following variables are provided: -+# ENET_FOUND -+# True if ENet has been found -+# ENET_INCLUDE_DIR -+# The include directories of ENet -+# ENET_LIBRARIES -+# ENet library list -+ -+ -+find_path(ENET_INCLUDE_DIR enet/enet.h /usr/include) -+find_library(ENET_LIBRARY NAMES enet PATHS /usr/lib) -+ -+include(FindPackageHandleStandardArgs) -+find_package_handle_standard_args(ENet DEFAULT_MSG ENET_INCLUDE_DIR ENET_LIBRARY) -+ -+# Publish variables -+set(ENET_INCLUDE_DIRS ${ENET_INCLUDE_DIR}) -+set(ENET_LIBRARIES ${ENET_LIBRARY}) -+mark_as_advanced(ENET_INCLUDE_DIR ENET_LIBRARY) |