From: | "Mark Loeser (halcy0n)" <halcy0n@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/freemat/files: freemat-3.6-gcc44.patch |
Date: | Sat, 25 Jul 2009 02:31:18 |
Message-Id: | E1MUX2a-0000P7-7c@stork.gentoo.org |
1 | halcy0n 09/07/25 02:31:16 |
2 | |
3 | Added: freemat-3.6-gcc44.patch |
4 | Log: |
5 | Patch to fix compilation with gcc-4.4 by Martin Väth <vaeth AT mathematik.uni-wuerzburg DOT de>; bug #269278 |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-mathematics/freemat/files/freemat-3.6-gcc44.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/freemat/files/freemat-3.6-gcc44.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: freemat-3.6-gcc44.patch |
15 | =================================================================== |
16 | --- configure.in |
17 | +++ configure.in |
18 | @@ -64,6 +64,7 @@ |
19 | platform="--linux" |
20 | MP_WITH_CURSES |
21 | LIBS="$LIBS $CURSES_LIB $FLIBS $QT_LIBS" |
22 | + LIBS="$LIBS -lGLU" |
23 | fi |
24 | |
25 | if (test "$cross_compiling" = "yes"); then |
26 | --- libs/libFreeMat/IEEEFP.cpp |
27 | +++ libs/libFreeMat/IEEEFP.cpp |
28 | @@ -17,6 +17,7 @@ |
29 | * |
30 | */ |
31 | #include "IEEEFP.hpp" |
32 | +#include <cstdio> |
33 | |
34 | static bool endianDetected = false; |
35 | static bool bigEndian = false; |