summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk29
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2005-02-21 19:58:30 +0000
committerfjoe <fjoe@FreeBSD.org>2005-02-21 19:58:30 +0000
commit4a2edbd84a0ccb64c07bc8f21e2aff96286d5c78 (patch)
treef863a18c65eb26e688ba2e504b1d23543a899e28 /x11-toolkits/wxgtk29
parente5c316a0d9b795389f68ccb36f4bfdd8386e6086 (diff)
downloadFreeBSD-ports-4a2edbd84a0ccb64c07bc8f21e2aff96286d5c78.zip
FreeBSD-ports-4a2edbd84a0ccb64c07bc8f21e2aff96286d5c78.tar.gz
- Prevent endless loop in wxString::PrintV.
- Bump PORTREVISION.
Diffstat (limited to 'x11-toolkits/wxgtk29')
-rw-r--r--x11-toolkits/wxgtk29/files/patch-src-common-string.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk29/files/patch-src-common-string.cpp b/x11-toolkits/wxgtk29/files/patch-src-common-string.cpp
new file mode 100644
index 0000000..f88da4c
--- /dev/null
+++ b/x11-toolkits/wxgtk29/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;
OpenPOWER on IntegriCloud