diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-12-23 09:57:44 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-12-23 09:57:44 +0000 |
commit | 1de5928021a1c725bbe22b6c4f8b9175311c09f3 (patch) | |
tree | 6797b4d90482ddee260a6ed3a2fc4d5b6525e1d4 /games/qgo/files | |
parent | 136061e087e03a72f97a9f45ec4be3944077df6f (diff) |
Update to version 1.0.0.2
PR: ports/75397
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=124947
Diffstat (limited to 'games/qgo/files')
-rw-r--r-- | games/qgo/files/patch-src::wavfile.c | 26 | ||||
-rw-r--r-- | games/qgo/files/patch-src::wavplay.c | 2 |
2 files changed, 1 insertions, 27 deletions
diff --git a/games/qgo/files/patch-src::wavfile.c b/games/qgo/files/patch-src::wavfile.c index e319f43557d3..f8ccf8f33b34 100644 --- a/games/qgo/files/patch-src::wavfile.c +++ b/games/qgo/files/patch-src::wavfile.c @@ -32,29 +32,3 @@ -@@ -138,6 +145,12 @@ - * Error reporting function for this source module: - */ - static void -+_v_erf(const char *format,va_list ap) { -+ vsprintf(emsg,format,ap); /* Capture message into emsg[] */ -+} -+ -+ -+static void - err(const char *format,...) { - va_list ap; - fprintf(stdout, "error : %s \n",format); -@@ -146,12 +159,6 @@ - va_start(ap,format); - _v_erf(format,ap); /* Use caller's supplied function */ - va_end(ap); --} -- -- --static void --_v_erf(const char *format,va_list ap) { -- vsprintf(emsg,format,ap); /* Capture message into emsg[] */ - } - - diff --git a/games/qgo/files/patch-src::wavplay.c b/games/qgo/files/patch-src::wavplay.c index 18f8e2ae5cc4..ee2aade04373 100644 --- a/games/qgo/files/patch-src::wavplay.c +++ b/games/qgo/files/patch-src::wavplay.c @@ -22,7 +22,7 @@ +#if defined(__linux__) #include <linux/soundcard.h> +#endif -+#if defined(__linux__) ++#if defined(__FreeBSD__) +#include <sys/soundcard.h> +#endif #include "wavplay.h" |