[graywolf] 01/01: Link library with libraries

Ruben Undheim rubund-guest at moszumanska.debian.org
Wed Jul 22 17:14:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository graywolf.

commit e74d12c3ce143a85dcbbf2a6b0a85659b989a511
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Wed Jul 22 19:12:10 2015 +0200

    Link library with libraries
---
 debian/patches/03_link_library.patch | 17 +++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/03_link_library.patch b/debian/patches/03_link_library.patch
new file mode 100644
index 0000000..bfc4100
--- /dev/null
+++ b/debian/patches/03_link_library.patch
@@ -0,0 +1,17 @@
+Description: The library should also be linked with libx11
+Forwarded: will do
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+Index: graywolf/src/Ylib/CMakeLists.txt
+===================================================================
+--- graywolf.orig/src/Ylib/CMakeLists.txt	2015-07-22 19:09:51.517261921 +0200
++++ graywolf/src/Ylib/CMakeLists.txt	2015-07-22 19:09:57.644233189 +0200
+@@ -5,6 +5,9 @@
+ 
+ add_library(ycadgraywolf SHARED assign.c buster.c cleanup.c colors.c deck.c dialog.c draw.c dset.c edcolors.c file.c getftime.c graph.c grid.c hash.c heap.c list.c log.c matrix.c menus.c message.c mst.c mytime.c okmalloc.c path.c plot.c program.c project.c queue.c quicksort.c radixsort.c rand.c rbtree.c relpath.c set.c stat.c stats.c string.c svd.c system.c time.c timer.c trans.c wgraphics.c ydebug.c yreadpar.c )
+ 
++target_link_libraries(ycadgraywolf X11)
++target_link_libraries(ycadgraywolf m)
++
+ set_target_properties(ycadgraywolf PROPERTIES VERSION 0.0.0 SOVERSION 0)
+ 
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
diff --git a/debian/patches/series b/debian/patches/series
index 208a9d2..6581490 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_no_rpath_in_debian_package.patch
 02_dont_create_link.patch
+03_link_library.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/graywolf.git



More information about the debian-science-commits mailing list