diff options
author | hans <hans@pkgsrc.org> | 2012-02-16 16:11:24 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-16 16:11:24 +0000 |
commit | a476d3d9eecbee46ed1b10ff55c34833a1c0ebe8 (patch) | |
tree | e8d4792199cd643d0c5dc84a4599031a54d95dfd /chat/weechat/patches | |
parent | 9632a0d27bdfeacb0bfc4633e138e3a83f88b309 (diff) | |
download | pkgsrc-a476d3d9eecbee46ed1b10ff55c34833a1c0ebe8.tar.gz |
Include strings.h for rindex(), fixes build on SunOS.
Diffstat (limited to 'chat/weechat/patches')
-rw-r--r-- | chat/weechat/patches/patch-src_plugins_rmodifier_rmodifier.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chat/weechat/patches/patch-src_plugins_rmodifier_rmodifier.c b/chat/weechat/patches/patch-src_plugins_rmodifier_rmodifier.c new file mode 100644 index 00000000000..1ea4b6ab59c --- /dev/null +++ b/chat/weechat/patches/patch-src_plugins_rmodifier_rmodifier.c @@ -0,0 +1,14 @@ +$NetBSD: patch-src_plugins_rmodifier_rmodifier.c,v 1.1 2012/02/16 16:11:25 hans Exp $ + +Include strings.h for rindex(). + +--- src/plugins/rmodifier/rmodifier.c.orig 2011-01-01 15:45:45.000000000 +0100 ++++ src/plugins/rmodifier/rmodifier.c 2012-01-24 19:49:44.272350994 +0100 +@@ -25,6 +25,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <string.h> ++#include <strings.h> + + #include "../weechat-plugin.h" + #include "rmodifier.h" |