openbsd-ports/audio/deadbeef/patches/patch-playlist_c
shadchin 59edfd521a Update to 0.5.6.
tested mikeb@, tweaks and ok brad@, ok dcoppa@
2013-01-03 11:54:49 +00:00

15 lines
404 B
Plaintext

$OpenBSD: patch-playlist_c,v 1.2 2013/01/03 11:54:49 shadchin Exp $
--- playlist.c.orig Fri Oct 19 21:58:50 2012
+++ playlist.c Tue Oct 23 22:32:14 2012
@@ -62,6 +62,10 @@
#include "volume.h"
#include "pltmeta.h"
+#if defined(__GNUC__) && defined(__STRICT_ANSI__)
+#define alloca(size) __builtin_alloca(size)
+#endif
+
#define DISABLE_LOCKING 0
#define DEBUG_LOCKING 0
#define DETECT_PL_LOCK_RC 0