Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 08:02:52 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354799 - head/devel/commoncpp/files
Message-ID:  <201405220802.s4M82qUU006095@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405220802.s4M82qUU006095>