diff options
author | augustss <augustss@pkgsrc.org> | 1997-10-29 18:03:23 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1997-10-29 18:03:23 +0000 |
commit | 89d9ac7fc90e21ae3af5d8fe910119e2be8694a6 (patch) | |
tree | 7e3b903001381c8ca4893bc12ddb88279ba9915d /audio/cam/patches | |
parent | 408ff9b3b93ebf5ebdc09f491cc54a1b3246d9da (diff) | |
download | pkgsrc-89d9ac7fc90e21ae3af5d8fe910119e2be8694a6.tar.gz |
NetBSD port.
Diffstat (limited to 'audio/cam/patches')
-rw-r--r-- | audio/cam/patches/patch-ab | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/cam/patches/patch-ab b/audio/cam/patches/patch-ab new file mode 100644 index 00000000000..e0d47098d0d --- /dev/null +++ b/audio/cam/patches/patch-ab @@ -0,0 +1,28 @@ +diff -u ../../work/cam-1.02/Makefile ./Makefile +--- ../../work/cam-1.02/Makefile Wed Oct 29 18:59:28 1997 ++++ ./Makefile Wed Oct 29 18:54:20 1997 +@@ -6,7 +6,8 @@ + + CC = gcc + CFLAGS = -Wall -O2 +-LIBS = -lncurses ++CFLAGS+= -I${PREFIX}/include ++LIBS = -L${PREFIX}/lib -lncurses -lossaudio + INSTALL = install + BINDIR = ${PREFIX}/bin + MANFILE= cam.1 +diff -u ../../work/cam-1.02/cam.h ./cam.h +--- ../../work/cam-1.02/cam.h Wed Oct 29 18:59:27 1997 ++++ ./cam.h Wed Oct 29 18:43:33 1997 +@@ -23,8 +23,10 @@ + #include <stdio.h> + #include <ncurses.h> + #include <signal.h> +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) + #include <machine/soundcard.h> ++#elif defined(__NetBSD__) ++#include <soundcard.h> + #else + #include <sys/soundcard.h> + #endif |