diff options
author | fjoe <fjoe@FreeBSD.org> | 2005-02-22 03:58:30 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2005-02-22 03:58:30 +0800 |
commit | 4a2edbd84a0ccb64c07bc8f21e2aff96286d5c78 (patch) | |
tree | f863a18c65eb26e688ba2e504b1d23543a899e28 /x11-toolkits/wxgtk26 | |
parent | e5c316a0d9b795389f68ccb36f4bfdd8386e6086 (diff) | |
download | freebsd-ports-graphics-4a2edbd84a0ccb64c07bc8f21e2aff96286d5c78.tar.gz freebsd-ports-graphics-4a2edbd84a0ccb64c07bc8f21e2aff96286d5c78.tar.zst freebsd-ports-graphics-4a2edbd84a0ccb64c07bc8f21e2aff96286d5c78.zip |
- Prevent endless loop in wxString::PrintV.
- Bump PORTREVISION.
Diffstat (limited to 'x11-toolkits/wxgtk26')
-rw-r--r-- | x11-toolkits/wxgtk26/files/patch-src-common-string.cpp | 20 |
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 00000000000..f88da4cc4be --- /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; |