diff options
Diffstat (limited to 'x11/gcolor2/patches/patch-src_callbacks.c')
-rw-r--r-- | x11/gcolor2/patches/patch-src_callbacks.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/gcolor2/patches/patch-src_callbacks.c b/x11/gcolor2/patches/patch-src_callbacks.c new file mode 100644 index 00000000000..2cbc7265668 --- /dev/null +++ b/x11/gcolor2/patches/patch-src_callbacks.c @@ -0,0 +1,20 @@ +$NetBSD: patch-src_callbacks.c,v 1.1 2015/07/25 02:06:04 kamil Exp $ + +Add missing header for strlen(3) and strspn(3). + +Backport additional changes from Fedora. +http://pkgs.fedoraproject.org/cgit/gcolor2.git/tree/gcolor2-0.4-missing-includes.patch + +--- src/callbacks.c.orig 2005-07-12 18:06:12.000000000 +0000 ++++ src/callbacks.c +@@ -2,8 +2,10 @@ + # include <config.h> + #endif + ++#include <glib/gprintf.h> + #include <gtk/gtk.h> + #include <stdio.h> ++#include <string.h> + + #include "callbacks.h" + #include "interface.h" |