pkgsrc/audio/xmms-wma/patches/patch-ab
2007-07-28 00:56:13 +00:00

18 lines
407 B
Text

$NetBSD: patch-ab,v 1.2 2007/07/28 00:56:14 joerg Exp $
--- ffmpeg-strip-wma/mem.c.orig 2003-03-06 11:32:02.000000000 +0000
+++ ffmpeg-strip-wma/mem.c
@@ -29,8 +29,11 @@
#undef free
#undef realloc
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
+#include <stdlib.h>
+#include <sys/param.h>
+
+#ifdef BSD
+#undef HAVE_MEMALIGN
#endif
/* you can redefine av_malloc and av_free in your project to use your