1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Fix build

PR:		188658
Submitted by:	swills
Approved by:	maintainer timeout
This commit is contained in:
Martin Wilke 2014-05-22 08:02:51 +00:00
parent 79c74cb491
commit 2a9fb86148
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354799

View File

@ -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++