[lrcalc] 01/02: Build with salloc.c and fix lrcalc.manpages.
Tobias Hansen
thansen at alioth.debian.org
Wed Aug 14 21:46:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository lrcalc.
commit 534c6f337d16302e651d86b9f8f8db1f11f0c2c6
Author: Tobias Hansen <tobias.han at gmx.de>
Date: Wed Aug 14 23:47:25 2013 +0200
Build with salloc.c and fix lrcalc.manpages.
---
debian/lrcalc.manpages | 6 +-----
debian/patches/build-with-salloc.c.patch | 11 +++++++++++
debian/patches/series | 1 +
debian/rules | 1 +
4 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/debian/lrcalc.manpages b/debian/lrcalc.manpages
index d05144e..4e2e3fa 100644
--- a/debian/lrcalc.manpages
+++ b/debian/lrcalc.manpages
@@ -1,5 +1 @@
-debian/coprod.1
-debian/lrcoef.1
-debian/mult.1
-debian/schubmult.1
-debian/skew.1
+debian/lrcalc.1
diff --git a/debian/patches/build-with-salloc.c.patch b/debian/patches/build-with-salloc.c.patch
new file mode 100644
index 0000000..a062dcd
--- /dev/null
+++ b/debian/patches/build-with-salloc.c.patch
@@ -0,0 +1,11 @@
+Description: Build with salloc.c instead of alloc.c
+ * This causes liblrcalc to clean up the memory if an "out of memory"
+ error occurs. See ChangeLog entry for version 1.1.7.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/mathlib/Makefile.am
++++ b/mathlib/Makefile.am
+@@ -1,2 +1,2 @@
+ noinst_LTLIBRARIES = libmath.la
+-libmath_la_SOURCES = alloc.c hashtab.c list.c set.c vectarg.c vector.c
++libmath_la_SOURCES = salloc.c hashtab.c list.c set.c vectarg.c vector.c
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..93c35a7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build-with-salloc.c.patch
diff --git a/debian/rules b/debian/rules
index a94835d..9e43670 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+export DEB_CFLAGS_MAINT_APPEND=-DSAGE
%:
dh $@ --with autoreconf --parallel
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lrcalc.git
More information about the debian-science-commits
mailing list