diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-07-05 16:14:13 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-07-05 16:14:13 +0000 |
commit | 1912f2598ed9a4c32d15be4115df58e9b2efde64 (patch) | |
tree | 7678db4f21f20d01381b841263c9dfd229562314 | |
parent | ddd9a0a99c1dbe9d754e16da8bd59774110c4247 (diff) | |
download | pkgsrc-1912f2598ed9a4c32d15be4115df58e9b2efde64.tar.gz |
Add *BSD support patch.
-rw-r--r-- | audio/libmp3splt/patches/patch-src_socket__manager.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/libmp3splt/patches/patch-src_socket__manager.c b/audio/libmp3splt/patches/patch-src_socket__manager.c new file mode 100644 index 00000000000..c63c55b8cc8 --- /dev/null +++ b/audio/libmp3splt/patches/patch-src_socket__manager.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_socket__manager.c,v 1.1 2013/07/05 16:14:13 ryoon Exp $ + +--- src/socket_manager.c.orig 2013-02-08 09:21:53.000000000 +0000 ++++ src/socket_manager.c +@@ -48,8 +48,10 @@ Manages a socket connection + + #ifdef __WIN32__ + #include <malloc.h> ++#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) ++#include <stdlib.h> + #else +-#include <alloca.h> ++include <alloca.h> + #endif + + #include <string.h> |