aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk26
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-02-21 19:58:30 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-02-21 19:58:30 +0000
commit66d65bab60f15dc0fc5ff4da7f549c552e526999 (patch)
treeaaf09f86d7d27a1f0c0b14c8baaca6dbd84e17ce /x11-toolkits/wxgtk26
parent4063b6b0a7c20eaf9d788b11bf17eb8223ec36c5 (diff)
downloadports-66d65bab60f15dc0fc5ff4da7f549c552e526999.tar.gz
ports-66d65bab60f15dc0fc5ff4da7f549c552e526999.zip
Notes
Diffstat (limited to 'x11-toolkits/wxgtk26')
-rw-r--r--x11-toolkits/wxgtk26/files/patch-src-common-string.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk26/files/patch-src-common-string.cpp b/x11-toolkits/wxgtk26/files/patch-src-common-string.cpp
new file mode 100644
index 000000000000..f88da4cc4be9
--- /dev/null
+++ b/x11-toolkits/wxgtk26/files/patch-src-common-string.cpp
@@ -0,0 +1,20 @@
+--- src/common/string.cpp.orig Mon Feb 21 15:53:48 2005
++++ src/common/string.cpp Tue Feb 22 01:39:54 2005
+@@ -39,6 +39,7 @@
+ #endif
+
+ #include <ctype.h>
++#include <errno.h>
+ #include <string.h>
+ #include <stdlib.h>
+
+@@ -1956,6 +1957,9 @@
+ // ok, there was enough space
+ break;
+ }
++
++ if (errno != EOVERFLOW)
++ break;
+
+ // still not enough, double it again
+ size *= 2;