aboutsummaryrefslogtreecommitdiff
path: root/x11/virtualgl/files/patch-common__CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'x11/virtualgl/files/patch-common__CMakeLists.txt')
-rw-r--r--x11/virtualgl/files/patch-common__CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/virtualgl/files/patch-common__CMakeLists.txt b/x11/virtualgl/files/patch-common__CMakeLists.txt
new file mode 100644
index 000000000000..1f368152a571
--- /dev/null
+++ b/x11/virtualgl/files/patch-common__CMakeLists.txt
@@ -0,0 +1,11 @@
+--- ./common/CMakeLists.txt.orig 2011-12-23 19:15:16.000000000 +0000
++++ ./common/CMakeLists.txt 2014-08-10 17:43:04.000000000 +0100
+@@ -4,6 +4,8 @@
+
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+
++ADD_DEFINITIONS(-fPIC)
++
+ add_library(rrframe STATIC rrframe.cpp)
+ target_link_libraries(rrframe rrutil ${TJPEG_LIBRARY})
+