aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-05-26 01:37:32 +0800
committertrevor <trevor@FreeBSD.org>2002-05-26 01:37:32 +0800
commitc458567a41528ab0c9c1630bd2e6e3566bb770e7 (patch)
tree925428b0b0dad4efa4daf091561e79ffe86fdc70
parentbc4853467fed5f69ac13668a556d23b7d53fb72c (diff)
downloadfreebsd-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.c16
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
+