[flint] 02/04: Added patch from Mattia Rizzolo for hurd compilation and prepared changelog

Julien Puydt julien.puydt at laposte.net
Thu Jul 7 20:59:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository flint.

commit e3de51a766242b6d64a804cc38f2595977991ae5
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Jul 7 22:14:16 2016 +0200

    Added patch from Mattia Rizzolo for hurd compilation and prepared changelog
---
 debian/changelog      | 12 +++++++++++-
 debian/patches/hurd   | 15 +++++++++++++++
 debian/patches/series |  1 +
 flint.h               |  2 +-
 4 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 05306e4..d25753c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,16 @@
+flint (2.5.2-6) UNRELEASED; urgency=medium
+
+  [ Mattia Rizzolo ]
+  * Add patch to fix compilation on hurd.
+
+  [ Julien Puydt ]
+  * Remove -ansi flag from compilation line to fix compilation on MIPS.
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Thu, 07 Jul 2016 22:12:43 +0200
+
 flint (2.5.2-5) unstable; urgency=medium
 
-  * Upload to unstable (Closes: #823462). 
+  * Upload to unstable (Closes: #823462).
   * Bump standards-version up.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Fri, 13 May 2016 09:23:33 +0200
diff --git a/debian/patches/hurd b/debian/patches/hurd
new file mode 100644
index 0000000..f89d885
--- /dev/null
+++ b/debian/patches/hurd
@@ -0,0 +1,15 @@
+Author: Mattia Rizzolo
+Description: Fixing the compilation on the hurd
+Forwarded: yes
+
+--- a/flint.h
++++ b/flint.h
+@@ -35,7 +35,7 @@
+ #include <mpfr.h>
+ #include <stdio.h>
+ #include <stdlib.h> /* for alloca on FreeBSD */
+-#if !defined(BSD) && !defined(__MINGW64__) && !defined(__MINGW32__) && !defined(_MSC_VER)
++#if (!defined(BSD) && !defined(__MINGW64__) && !defined(__MINGW32__) && !defined(_MSC_VER)) || defined(__GNU__)
+ /* MinGW and FreeBSD have alloca, but not alloca.h */
+ #include <alloca.h>
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 19ab13a..dedfb51 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fixed-latex-manual-compilation.patch
+hurd
diff --git a/flint.h b/flint.h
index b1a3250..98c30d9 100644
--- a/flint.h
+++ b/flint.h
@@ -35,7 +35,7 @@
 #include <mpfr.h>
 #include <stdio.h>
 #include <stdlib.h> /* for alloca on FreeBSD */
-#if !defined(BSD) && !defined(__MINGW64__) && !defined(__MINGW32__) && !defined(_MSC_VER)
+#if (!defined(BSD) && !defined(__MINGW64__) && !defined(__MINGW32__) && !defined(_MSC_VER)) || defined(__GNU__)
 /* MinGW and FreeBSD have alloca, but not alloca.h */
 #include <alloca.h>
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flint.git



More information about the debian-science-commits mailing list