Control: -1 tag + patch

Attached is a patch to solve the build problem, by adding -lm to the
linker line.

-- 
Happy hacking
Petter Reinholdtsen
diff -Nru oregano-0.70/debian/changelog oregano-0.70/debian/changelog
--- oregano-0.70/debian/changelog       2012-01-08 00:53:38.000000000 +0100
+++ oregano-0.70/debian/changelog       2013-07-13 13:38:27.000000000 +0200
@@ -1,3 +1,10 @@
+oregano (0.70-1.1) UNRELEASED; urgency=low
+
+  * New patch math-library.patch to make sure to link with -lm and
+    fix build failure (Closes: #71345).
+
+ -- pere <pere@pxeinstall>  Sat, 13 Jul 2013 13:37:55 +0200
+
 oregano (0.70-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru oregano-0.70/debian/patches/math-library.patch 
oregano-0.70/debian/patches/math-library.patch
--- oregano-0.70/debian/patches/math-library.patch      1970-01-01 
01:00:00.000000000 +0100
+++ oregano-0.70/debian/patches/math-library.patch      2013-07-13 
13:46:25.000000000 +0200
@@ -0,0 +1,15 @@
+Description: Make sure to link with -lm
+ Fix FTBFS with newer gcc version.
+Author: Petter Reinholdtsen <p...@hungry.com>
+Bug-Debian: http://bugs.debian.org/713450
+Forwarded: no
+Last-Update: 2013-07-13
+
+--- oregano-0.70.orig/src/Makefile.am
++++ oregano-0.70/src/Makefile.am
+@@ -99,4 +99,4 @@ oregano_SOURCES =    \
+       xml-helper.h
+ 
+ oregano_LDADD = \
+-      $(OREGANO_LIBS) 
++      $(OREGANO_LIBS) -lm
diff -Nru oregano-0.70/debian/patches/series oregano-0.70/debian/patches/series
--- oregano-0.70/debian/patches/series  2012-01-08 00:51:20.000000000 +0100
+++ oregano-0.70/debian/patches/series  2013-07-13 13:31:13.000000000 +0200
@@ -2,3 +2,4 @@
 format-security.patch
 missing.potfiles.patch
 remove.unneded.docs.patch
+math-library.patch

Reply via email to