diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-07-01 13:03:07 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-07-01 13:03:07 +0000 |
commit | 6e94c5f7030b58103294bc1047c5268fc67ad3d0 (patch) | |
tree | 242d245aa912c3eafd8bce27520c1648aea0c1e8 /audio/mpg123 | |
parent | Bump PORTREVISION. (diff) |
Use a patch rather than sed magic for the <sys/soundcard.h> issue.
Notes
Notes:
svn path=/head/; revision=62266
Diffstat (limited to 'audio/mpg123')
-rw-r--r-- | audio/mpg123/Makefile | 5 | ||||
-rw-r--r-- | audio/mpg123/files/patch-af | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index 8242f712bcf4..c9254390d5e0 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -99,9 +99,4 @@ OPT_ARCH?= i586 MAKE_ARGS+= OPT_ARCH=${OPT_ARCH} .endif -post-patch: - @${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \ - ${WRKSRC}/audio_oss.c > ${WRKSRC}/audio_oss.c.new - @${MV} ${WRKSRC}/audio_oss.c.new ${WRKSRC}/audio_oss.c - .include <bsd.port.post.mk> diff --git a/audio/mpg123/files/patch-af b/audio/mpg123/files/patch-af new file mode 100644 index 000000000000..36f059cfb493 --- /dev/null +++ b/audio/mpg123/files/patch-af @@ -0,0 +1,11 @@ +--- audio_oss.c.orig Sat Jan 31 23:14:08 1998 ++++ audio_oss.c Sun May 12 15:35:49 2002 +@@ -31,7 +31,7 @@ + #elif defined(__bsdi__) + #include <sys/soundcard.h> + #else +-#include <machine/soundcard.h> ++#include <sys/soundcard.h> + #endif + + int audio_open(struct audio_info_struct *ai) |