[med-svn] [fsm-lite] 02/03: Support more architectures
Andreas Tille
tille at debian.org
Sun May 15 07:53:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository fsm-lite.
commit 50976d4c04229b9b812666211db7760983559e7d
Author: Andreas Tille <tille at debian.org>
Date: Sun May 15 09:48:29 2016 +0200
Support more architectures
---
debian/changelog | 7 +++++++
debian/patches/fix_makefile.patch | 31 +++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 39 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 9c1d64a..b71db0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+fsm-lite (1.0-2) UNRELEASED; urgency=medium
+
+ * Support more architectures
+ Closes: #824368
+
+ -- Andreas Tille <tille at debian.org> Sun, 15 May 2016 09:04:46 +0200
+
fsm-lite (1.0-1) unstable; urgency=medium
* Initial release (Closes: #820854)
diff --git a/debian/patches/fix_makefile.patch b/debian/patches/fix_makefile.patch
new file mode 100644
index 0000000..6ff02c6
--- /dev/null
+++ b/debian/patches/fix_makefile.patch
@@ -0,0 +1,31 @@
+Description: Support more architectures
+Bug-Debian: http://bugs.debian.org/824368
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 15 May 2016 09:04:46 +0200
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,11 +1,11 @@
+-SDSL_INSTALL_PREFIX=${HOME}/software
+-
+-CPPFLAGS=-std=c++11 -I$(SDSL_INSTALL_PREFIX)/include -DNDEBUG -O3 -msse4.2
++CPPFLAGS+=-DNDEBUG
++CXXFLAGS+=-std=c++11
++# -O3 -msse4.2
+ LIBS=-lsdsl -ldivsufsort -ldivsufsort64
+ OBJ = configuration.o input_reader.o fsm-lite.o
+
+ fsm-lite: $(OBJ)
+- $(LINK.cpp) $^ -L$(SDSL_INSTALL_PREFIX)/lib $(LIBS) -o $@
++ $(LINK.cpp) $^ $(LIBS) -o $@
+
+ test: fsm-lite
+ ./fsm-lite -l test.list -t tmp -v --debug -m 1
+@@ -14,6 +14,6 @@ clean:
+ $(RM) fsm-lite *.o *~
+
+ depend:
+- g++ -MM -std=c++11 -I$(SDSL_INSTALL_PREFIX)/include *.cpp > dependencies.mk
++ g++ -MM $(CXXFLAGS) *.cpp > dependencies.mk
+
+ include dependencies.mk
diff --git a/debian/patches/series b/debian/patches/series
index c160ee0..7a8d78e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
use_debian_packaged_libsdsl.patch
+fix_makefile.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fsm-lite.git
More information about the debian-med-commit
mailing list