]> git.draconx.ca Git - gentoo-fixes.git/blob - sys-apps/man/files/man-1.6g-fbsd.patch
sys-apps/man: Fix borken Gentoo man-1.6g-echo-escape.patch
[gentoo-fixes.git] / sys-apps / man / files / man-1.6g-fbsd.patch
1 Fixes compilation in FreeBSD
2
3 http://bugs.gentoo.org/138123
4
5 --- man-1.6g/gencat/genlib.c
6 +++ man-1.6g/gencat/genlib.c
7 @@ -54,7 +54,7 @@
8  #include <unistd.h>
9  #endif
10  
11 -#if !defined(__linux__) && !defined(__CYGWIN__)
12 +#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
13  #include <memory.h>
14  static int bcopy(src, dst, length)
15  char *src, *dst;