summaryrefslogtreecommitdiff
path: root/sci-libs/indilib/files/0.9.6-fix-zlib-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/indilib/files/0.9.6-fix-zlib-link.patch')
-rw-r--r--sci-libs/indilib/files/0.9.6-fix-zlib-link.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/sci-libs/indilib/files/0.9.6-fix-zlib-link.patch b/sci-libs/indilib/files/0.9.6-fix-zlib-link.patch
new file mode 100644
index 0000000..d833bc4
--- /dev/null
+++ b/sci-libs/indilib/files/0.9.6-fix-zlib-link.patch
@@ -0,0 +1,57 @@
+
+--- libindi-0.9.6/CMakeLists.txt 2012-11-19 21:39:14.000000000 +0100
++++ libindi-0.9.6_new/CMakeLists.txt 2012-12-01 19:54:47.199396572 +0100
+@@ -633,7 +633,7 @@
+
+ add_executable(tutorial_one ${tutorialone_SRCS})
+
+-target_link_libraries(tutorial_one indidriver m)
++target_link_libraries(tutorial_one indidriver m ${ZLIB_LIBRARIES})
+
+ ########### Tutorial two ##############
+ set(tutorialtwo_SRCS
+@@ -643,7 +643,7 @@
+
+ add_executable(tutorial_two ${tutorialtwo_SRCS})
+
+-target_link_libraries(tutorial_two indidriver m)
++target_link_libraries(tutorial_two indidriver m ${ZLIB_LIBRARIES})
+
+ ########### Tutorial three ##############
+ if (CFITSIO_FOUND)
+@@ -654,7 +654,7 @@
+
+ add_executable(tutorial_three ${tutorialthree_SRCS})
+
+-target_link_libraries(tutorial_three indidriver m)
++target_link_libraries(tutorial_three indidriver m ${ZLIB_LIBRARIES})
+ endif (CFITSIO_FOUND)
+ ########### Tutorial four ##############
+ set(tutorialfour_SRCS
+@@ -664,7 +664,7 @@
+
+ add_executable(tutorial_four ${tutorialfour_SRCS})
+
+-target_link_libraries(tutorial_four indidriver m)
++target_link_libraries(tutorial_four indidriver m ${ZLIB_LIBRARIES})
+
+ ########### Tutorial five - dome driver ##############
+ set(tutorialdome_SRCS
+@@ -674,7 +674,7 @@
+
+ add_executable(tutorial_dome ${tutorialdome_SRCS})
+
+-target_link_libraries(tutorial_dome indidriver)
++target_link_libraries(tutorial_dome indidriver ${ZLIB_LIBRARIES})
+
+ ########### Tutorial five - rain driver ##############
+ set(tutorialrain_SRCS
+@@ -684,7 +684,7 @@
+
+ add_executable(tutorial_rain ${tutorialrain_SRCS})
+
+-target_link_libraries(tutorial_rain indidriver)
++target_link_libraries(tutorial_rain indidriver ${ZLIB_LIBRARIES})
+
+ ########### Client Tutorial ##############
+ set(tutorialclient_SRCS \ No newline at end of file