Package: supertuxkart / 0.8.1-2

link_against_system_libs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Link against system copies of zlib/libpng/libjpeg/bzip2
Forwarded: not-yet
Author: Vincent Cheng <Vincentc1208@gmail.com>
Last-Update: 2012-12-29

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -231,7 +231,13 @@
     ${OGGVORBIS_LIBRARIES}
     ${IRRLICHT_XF86VM_LIBRARY}
     ${OPENAL_LIBRARY}
-    ${OPENGL_LIBRARIES})
+    ${OPENGL_LIBRARIES}
+    X11
+    z
+    png
+    jpeg
+    bz2
+)
 
 if(APPLE)
     # In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has