diff options
author | trevor <trevor@FreeBSD.org> | 2002-05-26 01:37:32 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2002-05-26 01:37:32 +0800 |
commit | c458567a41528ab0c9c1630bd2e6e3566bb770e7 (patch) | |
tree | 925428b0b0dad4efa4daf091561e79ffe86fdc70 | |
parent | bc4853467fed5f69ac13668a556d23b7d53fb72c (diff) | |
download | freebsd-ports-gnome-c458567a41528ab0c9c1630bd2e6e3566bb770e7.tar.gz freebsd-ports-gnome-c458567a41528ab0c9c1630bd2e6e3566bb770e7.tar.zst freebsd-ports-gnome-c458567a41528ab0c9c1630bd2e6e3566bb770e7.zip |
Attempt to fix compilation error under -CURRENT, logged by bento.
The error did not appear for me under -STABLE.
-rw-r--r-- | audio/nas/files/patch-server_os_utils.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/nas/files/patch-server_os_utils.c b/audio/nas/files/patch-server_os_utils.c new file mode 100644 index 000000000000..c271dafd76c1 --- /dev/null +++ b/audio/nas/files/patch-server_os_utils.c @@ -0,0 +1,16 @@ +$FreeBSD$ + + utils.c:124: conflicting types for `sbrk' + /usr/include/unistd.h:212: previous declaration of `sbrk' + +--- server/os/utils.c.orig Sat May 25 10:07:51 2002 ++++ server/os/utils.c Sat May 25 10:21:48 2002 +@@ -120,7 +120,7 @@ static mutex print_lock + + void ddxUseMsg(void); + +-#if !defined(SVR4) && !defined(hpux) && !defined(linux) && !defined(AMOEBA) && !defined(_MINIX) ++#if !defined(SVR4) && !defined(hpux) && !defined(linux) && !defined(AMOEBA) && !defined(_MINIX) && !defined(__FreeBSD__) + extern char *sbrk(); + #endif + |