summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch')
-rw-r--r--sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch b/sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch
new file mode 100644
index 000000000000..a6be5587d3e0
--- /dev/null
+++ b/sci-libs/levmar/files/levmar-2.6-demo-underlinking.patch
@@ -0,0 +1,12 @@
+diff -urN levmar-2.6.old/CMakeLists.txt levmar-2.6/CMakeLists.txt
+--- levmar-2.6.old/CMakeLists.txt 2014-08-07 18:22:25.739008113 +0200
++++ levmar-2.6/CMakeLists.txt 2014-08-07 18:22:36.050014845 +0200
+@@ -67,7 +67,7 @@
+
+ # demo program
+ IF(BUILD_DEMO)
+- SET(LIBS levmar)
++ SET(LIBS levmar m)
+
+ LINK_DIRECTORIES(${CMAKE_BINARY_DIR}) # location of the levmar library
+ LINK_DIRECTORIES(${LAPACKBLAS_DIR})