1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/audio/muse/files/patch-src::shout::sock.c
Kirill Ponomarev 2e8fc655bc - Update to version 0.9
PR:		ports/65990
Submitted by:	Ports Fury
2004-04-29 07:43:38 +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);