svn commit: r354799 - head/devel/commoncpp/files

Martin Wilke miwi at FreeBSD.org
Thu May 22 08:02:52 UTC 2014


Author: miwi
Date: Thu May 22 08:02:51 2014
New Revision: 354799
URL: http://svnweb.freebsd.org/changeset/ports/354799
QAT: https://qat.redports.org/buildarchive/r354799/

Log:
  - Fix build
  
  PR:		188658
  Submitted by:	swills
  Approved by:	maintainer timeout

Added:
  head/devel/commoncpp/files/patch-inc__cc++__string.h   (contents, props changed)

Added: head/devel/commoncpp/files/patch-inc__cc++__string.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/commoncpp/files/patch-inc__cc++__string.h	Thu May 22 08:02:51 2014	(r354799)
@@ -0,0 +1,21 @@
+--- inc/cc++/string.h.orig	2014-04-15 15:05:21.000000000 +0200
++++ inc/cc++/string.h	2014-04-15 15:10:46.000000000 +0200
+@@ -74,6 +74,9 @@
+  * @author David Sugar <dyfet at ostel.com>
+  * @short Generic string class.
+  */
++class String;
++std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0);
++
+ class __EXPORT String
+ {
+ protected:
+@@ -731,7 +734,7 @@
+      * @param delim deliminator to use.
+      * @param size optional size limitor.
+      */
+-    friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0);
++    friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim, size_t size);
+ 
+     /**
+      * Stream the content of our string variable directly to a C++


More information about the svn-ports-all mailing list