aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-05-25 17:37:32 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-05-25 17:37:32 +0000
commit01715bdec8196d4bc755e3e19f3ea77b5b43384f (patch)
treec8dc2c580b2193a4c9f67f96d8f6f825ffb03378
parent9a34e9d5311948bb2e9d7e6e493cea643fbf4c02 (diff)
downloadports-01715bdec8196d4bc755e3e19f3ea77b5b43384f.tar.gz
ports-01715bdec8196d4bc755e3e19f3ea77b5b43384f.zip
Attempt to fix compilation error under -CURRENT, logged by bento.
The error did not appear for me under -STABLE.
Notes
Notes: svn path=/head/; revision=59994
-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
+