Package: flint / 2.5.2-19

hurd Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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