[BACK]Return to patch-ab CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / news / suck / patches

File: [cvs.NetBSD.org] / pkgsrc / news / suck / patches / patch-ab (download)

Revision 1.4, Thu Oct 24 09:38:24 2013 UTC (7 years, 5 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.3: +2 -2 lines

Fix build on SunOS.  Patch from Thomas Merkel.

$NetBSD: patch-ab,v 1.4 2013/10/24 09:38:24 jperkin Exp $

--- killfile.c.orig	2006-01-02 23:24:47.000000000 +0000
+++ killfile.c
@@ -55,7 +55,9 @@ int check_a_group(PMaster, POneKill, cha
 void print_debug(PKillStruct, const char *);
 void debug_one_kill(POneKill);
 void add_to_linkedlist(pmy_regex *, pmy_regex);
+#if !defined(__DragonFly__) && !defined(__APPLE__) && !defined(__sun)
 const char *strnstr(const char *, const char *);
+#endif
 pmy_regex regex_scan(char *, char, int, int, char);
 int regex_check(char *, pmy_regex, int);