[getfem] 04/05: Link boost_system explicitly.

Anton Gladky gladk at alioth.debian.org
Sat Sep 14 17:19:53 UTC 2013


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

gladk pushed a commit to branch master
in repository getfem.

commit 843fa56c1bad2b0096162e4b1b7991f94330ef4c
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sat Sep 14 19:18:30 2013 +0200

    Link boost_system explicitly.
---
 debian/patches/01_link_boost-system.patch |   33 +++++++++++++++++++++++++++++
 debian/patches/series                     |    1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/01_link_boost-system.patch b/debian/patches/01_link_boost-system.patch
new file mode 100644
index 0000000..f6ca496
--- /dev/null
+++ b/debian/patches/01_link_boost-system.patch
@@ -0,0 +1,33 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -219,7 +219,7 @@
+ lib_LTLIBRARIES = libgetfem.la
+ libgetfem_la_SOURCES = $(SRC)
+ libgetfem_la_LDFLAGS = ${LIBTOOL_VERSION_INFO}
+-libgetfem_la_LIBADD = @SUPERLU_LIBS@ @MUMPS_LIBS@
++libgetfem_la_LIBADD = @SUPERLU_LIBS@ @MUMPS_LIBS@ -lboost_system
+ AM_CPPFLAGS = -I$(top_srcdir)/src -I../src -I$(top_srcdir)
+ 
+ CLEANFILES = ii_files/* *.o.d
+--- a/tests-2.0/Makefile.am
++++ b/tests-2.0/Makefile.am
+@@ -79,7 +79,7 @@
+ 
+ SUPLDFLAGS = @SUPLDFLAGS@
+ AM_CPPFLAGS = -I$(top_srcdir)/src -I../src
+-LDADD    = ../src/libgetfem.la -lm $(SUPLDFLAGS)
++LDADD    = ../src/libgetfem.la -lm $(SUPLDFLAGS) -lboost_system
+ 
+ #plasticity_LDADD = ../src/libgetfem.la -lm @SUPLDFLAGS@ $(HOME)/source++/SuperLU/superlu.a -lblas -lg2c
+ #plasticity_INCLUDES = $(INCLUDES) -I$(HOME)/source++/SuperLU/
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -105,7 +105,7 @@
+ 
+ SUPLDFLAGS = @SUPLDFLAGS@
+ AM_CPPFLAGS = -I$(top_srcdir)/src -I../src
+-LDADD    = ../src/libgetfem.la -lm $(SUPLDFLAGS)
++LDADD    = ../src/libgetfem.la -lm $(SUPLDFLAGS) -lboost_system
+ 
+ TESTS = \
+ 	$(abs_top_srcdir)/tests/dynamic_array.pl              \
diff --git a/debian/patches/series b/debian/patches/series
index b64f88c..7cb9159 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+01_link_boost-system.patch
 02_addgetfempath.diff
 03_disableXaccess.diff

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



More information about the debian-science-commits mailing list