aboutsummaryrefslogtreecommitdiff
path: root/audio/nspmod
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>1997-06-03 09:51:20 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>1997-06-03 09:51:20 +0000
commit86ffba25d4c563191143170d047d49093a967498 (patch)
treec7d621173f3203ef54e34ae1275ae2739ae56115 /audio/nspmod
parent8c2cce5baeb637c78a90bd5a10a5afea827a75d9 (diff)
downloadports-86ffba25d4c563191143170d047d49093a967498.tar.gz
ports-86ffba25d4c563191143170d047d49093a967498.zip
don't override CFLAGS and don't compile with -g
add a missing header file the 3.0 needs... Submitted by: asami
Notes
Notes: svn path=/head/; revision=6696
Diffstat (limited to 'audio/nspmod')
-rw-r--r--audio/nspmod/files/patch-ab21
-rw-r--r--audio/nspmod/files/patch-ac10
2 files changed, 31 insertions, 0 deletions
diff --git a/audio/nspmod/files/patch-ab b/audio/nspmod/files/patch-ab
new file mode 100644
index 000000000000..07273f38949f
--- /dev/null
+++ b/audio/nspmod/files/patch-ab
@@ -0,0 +1,21 @@
+*** Makefile.orig Sun Sep 17 06:18:20 1995
+--- Makefile Tue Jun 3 02:48:46 1997
+***************
+*** 25,32 ****
+
+ #}
+
+! CFLAGS = $(CFLAGS_OS) $(CFLAGS_OPT) $(CFLAGS_EXT)
+! CFLAGS_HIOPT_ = $(CFLAGS_OS) $(CFLAGS_HIOPT) $(CFLAGS_EXT)
+ LDFLAGS = $(LDFLAGS_OS) $(LDFLAGS_EXT)
+ LIBS = $(LIBS_EXT) $(LIBS_OS)
+
+--- 25,32 ----
+
+ #}
+
+! #CFLAGS = $(CFLAGS_OS) $(CFLAGS_OPT) $(CFLAGS_EXT)
+! CFLAGS_HIOPT_ = $(CFLAGS) $(CFLAGS_HIOPT)
+ LDFLAGS = $(LDFLAGS_OS) $(LDFLAGS_EXT)
+ LIBS = $(LIBS_EXT) $(LIBS_OS)
+
diff --git a/audio/nspmod/files/patch-ac b/audio/nspmod/files/patch-ac
new file mode 100644
index 000000000000..07578dab8ec9
--- /dev/null
+++ b/audio/nspmod/files/patch-ac
@@ -0,0 +1,10 @@
+*** nspmod.c.orig Tue Jun 3 02:45:41 1997
+--- nspmod.c Tue Jun 3 02:45:52 1997
+***************
+*** 1,4 ****
+--- 1,5 ----
+ #include <stdio.h> /*(perror)*/
++ #include <sys/types.h>
+ #include <sys/mman.h> /*PROT_READ,MAP_xxx*/
+ #include <fcntl.h> /*O_RDONLY*/
+ #include <sys/stat.h> /*stat*/