mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Prevent endless loop in wxString::PrintV.
- Bump PORTREVISION.
This commit is contained in:
parent
4063b6b0a7
commit
66d65bab60
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129510
20
x11-toolkits/wxgtk2-devel/files/patch-src-common-string.cpp
Normal file
20
x11-toolkits/wxgtk2-devel/files/patch-src-common-string.cpp
Normal file
@ -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;
|
@ -5,6 +5,8 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 1
|
||||
|
||||
MAINTAINER= fjoe@FreeBSD.org
|
||||
COMMENT= The wxWidgets GUI toolkit (devel version, Unicode)
|
||||
|
||||
|
20
x11-toolkits/wxgtk26/files/patch-src-common-string.cpp
Normal file
20
x11-toolkits/wxgtk26/files/patch-src-common-string.cpp
Normal file
@ -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;
|
20
x11-toolkits/wxgtk28/files/patch-src-common-string.cpp
Normal file
20
x11-toolkits/wxgtk28/files/patch-src-common-string.cpp
Normal file
@ -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;
|
20
x11-toolkits/wxgtk29/files/patch-src-common-string.cpp
Normal file
20
x11-toolkits/wxgtk29/files/patch-src-common-string.cpp
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user