openbsd-ports/audio/deadbeef/patches/patch-plugins_ffmpeg_ffmpeg_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
476 B
Plaintext

$OpenBSD: patch-plugins_ffmpeg_ffmpeg_c,v 1.2 2013/01/03 11:54:49 shadchin Exp $
--- plugins/ffmpeg/ffmpeg.c.orig Mon Oct 15 00:51:02 2012
+++ plugins/ffmpeg/ffmpeg.c Tue Oct 23 22:32:14 2012
@@ -56,6 +56,10 @@
//#define av_get_bits_per_sample_format av_get_bits_per_sample_fmt
#else
+#if defined(__GNUC__) && defined(__STRICT_ANSI__)
+#define alloca(size) __builtin_alloca(size)
+#endif
+
//#define trace(...) { fprintf(stderr, __VA_ARGS__); }
#define trace(fmt,...)