[SCM] libzn-poly: library for polynomial arithmetic in Z/nZ[x] branch, master, updated. upstream/0.9-12-gd4e7c10

Tobias Hansen tobias.han at gmx.de
Thu Dec 20 21:35:20 UTC 2012


The following commit has been merged in the master branch:
commit 2e2c2a52883d51ff494021d3d6254417f638b4bb
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Thu Dec 20 21:54:55 2012 +0100

    Start refreshing patches.

diff --git a/debian/patches/gcc-4.5-mips.patch b/debian/patches/gcc-4.5-mips.patch
index eacd883..dda26c4 100644
--- a/debian/patches/gcc-4.5-mips.patch
+++ b/debian/patches/gcc-4.5-mips.patch
@@ -8,9 +8,9 @@ The patch below fixes the problem by using standard multiplication
 instead of assembly code. I have also included the code for MIPS64 using
 128-bit hints for reference, though it is not used in Debian.
 
---- libzn-poly-0.8.orig/wide_arith.h
-+++ libzn-poly-0.8/wide_arith.h
-@@ -244,14 +244,23 @@
+--- a/include/wide_arith.h
++++ b/include/wide_arith.h
+@@ -247,14 +247,23 @@
  #if (UNSIGNED_LONG_BITS == 32)
  
  #define ZNP_MUL_WIDE(hi, lo, a, b)                                            \
diff --git a/debian/rules b/debian/rules
index 1add16e..32bb596 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 override_dh_auto_configure:
 	dh_auto_configure -- --gmp-prefix="/usr" --ntl-prefix="/usr" \
-            --prefix="$(DEB_DESTDIR)/usr" --cflags="$(CFLAGS)"
+            --prefix="$(DEB_DESTDIR)/usr" --cflags="$(CFLAGS) -fPIC"
 
-#common-build-arch::
-#	+$(DEB_MAKE_INVOKE) libzn_poly.so
+override_dh_auto_make:
+	dh_auto_make libzn_poly.so

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



More information about the debian-science-commits mailing list