summaryrefslogtreecommitdiff
path: root/audio/xmms-wma/patches/patch-ab
blob: 4239a1af579e704446185e6277d5a6ad742c501a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.1.1.1 2005/03/01 01:17:00 xtraeme Exp $

--- ffmpeg-strip-wma/mem.c.orig	2005-03-01 01:58:20.000000000 +0100
+++ ffmpeg-strip-wma/mem.c	2005-03-01 01:59:04.000000000 +0100
@@ -32,6 +32,12 @@
 #ifdef HAVE_MALLOC_H
 #include <malloc.h>
 #endif
+#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
    memory allocator. You do not need to suppress this file because the