summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/Makefile5
-rw-r--r--multimedia/vlc/PLIST4
-rw-r--r--multimedia/vlc/distinfo3
-rw-r--r--multimedia/vlc/patches/patch-aa17
4 files changed, 26 insertions, 3 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index a9c42724dd7..56b92c597ad 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2004/07/23 15:45:15 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2004/07/27 17:18:41 manu Exp $
#
DISTNAME= vlc-${VLC_VER}
+PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${VLC_VER}/
EXTRACT_SUFX= .tar.bz2
@@ -49,6 +50,8 @@ PLIST_SUBST+= DVDCSS="@comment "
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/vlc/http/admin
${INSTALL_DATA_DIR} ${PREFIX}/share/vlc/skins/default
+ ${INSTALL_DATA} ${WRKSRC}/doc/vlc.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/doc/vlc-config.1 ${PREFIX}/man/man1
ORIGFNT= /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf
DEFAULT_FONT?= ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf
diff --git a/multimedia/vlc/PLIST b/multimedia/vlc/PLIST
index 6635144936b..517894c88b9 100644
--- a/multimedia/vlc/PLIST
+++ b/multimedia/vlc/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2004/06/20 18:43:26 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.4 2004/07/27 17:18:41 manu Exp $
bin/vlc
bin/vlc-config
bin/wxvlc
@@ -174,6 +174,8 @@ share/doc/vlc/intf-cdda.txt
share/doc/vlc/intf-vcd.txt
share/doc/vlc/vlc-howto.sgml
share/doc/vlc/web-streaming.html
+man/man1/vlc.1
+man/man1/vlc-config.1
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/vlc.mo
${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/vlc.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/vlc.mo
diff --git a/multimedia/vlc/distinfo b/multimedia/vlc/distinfo
index 7759ebef103..e32423b74fb 100644
--- a/multimedia/vlc/distinfo
+++ b/multimedia/vlc/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/06/20 18:43:26 xtraeme Exp $
+$NetBSD: distinfo,v 1.3 2004/07/27 17:18:41 manu Exp $
SHA1 (vlc-0.7.2.tar.bz2) = 938eaea128af02451fcbf0305c84ce290c9d8c21
Size (vlc-0.7.2.tar.bz2) = 4516835 bytes
+SHA1 (patch-aa) = ce9a579b67612f5a6af3513f30dcff4355f39b80
diff --git a/multimedia/vlc/patches/patch-aa b/multimedia/vlc/patches/patch-aa
new file mode 100644
index 00000000000..816c5a55dc9
--- /dev/null
+++ b/multimedia/vlc/patches/patch-aa
@@ -0,0 +1,17 @@
+--- modules/misc/network/ipv4.c.orig Tue Jul 27 19:01:35 2004
++++ modules/misc/network/ipv4.c Tue Jul 27 19:02:52 2004
+@@ -405,9 +405,13 @@
+ #if !defined( UNDER_CE ) && !defined( SYS_BEOS )
+ if( IN_MULTICAST( ntohl(inet_addr(psz_server_addr) ) ) )
+ {
+ /* set the time-to-live */
++#ifdef __NetBSD__
++ unsigned char ttl = p_socket->i_ttl;
++#else
+ int ttl = p_socket->i_ttl;
++#endif
+ if( ttl < 1 )
+ {
+ ttl = config_GetInt( p_this, "ttl" );
+ }
+