Package: ratpoints Version: 2.1.3+dfsg-2 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer, In Ubuntu 14.04, the attached patch was applied to achieve the following: * Resolved FTBFS from linking order. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.8.0-33-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru ratpoints-2.1.3+dfsg/debian/patches/automake.patch ratpoints-2.1.3+dfsg/debian/patches/automake.patch --- ratpoints-2.1.3+dfsg/debian/patches/automake.patch 2013-07-28 18:25:01.000000000 -0400 +++ ratpoints-2.1.3+dfsg/debian/patches/automake.patch 2013-11-13 11:28:35.000000000 -0500 @@ -2,8 +2,10 @@ Date: Tue, 05 Feb 2013 Subject: Switch to automake, build a shared library using libtool ---- a/Makefile -+++ /dev/null +Index: ratpoints-2.1.3+dfsg/Makefile +=================================================================== +--- ratpoints-2.1.3+dfsg.orig/Makefile 2011-03-10 07:59:38.000000000 -0500 ++++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,139 +0,0 @@ -# ratpoints-2.1.3 -# - A program to find rational points on hyperelliptic curves @@ -144,9 +146,11 @@ - -find_points.h: gen_find_points_h - ./gen_find_points_h > find_points.h ---- /dev/null -+++ b/Makefile.am -@@ -0,0 +1,75 @@ +Index: ratpoints-2.1.3+dfsg/Makefile.am +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ ratpoints-2.1.3+dfsg/Makefile.am 2013-11-13 11:28:33.623763174 -0500 +@@ -0,0 +1,76 @@ +INCLUDES = -I$(top_srcdir) +AM_CFLAGS = $(GMP_FLAGS) $(SIMD_FLAGS) -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE +AM_LIBS = $(GMP_LIBS) $(LIBM) @@ -173,6 +177,7 @@ + $(top_srcdir)/primes.h \ + $(top_srcdir)/rp-private.h +libratpoints_la_LDFLAGS = -release 2.1.3 ++libratpoints_la_LIBADD = -lm + +include_HEADERS = ratpoints.h + @@ -222,8 +227,10 @@ +check-local: $(top_builddir)/rptest testbase + time $(top_builddir)/rptest > $(top_builddir)/rptest.out + cmp -s $(top_srcdir)/testbase $(top_builddir)/rptest.out || echo "Test failed!" ---- /dev/null -+++ b/configure.ac +Index: ratpoints-2.1.3+dfsg/configure.ac +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ ratpoints-2.1.3+dfsg/configure.ac 2013-11-13 11:15:18.000000000 -0500 @@ -0,0 +1,75 @@ +AC_INIT(ratpoints, 2.1.3) +AC_CANONICAL_TARGET