diff options
author | rillig <rillig@pkgsrc.org> | 2007-10-10 09:26:21 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-10-10 09:26:21 +0000 |
commit | 7c469313596172339af1305f7fdaad9b1ebb4b54 (patch) | |
tree | 81e0e78a82b9ebd7c9df99c3f5c5a4bb09de4ff9 /audio | |
parent | 4d0642f1f2d0c721f0e6fada048ff264c384bfdb (diff) | |
download | pkgsrc-7c469313596172339af1305f7fdaad9b1ebb4b54.tar.gz |
Fixed building problems on NetBSD, caused by the implementation of
mremap, which is incompatible to Linux.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libvisual-plugins/distinfo | 3 | ||||
-rw-r--r-- | audio/libvisual-plugins/patches/patch-ad | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/libvisual-plugins/distinfo b/audio/libvisual-plugins/distinfo index 9dfc6edeae3..ef625e7c0a2 100644 --- a/audio/libvisual-plugins/distinfo +++ b/audio/libvisual-plugins/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2006/07/18 19:02:08 joerg Exp $ +$NetBSD: distinfo,v 1.8 2007/10/10 09:26:21 rillig Exp $ SHA1 (libvisual-plugins-0.4.0.tar.gz) = 20490573c282d900ec0bd05133cb3707640254f5 RMD160 (libvisual-plugins-0.4.0.tar.gz) = f7a82f4a9e4dec3e877833612ece570ffbf2404d @@ -6,3 +6,4 @@ Size (libvisual-plugins-0.4.0.tar.gz) = 828631 bytes SHA1 (patch-aa) = 9c84c7d8af69d603ea8ce4077247a217952c0cb3 SHA1 (patch-ab) = 31a380ed59ed9eed1e5516c44fec54c1e7dcf25c SHA1 (patch-ac) = dea36f303b2b3f8d5aea970b22c06743490d07cc +SHA1 (patch-ad) = 569785ee5c26cf7e58abbf0ff2e08e20bb515675 diff --git a/audio/libvisual-plugins/patches/patch-ad b/audio/libvisual-plugins/patches/patch-ad new file mode 100644 index 00000000000..5a1d476cf16 --- /dev/null +++ b/audio/libvisual-plugins/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1 2007/10/10 09:26:21 rillig Exp $ + +--- plugins/input/mplayer/input_mplayer.c.orig 2006-01-22 13:25:27.000000000 +0000 ++++ plugins/input/mplayer/input_mplayer.c 2007-10-10 09:20:05.000000000 +0000 +@@ -176,6 +176,10 @@ int inp_mplayer_init( VisPluginData *plu + return -6; + } + ++#if defined(__NetBSD__) ++# define mremap(a, b, c, d) (mremap)((a), (b), NULL, (c), (d)) ++#endif ++ + priv->mmap_area = mremap( priv->mmap_area, sizeof( mplayer_data_t ), + sizeof( mplayer_data_t ) + priv->mmap_area->bs, + 0 ); |