From 36dacb9b52ad09e00840c25b833f3d0dcb200e3b Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Sat, 10 Mar 2001 13:11:10 +0000 Subject: [PATCH] Fix breakage introduced with newest WindowMaker and libaudiofile. Submitted by: bento --- audio/wsoundserver/Makefile | 1 + audio/wsoundserver/files/patch-wslib::info.c | 37 ++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 audio/wsoundserver/files/patch-wslib::info.c diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile index 33abdf8fd177..0b456486f781 100644 --- a/audio/wsoundserver/Makefile +++ b/audio/wsoundserver/Makefile @@ -23,6 +23,7 @@ USE_X_PREFIX= yes WANT_ESOUND= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/WINGs" MAN1= get-wsound-flags.1x getsoundset.1x setsoundset.1x \ wsoundplay.1x wsoundserver.1x diff --git a/audio/wsoundserver/files/patch-wslib::info.c b/audio/wsoundserver/files/patch-wslib::info.c new file mode 100644 index 000000000000..428d8acd92d3 --- /dev/null +++ b/audio/wsoundserver/files/patch-wslib::info.c @@ -0,0 +1,37 @@ + +$FreeBSD$ + +--- wslib/info.c 2001/03/10 13:03:11 1.1 ++++ wslib/info.c 2001/03/10 13:04:20 +@@ -138,12 +138,6 @@ + case AF_COMPRESSION_APPLE_MAC6: + fprintf(stderr, "Apple MAC6\n"); + break; +- case AF_COMPRESSION_MPEG1: +- fprintf(stderr, "MPEG 1\n"); +- break; +- case AF_COMPRESSION_AWARE_MULTIRATE: +- fprintf(stderr, "Aware MultiRate\n"); +- break; + case AF_COMPRESSION_G726: + fprintf(stderr, "G726\n"); + break; +@@ -158,18 +152,6 @@ + break; + case AF_COMPRESSION_FS1016: + fprintf(stderr, "FS1016\n"); +- break; +- case AF_COMPRESSION_DEFAULT_MPEG_I: +- fprintf(stderr, "MPEG 1 Layer 1\n"); +- break; +- case AF_COMPRESSION_DEFAULT_MPEG_II: +- fprintf(stderr, "MPEG 1 Layer 2\n"); +- break; +- case AF_COMPRESSION_DEFAULT_MULTIRATE: +- fprintf(stderr, "MultiRate\n"); +- break; +- case AF_COMPRESSION_DEFAULT_LOSSLESS: +- fprintf(stderr, "Lossless\n"); + break; + default: + fprintf(stderr, "Unknown\n");