pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libvisual-plugins Fixed building problems on Net...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e9ea5705a17c
branches: trunk
changeset: 533977:e9ea5705a17c
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Oct 10 09:26:21 2007 +0000
description:
Fixed building problems on NetBSD, caused by the implementation of
mremap, which is incompatible to Linux.
diffstat:
audio/libvisual-plugins/distinfo | 3 ++-
audio/libvisual-plugins/patches/patch-ad | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 3968ce81c1c8 -r e9ea5705a17c audio/libvisual-plugins/distinfo
--- a/audio/libvisual-plugins/distinfo Wed Oct 10 09:04:21 2007 +0000
+++ b/audio/libvisual-plugins/distinfo Wed Oct 10 09:26:21 2007 +0000
@@ -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 @@
SHA1 (patch-aa) = 9c84c7d8af69d603ea8ce4077247a217952c0cb3
SHA1 (patch-ab) = 31a380ed59ed9eed1e5516c44fec54c1e7dcf25c
SHA1 (patch-ac) = dea36f303b2b3f8d5aea970b22c06743490d07cc
+SHA1 (patch-ad) = 569785ee5c26cf7e58abbf0ff2e08e20bb515675
diff -r 3968ce81c1c8 -r e9ea5705a17c audio/libvisual-plugins/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual-plugins/patches/patch-ad Wed Oct 10 09:26:21 2007 +0000
@@ -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 );
Home |
Main Index |
Thread Index |
Old Index