summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-24 18:23:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-24 18:23:17 +0000
commit694d8f7e3ee6a87b834e0de426963683f72ac723 (patch)
treea516f24832f9dfb4cde9325edc41d358f18ec306 /dev-cpp/tclap/files
parentStable on amd64/x86 (diff)
downloadhistorical-694d8f7e3ee6a87b834e0de426963683f72ac723.tar.gz
historical-694d8f7e3ee6a87b834e0de426963683f72ac723.tar.bz2
historical-694d8f7e3ee6a87b834e0de426963683f72ac723.zip
Fix building with GCC 4.4 wrt #277731.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp/tclap/files')
-rw-r--r--dev-cpp/tclap/files/tclap-1.1.0-gcc44.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-cpp/tclap/files/tclap-1.1.0-gcc44.patch b/dev-cpp/tclap/files/tclap-1.1.0-gcc44.patch
new file mode 100644
index 000000000000..b13a91123509
--- /dev/null
+++ b/dev-cpp/tclap/files/tclap-1.1.0-gcc44.patch
@@ -0,0 +1,24 @@
+diff -ur tclap-1.1.0.orig/include/tclap/MultiArg.h tclap-1.1.0/include/tclap/MultiArg.h
+--- tclap-1.1.0.orig/include/tclap/MultiArg.h 2005-09-11 02:25:43.000000000 +0300
++++ tclap-1.1.0/include/tclap/MultiArg.h 2009-07-24 21:20:59.000000000 +0300
+@@ -23,6 +23,8 @@
+ #ifndef TCLAP_MULTIPLE_ARGUMENT_H
+ #define TCLAP_MULTIPLE_ARGUMENT_H
+
++#include <cstdio>
++
+ #include <string>
+ #include <vector>
+
+diff -ur tclap-1.1.0.orig/include/tclap/ValueArg.h tclap-1.1.0/include/tclap/ValueArg.h
+--- tclap-1.1.0.orig/include/tclap/ValueArg.h 2005-09-11 02:25:43.000000000 +0300
++++ tclap-1.1.0/include/tclap/ValueArg.h 2009-07-24 21:20:46.000000000 +0300
+@@ -23,6 +23,8 @@
+ #ifndef TCLAP_VALUE_ARGUMENT_H
+ #define TCLAP_VALUE_ARGUMENT_H
+
++#include <cstdio>
++
+ #include <string>
+ #include <vector>
+