diff options
author | Max Khon <fjoe@FreeBSD.org> | 2005-02-21 19:58:30 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2005-02-21 19:58:30 +0000 |
commit | 66d65bab60f15dc0fc5ff4da7f549c552e526999 (patch) | |
tree | aaf09f86d7d27a1f0c0b14c8baaca6dbd84e17ce /x11-toolkits/wxgtk28 | |
parent | 4063b6b0a7c20eaf9d788b11bf17eb8223ec36c5 (diff) | |
download | ports-66d65bab60f15dc0fc5ff4da7f549c552e526999.tar.gz ports-66d65bab60f15dc0fc5ff4da7f549c552e526999.zip |
Notes
Diffstat (limited to 'x11-toolkits/wxgtk28')
-rw-r--r-- | x11-toolkits/wxgtk28/files/patch-src-common-string.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk28/files/patch-src-common-string.cpp b/x11-toolkits/wxgtk28/files/patch-src-common-string.cpp new file mode 100644 index 000000000000..f88da4cc4be9 --- /dev/null +++ b/x11-toolkits/wxgtk28/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; |