summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.28.0-string_h.patch')
-rw-r--r--x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.28.0-string_h.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.28.0-string_h.patch b/x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.28.0-string_h.patch
new file mode 100644
index 000000000000..ecb60c512c4d
--- /dev/null
+++ b/x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.28.0-string_h.patch
@@ -0,0 +1,18 @@
+http://bugs.gentoo.org/466034
+
+851:24: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration]
+853:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
+873:24: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
+853:46: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
+944:58: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
+
+--- gdk-pixbuf/io-png.c
++++ gdk-pixbuf/io-png.c
+@@ -26,6 +26,7 @@
+ #include "config.h"
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h> /* strcmp, strlen, strncmp */
+ #include <png.h>
+ #include "gdk-pixbuf-private.h"
+