diff options
author | joerg <joerg> | 2006-01-12 16:46:21 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-12 16:46:21 +0000 |
commit | d7785b0508e08a3546d05b70555a54b66c766501 (patch) | |
tree | d7e88a3bafd816a20b601e522686aaf1b14f4f2c /audio/nspmod | |
parent | 7481760209f276af52d096709b7276342d971013 (diff) | |
download | pkgsrc-d7785b0508e08a3546d05b70555a54b66c766501.tar.gz |
Use the Linux source for DragonFly.
Diffstat (limited to 'audio/nspmod')
-rw-r--r-- | audio/nspmod/distinfo | 4 | ||||
-rw-r--r-- | audio/nspmod/patches/patch-ba | 92 |
2 files changed, 47 insertions, 49 deletions
diff --git a/audio/nspmod/distinfo b/audio/nspmod/distinfo index 4bac93039e5..1e132a57e8d 100644 --- a/audio/nspmod/distinfo +++ b/audio/nspmod/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 20:39:50 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/01/12 16:46:21 joerg Exp $ SHA1 (nspmod-0.1.tar.gz) = 3409323d6dbf13e3236a85eb1b8ff9e51ee4de0c RMD160 (nspmod-0.1.tar.gz) = c5cd4e77066d1ea23d52e4ed7f10d82f30ed4d36 @@ -6,5 +6,5 @@ Size (nspmod-0.1.tar.gz) = 32579 bytes SHA1 (patch-ac) = e116d9701c1f0fc9e7c4a441d332ad22aee4be24 SHA1 (patch-ad) = a1a6f68bcaffe0ace1f5e32acb21a1c6bc2a2e47 SHA1 (patch-ae) = 2788fd634fb11f667038089fd356e14f9d19ff6c -SHA1 (patch-ba) = a2707702edc798949cfb004aae4f750139648c3b +SHA1 (patch-ba) = 247e147d3086fc499b333f90be3d427a12a8ef0f SHA1 (patch-bb) = fa08fafe222c41eb336b226d2f335dc22e934bc9 diff --git a/audio/nspmod/patches/patch-ba b/audio/nspmod/patches/patch-ba index 4d65abe7267..acc39b05f8f 100644 --- a/audio/nspmod/patches/patch-ba +++ b/audio/nspmod/patches/patch-ba @@ -1,48 +1,46 @@ -$NetBSD: patch-ba,v 1.4 1998/11/24 16:32:06 mycroft Exp $ +$NetBSD: patch-ba,v 1.5 2006/01/12 16:46:21 joerg Exp $ -*** Makefile.orig Sun Sep 17 09:18:20 1995 ---- Makefile Fri Mar 6 05:56:27 1998 -*************** -*** 6,17 **** - - ## Linux -! CFLAGS_OS = -Wall - #CFLAGS_OS += -DDAC_DEV=\"/dev/dsp2\" - #CFLAGS_OS += -pedantic -! CFLAGS_OPT = -g -! CFLAGS_HIOPT = -O2 -funroll-loops -! LDFLAGS_OS = -! LIBS_OS = -! DACIO_ARCH = dacio-linux.c - - ## A certain SVR4.2 based OS ---- 6,17 ---- - - ## Linux -! #CFLAGS_OS = -Wall - #CFLAGS_OS += -DDAC_DEV=\"/dev/dsp2\" - #CFLAGS_OS += -pedantic -! #CFLAGS_OPT = -g -! #CFLAGS_HIOPT = -O2 -funroll-loops -! #LDFLAGS_OS = -! #LIBS_OS = -! #DACIO_ARCH = dacio-linux.c - - ## A certain SVR4.2 based OS -*************** -*** 23,26 **** ---- 23,36 ---- - #LIBS_OS = - #DACIO_ARCH = dacio-ews48.c -+ -+ ## NetBSD -+ CFLAGS_OS = -Wall -+ CFLAGS_OS += -DDAC_DEV=\"/dev/audio\" -+ CFLAGS_OS += -pedantic -+ CFLAGS_OPT = -O2 -+ CFLAGS_HIOPT = -O2 -funroll-loops -+ LDFLAGS_OS = -+ LIBS_OS = -+ DACIO_ARCH = dacio-netbsd.c - - #} +--- Makefile.orig 1995-09-17 13:18:20.000000000 +0000 ++++ Makefile +@@ -5,14 +5,14 @@ LIBS_EXT = + #{ OS specific part + + ## Linux +-CFLAGS_OS = -Wall ++#CFLAGS_OS = -Wall + #CFLAGS_OS += -DDAC_DEV=\"/dev/dsp2\" + #CFLAGS_OS += -pedantic +-CFLAGS_OPT = -g +-CFLAGS_HIOPT = -O2 -funroll-loops +-LDFLAGS_OS = +-LIBS_OS = +-DACIO_ARCH = dacio-linux.c ++#CFLAGS_OPT = -g ++#CFLAGS_HIOPT = -O2 -funroll-loops ++#LDFLAGS_OS = ++#LIBS_OS = ++#DACIO_ARCH = dacio-linux.c + + ## A certain SVR4.2 based OS + #CC = /usr/abiccs/bin/cc +@@ -23,6 +23,20 @@ DACIO_ARCH = dacio-linux.c + #LIBS_OS = + #DACIO_ARCH = dacio-ews48.c + ++## NetBSD ++CFLAGS_OS = -Wall ++CFLAGS_OS += -pedantic ++CFLAGS_OPT = -O2 ++CFLAGS_HIOPT = -O2 -funroll-loops ++LDFLAGS_OS = ++LIBS_OS = ++CFLAGS_OS += -DDAC_DEV=\"/dev/audio\" ++.if ${OPSYS} == "DragonFly" ++DACIO_ARCH = dacio-linux.c ++.else ++DACIO_ARCH = dacio-netbsd.c ++.endif ++ + #} + + CFLAGS = $(CFLAGS_OS) $(CFLAGS_OPT) $(CFLAGS_EXT) |