aboutsummaryrefslogtreecommitdiffstats
path: root/net/papaya/files/patch-src::papaya::Socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/papaya/files/patch-src::papaya::Socket.cpp')
-rw-r--r--net/papaya/files/patch-src::papaya::Socket.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/papaya/files/patch-src::papaya::Socket.cpp b/net/papaya/files/patch-src::papaya::Socket.cpp
new file mode 100644
index 000000000000..960fa6360a47
--- /dev/null
+++ b/net/papaya/files/patch-src::papaya::Socket.cpp
@@ -0,0 +1,11 @@
+--- src/papaya/Socket.cpp.orig Fri Jan 9 15:13:24 2004
++++ src/papaya/Socket.cpp Fri Jan 9 15:13:34 2004
+@@ -428,7 +428,7 @@
+ c = inbuf.getLength();
+ }
+
+- return read(min(b, c), dest);
++ return read(std::min(b, c), dest);
+ }
+
+ /**