Package: ifrit / 3.4.2-1

03-link-gl.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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Explicitely link in libGL to fix FTBFS.
 There is probably a cleaner fix for this.
Debian-Bug: http://bugs.debian.org/713651
Author: Barry deFreese <bdefreese@debian.org>
Index: ifrit-3.4.2/build/CMakeLists.txt
===================================================================
--- ifrit-3.4.2.orig/build/CMakeLists.txt	2013-07-12 09:42:43.000000000 -0400
+++ ifrit-3.4.2/build/CMakeLists.txt	2013-07-12 10:56:33.000000000 -0400
@@ -237,14 +237,14 @@
 		ADD_DEFINITIONS(-DI_CUSTOM_VP1000)
 	ENDIF(tmp)
 ENDIF(CustomVP1000)
-
-IF(Extension:ART)
-	FILE(GLOB tmp ${src}/special/artio/*.c)
-	IF(tmp)
-		SET(sources ${sources} ${tmp})
-		INCLUDE_DIRECTORIES(${src}/special/artio)
-	ENDIF(tmp)
-ENDIF(Extension:ART)
+
+IF(Extension:ART)
+	FILE(GLOB tmp ${src}/special/artio/*.c)
+	IF(tmp)
+		SET(sources ${sources} ${tmp})
+		INCLUDE_DIRECTORIES(${src}/special/artio)
+	ENDIF(tmp)
+ENDIF(Extension:ART)
 
 #
 #  Create target
@@ -290,7 +290,7 @@
 #
 #  Add libraries
 #
-TARGET_LINK_LIBRARIES(${target} vtkFiltering vtkHybrid vtkRendering) 
+TARGET_LINK_LIBRARIES(${target} vtkFiltering vtkHybrid vtkRendering GL) 
 #
 #  Optional libraries
 #