aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2012-03-14 23:18:38 +0800
committerVanilla I. Shu <vanilla@FreeBSD.org>2012-03-14 23:18:38 +0800
commit6f6afd5053b183b582273bcdcbc2d0585152f541 (patch)
treec48a7140720455556f1b52eaacbb559461628ffa
parente4d97d18b1b4f23d07de7b3f4ccb8fc7096ed150 (diff)
downloadfreebsd-ports-gnome-6f6afd5053b183b582273bcdcbc2d0585152f541.tar.gz
freebsd-ports-gnome-6f6afd5053b183b582273bcdcbc2d0585152f541.tar.zst
freebsd-ports-gnome-6f6afd5053b183b582273bcdcbc2d0585152f541.zip
Fix compile with libc++.
PR: ports/166011 Submitted by: Jan Beich <jbeich at tormail.net> Feature safe: yes
-rw-r--r--devel/protobuf/files/patch-src-google-protobuf-message.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/protobuf/files/patch-src-google-protobuf-message.cc b/devel/protobuf/files/patch-src-google-protobuf-message.cc
new file mode 100644
index 000000000000..441d8deb1b44
--- /dev/null
+++ b/devel/protobuf/files/patch-src-google-protobuf-message.cc
@@ -0,0 +1,10 @@
+--- src/google/protobuf/message.cc.orig 2012-03-14 23:11:12.000000000 +0800
++++ src/google/protobuf/message.cc 2012-03-14 23:11:26.000000000 +0800
+@@ -32,6 +32,7 @@
+ // Based on original Protocol Buffers design by
+ // Sanjay Ghemawat, Jeff Dean, and others.
+
++#include <iostream>
+ #include <stack>
+ #include <google/protobuf/stubs/hash.h>
+