[SCM] libzn-poly: library for polynomial arithmetic in Z/nZ[x] branch, master, updated. debian/0.9-2-2-g2cd14eb

Tobias Hansen tobias.han at gmx.de
Wed Mar 13 23:18:55 UTC 2013


The following commit has been merged in the master branch:
commit 9b2870f62922cb5bac708efa43c8a6df9949aa1b
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Wed Mar 13 23:56:28 2013 +0100

    Fix redefinition of ulong in header.

diff --git a/debian/changelog b/debian/changelog
index 5aaafa5..7f6c408 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libzn-poly (0.9-3) unstable; urgency=low
+
+  * debian/patches/fix_ulong_redefinition.patch:
+    Undefine ulong before defining it again in zn_poly.h.
+    (Closes: #702887)
+
+ -- Tobias Hansen <thansen at debian.org>  Wed, 13 Mar 2013 23:54:00 +0100
+
 libzn-poly (0.9-2) experimental; urgency=low
 
   * debian/patches/gcc-4.5-mips.patch:
diff --git a/debian/patches/fix_ulong_redefinition.patch b/debian/patches/fix_ulong_redefinition.patch
new file mode 100644
index 0000000..9876f02
--- /dev/null
+++ b/debian/patches/fix_ulong_redefinition.patch
@@ -0,0 +1,16 @@
+Description: Undefine ulong before defining it again.
+Author: Tobias Hansen <thansen at debian.org>
+Bug-Debian: http://bugs.debian.org/702887
+
+--- a/include/zn_poly.h
++++ b/include/zn_poly.h
+@@ -69,6 +69,9 @@
+ /*
+    I get really sick of typing unsigned long.
+ */
++#ifdef ulong
++#undef ulong
++#endif
+ typedef unsigned long  ulong;
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 0726a17..b88bf90 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 zn_poly_soname.patch
 gcc-4.5-mips.patch
+fix_ulong_redefinition.patch

-- 
libzn-poly: library for polynomial arithmetic in Z/nZ[x]



More information about the debian-science-commits mailing list