summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-06 14:50:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-06 14:50:37 +0000
commit26b1ecccef38c680170ee1528258ca68cedfffc0 (patch)
treed724c8423081c19d79fcb30233eee20add759c40 /dev-libs/poco/files
parentRemove old, migrate 0.11 to eapi-2 with use deps, check for X useflag in PyQt... (diff)
downloadhistorical-26b1ecccef38c680170ee1528258ca68cedfffc0.tar.gz
historical-26b1ecccef38c680170ee1528258ca68cedfffc0.tar.bz2
historical-26b1ecccef38c680170ee1528258ca68cedfffc0.zip
Fix compile with GCC 4.4 wrt #269751, thanks to Peter Alfredsen and Victor Ostorga.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/poco/files')
-rw-r--r--dev-libs/poco/files/1.3.3_p1-gcc44.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/poco/files/1.3.3_p1-gcc44.patch b/dev-libs/poco/files/1.3.3_p1-gcc44.patch
new file mode 100644
index 000000000000..990aff1c4b61
--- /dev/null
+++ b/dev-libs/poco/files/1.3.3_p1-gcc44.patch
@@ -0,0 +1,16 @@
+diff -NrU5 poco-1.3.3p1-all.orig/Foundation/src/Environment.cpp poco-1.3.3p1-all/Foundation/src/Environment.cpp
+--- poco-1.3.3p1-all.orig/Foundation/src/Environment.cpp 2009-05-15 20:44:37.000000000 -0600
++++ poco-1.3.3p1-all/Foundation/src/Environment.cpp 2009-05-15 20:46:12.000000000 -0600
+@@ -34,11 +34,11 @@
+ //
+
+
+ #include "Poco/Environment.h"
+ #include <cstdlib>
+-
++#include <cstdio>
+
+ #if defined(POCO_OS_FAMILY_VMS)
+ #include "Environment_VMS.cpp"
+ #elif defined(POCO_OS_FAMILY_UNIX)
+ #include "Environment_UNIX.cpp"