summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-06-03 09:51:20 +0000
committerjmg <jmg@FreeBSD.org>1997-06-03 09:51:20 +0000
commitec223d32878415bc396bdfc6119bb17da177ad07 (patch)
tree364a7c69227a5dc99ca72f4f488066cbb9aeea17
parent0b5fdb31cd21653011a3ef00f660bc9be3af5380 (diff)
downloadFreeBSD-ports-ec223d32878415bc396bdfc6119bb17da177ad07.zip
FreeBSD-ports-ec223d32878415bc396bdfc6119bb17da177ad07.tar.gz
don't override CFLAGS and don't compile with -g
add a missing header file the 3.0 needs... Submitted by: asami
-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 0000000..07273f3
--- /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 0000000..07578da
--- /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*/
OpenPOWER on IntegriCloud