Hi folks,

I hit a problem installing mosh on OS X 10.9 via fink stable, because
protobuf 2.4.1 wouldn't build.

After a bit of research, I discovered that protobuf 2.4.1 needs a minor
fix to build using clang and libc++ (the OS X 10.9 c++ compiler and
library), and I've attached a patch with the fix.  I based the fix
on examining the protobuf head svn sources.

I'm a relative newcomer to fink, and I'm trialling migrating to it
from another packaging system, so I haven't subscribed to any lists
yet.  Please let me know if there's a more appropriate method to report
this fix.

regards,
Luke.


diff -Nurd -x'*~' protobuf-2.4.1-orig/src/google/protobuf/message.cc 
protobuf-2.4.1/src/google/protobuf/message.cc
--- protobuf-2.4.1-orig/src/google/protobuf/message.cc  2011-05-01 
03:22:04.000000000 +1000
+++ protobuf-2.4.1/src/google/protobuf/message.cc       2013-12-26 
20:26:10.000000000 +1100
@@ -32,6 +32,7 @@
 //  Based on original Protocol Buffers design by
 //  Sanjay Ghemawat, Jeff Dean, and others.
 
+#include <istream>
 #include <stack>
 #include <google/protobuf/stubs/hash.h>
 

Attachment: pgpHXNlm42FTL.pgp
Description: PGP signature

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to