summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-07-25 22:20:56 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-07-25 22:20:56 +0000
commit0a8257cfb3b1de40a8694491f806099c17bb5714 (patch)
tree8d778d4b53f5755543b867c6314107314fcfde7c /x11-libs/qwtplot3d/files
parentFix compilation with gcc-4.4; bug #276742 (diff)
downloadgentoo-2-0a8257cfb3b1de40a8694491f806099c17bb5714.tar.gz
gentoo-2-0a8257cfb3b1de40a8694491f806099c17bb5714.tar.bz2
gentoo-2-0a8257cfb3b1de40a8694491f806099c17bb5714.zip
Fix compilation with gcc-4.4; bug #272417
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/qwtplot3d/files')
-rw-r--r--x11-libs/qwtplot3d/files/qwtplot3d-gcc44.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-libs/qwtplot3d/files/qwtplot3d-gcc44.patch b/x11-libs/qwtplot3d/files/qwtplot3d-gcc44.patch
new file mode 100644
index 000000000000..a76fe831ab91
--- /dev/null
+++ b/x11-libs/qwtplot3d/files/qwtplot3d-gcc44.patch
@@ -0,0 +1,12 @@
+diff -ur qwtplot3d-orig/include/qwt3d_function.h qwtplot3d/include/qwt3d_function.h
+--- qwtplot3d-orig/include/qwt3d_function.h 2009-07-25 18:18:58.000000000 -0400
++++ qwtplot3d/include/qwt3d_function.h 2009-07-25 18:19:19.000000000 -0400
+@@ -2,6 +2,7 @@
+ #define qwt3d_function_h__2004_03_05_13_51_begin_guarded_code
+
+ #include "qwt3d_gridmapping.h"
++#include <cstdio>
+
+ namespace Qwt3D
+ {
+Only in qwtplot3d/tmp: qwt3d_function.o