openbsd-ports/audio/deadbeef/patches/patch-plugins_converter_converter_c
shadchin a6ab3980da Import deadbeef 0.5.5.
DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, BSD,
OpenSolaris and probably other UNIX-like systems.

ok dcoppa@
2012-08-08 18:06:48 +00:00

15 lines
472 B
Plaintext

$OpenBSD: patch-plugins_converter_converter_c,v 1.1.1.1 2012/08/08 18:06:48 shadchin Exp $
--- plugins/converter/converter.c.orig Sat Jun 9 01:10:44 2012
+++ plugins/converter/converter.c Sat Jun 9 01:11:06 2012
@@ -35,6 +35,10 @@
#include "converter.h"
#include "../../deadbeef.h"
+#if defined(__GNUC__) && defined(__STRICT_ANSI__)
+#define alloca(size) __builtin_alloca(size)
+#endif
+
#ifndef strdupa
# define strdupa(s) \
({ \