1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/muse/files/patch-src__shout__sock.c
2014-07-29 17:12:47 +00:00

15 lines
339 B
C

--- src/shout/sock.c.orig Tue Mar 30 01:04:27 2004
+++ src/shout/sock.c Mon Apr 19 23:32:09 2004
@@ -336,7 +336,11 @@
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);