aboutsummaryrefslogtreecommitdiffstats
path: root/audio/muse/files/patch-src_shout_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/muse/files/patch-src_shout_sock.c')
-rw-r--r--audio/muse/files/patch-src_shout_sock.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/muse/files/patch-src_shout_sock.c b/audio/muse/files/patch-src_shout_sock.c
new file mode 100644
index 00000000000..3d8a57773d9
--- /dev/null
+++ b/audio/muse/files/patch-src_shout_sock.c
@@ -0,0 +1,14 @@
+--- src/shout/sock.c.orig 2004-03-29 16:04:27 UTC
++++ src/shout/sock.c
+@@ -336,7 +336,11 @@ int sock_write_fmt(sock_t sock, const ch
+ int rc = SOCK_ERROR;
+ va_list ap_retry;
+
++#if (defined(__FreeBSD__) && __FreeBSD__ < 5)
++ ap_retry = ap;
++#else
+ va_copy (ap_retry, ap);
++#endif
+
+ len = vsnprintf (buff, sizeof (buffer), fmt, ap);
+