Add files from parent branch HEAD:
[pkgsrcv2.git] / net / kdenetwork3 / patches / patch-ai
1 $NetBSD$
2
3 --- ktalkd/mail.local/mail.local.c.orig 2005-09-10 20:20:38.000000000 +1200
4 +++ ktalkd/mail.local/mail.local.c
5 @@ -232,7 +232,7 @@ static char copyright[] =
6  # define _BSD_VA_LIST_ va_list
7  #endif
8  
9 -#if !defined(BSD4_4) && !defined(linux) && !defined(_UNIXWARE)
10 +#if !defined(BSD4_4) && !defined(linux) && !defined(_UNIXWARE) && !defined(HAVE_STRERROR)
11  extern char    *strerror __P((int));
12  extern FILE    *fdopen __P((int, const char *));
13  #endif
14 @@ -831,7 +831,7 @@ e_to_sys(num)
15         }
16  }
17  
18 -#if !defined(BSD4_4) && !defined(__osf__) && !defined(__GLIBC__)
19 +#if !defined(BSD4_4) && !defined(__osf__) && !defined(__GLIBC__) && !defined(HAVE_STRERROR)
20  
21  char *
22  strerror(eno)