summaryrefslogtreecommitdiff
path: root/games/megaglest/megaglest-underlink.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2016-08-05 10:12:01 -0700
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:51 +0100
commit6d9443a32478ddbe97e3a227c01b364741146951 (patch)
tree4df92e8a7ab6f95c18dccfb791b7c628cca1d319 /games/megaglest/megaglest-underlink.patch
parent1db7393829e0aa87677a4fd6b02cd956bc7eb166 (diff)
downloadslackbuilds-6d9443a32478ddbe97e3a227c01b364741146951.tar.gz
games/megaglest: Updated for version 3.12.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'games/megaglest/megaglest-underlink.patch')
-rw-r--r--games/megaglest/megaglest-underlink.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/megaglest/megaglest-underlink.patch b/games/megaglest/megaglest-underlink.patch
new file mode 100644
index 0000000000..0a03f693fb
--- /dev/null
+++ b/games/megaglest/megaglest-underlink.patch
@@ -0,0 +1,12 @@
+diff -up megaglest-3.12.0/source/shared_lib/CMakeLists.txt.orig megaglest-3.12.0/source/shared_lib/CMakeLists.txt
+--- megaglest-3.12.0/source/shared_lib/CMakeLists.txt.orig 2016-06-24 07:40:18.704508869 -0300
++++ megaglest-3.12.0/source/shared_lib/CMakeLists.txt 2016-06-24 07:40:49.689510832 -0300
+@@ -76,7 +76,7 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER OR BUILD
+ FIND_PACKAGE(OpenGL REQUIRED)
+ INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
+ IF(UNIX)
+- SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${OPENGL_LIBRARY})
++ SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${OPENGL_LIBRARY} -lX11)
+ ENDIF()
+
+ FIND_PACKAGE(X11 REQUIRED)