diff options
Diffstat (limited to 'media-gfx/dawn/files/dawn-3.90b-gcc7.patch')
-rw-r--r-- | media-gfx/dawn/files/dawn-3.90b-gcc7.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-gfx/dawn/files/dawn-3.90b-gcc7.patch b/media-gfx/dawn/files/dawn-3.90b-gcc7.patch new file mode 100644 index 000000000000..e144a38df8f0 --- /dev/null +++ b/media-gfx/dawn/files/dawn-3.90b-gcc7.patch @@ -0,0 +1,21 @@ +Bug: https://bugs.gentoo.org/638616 + +--- a/FRString.h ++++ b/FRString.h +@@ -137,13 +137,13 @@ + char* p = m_string ; + + // skip first blank if any +- while( isspace(*p) && p != '\0' ) {p++;} ++ while( isspace(*p) && *p != '\0' ) {p++;} + + // skip one word +- while( !isspace(*p) && p != '\0' ) {p++;} ++ while( !isspace(*p) && *p != '\0' ) {p++;} + + // skip second blank if any +- while( isspace(*p) && p != '\0' ) {p++;} ++ while( isspace(*p) && *p != '\0' ) {p++;} + + // reset string + strcpy( tmp, p ); |