summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-03-28 00:13:18 +0000
committerChris White <chriswhite@gentoo.org>2005-03-28 00:13:18 +0000
commitcd3a8f5efc4e592eb35488670de97f3871e01d8f (patch)
tree44c98df0b50fcaec02d177cdc428266bbd1a6c0b /media-video/vlms
parentadded conditional unpack on l7-filter (diff)
downloadgentoo-2-cd3a8f5efc4e592eb35488670de97f3871e01d8f.tar.gz
gentoo-2-cd3a8f5efc4e592eb35488670de97f3871e01d8f.tar.bz2
gentoo-2-cd3a8f5efc4e592eb35488670de97f3871e01d8f.zip
Fixes bug #41496. Thanks to swegner for the patch.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video/vlms')
-rw-r--r--media-video/vlms/ChangeLog8
-rw-r--r--media-video/vlms/Manifest3
-rw-r--r--media-video/vlms/files/0.2.2-vlf-cr-fix.patch11
-rw-r--r--media-video/vlms/vlms-0.2.2.ebuild16
4 files changed, 33 insertions, 5 deletions
diff --git a/media-video/vlms/ChangeLog b/media-video/vlms/ChangeLog
index 3b8882eb0be8..57153f2688d9 100644
--- a/media-video/vlms/ChangeLog
+++ b/media-video/vlms/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/vlms
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlms/ChangeLog,v 1.7 2004/08/12 21:14:12 chriswhite Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlms/ChangeLog,v 1.8 2005/03/28 00:13:18 chriswhite Exp $
+
+ 28 Mar 2005; Chris White <chriswhite@gentoo.org>
+ +files/0.2.2-vlf-cr-fix.patch, vlms-0.2.2.ebuild:
+ Fixes bug #41496. Thanks to swegner for the patch.
13 Aug 2004; Chris White <chriswhite@gentoo.org> +metadata.xml:
Adding missing metadata.xml. Taking over as maintainer.
diff --git a/media-video/vlms/Manifest b/media-video/vlms/Manifest
index 3fb028dd08a2..444bd7822d42 100644
--- a/media-video/vlms/Manifest
+++ b/media-video/vlms/Manifest
@@ -1,4 +1,5 @@
-MD5 c9808d73233cf80020d0f08b4b5a60b3 vlms-0.2.2.ebuild 698
MD5 d752b05bd2fb8e3f80c4fd8a494b719e ChangeLog 575
MD5 31018765c8c65a239dba78a98c405543 metadata.xml 224
+MD5 d522d3b98cb96108d60e5f86ceb1b01f vlms-0.2.2.ebuild 811
MD5 4b2e25eb6b6aad18af4d68e4cad32d1a files/digest-vlms-0.2.2 62
+MD5 d721233a6b3031aec0aae03ee169a349 files/0.2.2-vlf-cr-fix.patch 523
diff --git a/media-video/vlms/files/0.2.2-vlf-cr-fix.patch b/media-video/vlms/files/0.2.2-vlf-cr-fix.patch
new file mode 100644
index 000000000000..d891f1ab5d65
--- /dev/null
+++ b/media-video/vlms/files/0.2.2-vlf-cr-fix.patch
@@ -0,0 +1,11 @@
+--- vlf.c.orig 2004-02-13 20:55:04.517391789 +0000
++++ vlf.c 2004-02-13 20:55:17.165108651 +0000
+@@ -83,7 +83,7 @@
+ length = recv(infd, (void *)&c, PACKET_SIZE, 0);
+ counter++; bytes+=length;
+
+- if ( !(counter & 0xf ) ) fprintf(stderr," %Li packets received (%Li bytes)", counter, bytes);
++ if ( !(counter & 0xf ) ) fprintf(stderr,"\r%Li packets received (%Li bytes)", counter, bytes);
+ sendto(outfd, (void *)&c, PACKET_SIZE, 0, (struct sockaddr *) &serv_addr, sizeof(serv_addr));
+ }
+
diff --git a/media-video/vlms/vlms-0.2.2.ebuild b/media-video/vlms/vlms-0.2.2.ebuild
index dd90023683d7..c00c0eecb47d 100644
--- a/media-video/vlms/vlms-0.2.2.ebuild
+++ b/media-video/vlms/vlms-0.2.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlms/vlms-0.2.2.ebuild,v 1.7 2004/07/14 22:26:34 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlms/vlms-0.2.2.ebuild,v 1.8 2005/03/28 00:13:18 chriswhite Exp $
+
+inherit eutils
DESCRIPTION="The VideoLAN mini-server"
HOMEPAGE="http://www.videolan.org/vlms/"
@@ -16,6 +18,15 @@ DEPEND=">=media-libs/libdvdread-0.9.3
>=media-libs/libdvbpsi-0.1.1"
#RDEPEND=""
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PV}-vlf-cr-fix.patch
+
+}
+
src_compile() {
make prefix=/usr || die "emake failed"
@@ -26,5 +37,6 @@ src_install () {
dodir /usr/bin
make prefix=${D}/usr install || die "einstall failed"
+ dobin vlf
}