summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-08 17:58:37 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-08 17:58:37 +0000
commitde3043ce9c51610c6677f5be27736831409e14e3 (patch)
treec3053d8a080d1b5a6c0c9c6a67e32d792d097f14 /sci-libs/libdap/files/libdap-3.11.3-gcc-4.7.patch
parentsparc stable, add ~sparc (diff)
downloadgentoo-2-de3043ce9c51610c6677f5be27736831409e14e3.tar.gz
gentoo-2-de3043ce9c51610c6677f5be27736831409e14e3.tar.bz2
gentoo-2-de3043ce9c51610c6677f5be27736831409e14e3.zip
sci-libs/libdap: Add fix for gcc-4.7, #425244; move to autotools-utils.eclass
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/libdap/files/libdap-3.11.3-gcc-4.7.patch')
-rw-r--r--sci-libs/libdap/files/libdap-3.11.3-gcc-4.7.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/libdap/files/libdap-3.11.3-gcc-4.7.patch b/sci-libs/libdap/files/libdap-3.11.3-gcc-4.7.patch
new file mode 100644
index 000000000000..0ea034124ceb
--- /dev/null
+++ b/sci-libs/libdap/files/libdap-3.11.3-gcc-4.7.patch
@@ -0,0 +1,15 @@
+ ResponseBuilder.cc | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/ResponseBuilder.cc b/ResponseBuilder.cc
+index 1135678..0356172 100644
+--- a/ResponseBuilder.cc
++++ b/ResponseBuilder.cc
+@@ -41,6 +41,7 @@ static char rcsid[] not_used = { "$Id: ResponseBuilder.cc 23477 2010-09-02 21:02
+ #include <string>
+ #include <sstream>
+ #include <cstring>
++#include <unistd.h>
+
+ #include <uuid/uuid.h> // used to build CID header value for data ddx
+ #include "DAS.h"