summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-04-16 13:34:10 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-04-16 13:34:10 +0000
commit7d557fbcc6d2deeed528bc2140f6b2ba45b55554 (patch)
tree9b2813fe52eaed7b395ed16d7b11ecfd3766bee8 /media-sound/ogmtools
parentInitial Import. Closes BUG 25118 (diff)
downloadgentoo-2-7d557fbcc6d2deeed528bc2140f6b2ba45b55554.tar.gz
gentoo-2-7d557fbcc6d2deeed528bc2140f6b2ba45b55554.tar.bz2
gentoo-2-7d557fbcc6d2deeed528bc2140f6b2ba45b55554.zip
Fix for a typo
Diffstat (limited to 'media-sound/ogmtools')
-rw-r--r--media-sound/ogmtools/ChangeLog6
-rw-r--r--media-sound/ogmtools/files/ogmtools-1.3-endian-fix.patch12
-rw-r--r--media-sound/ogmtools/ogmtools-1.3.ebuild7
3 files changed, 23 insertions, 2 deletions
diff --git a/media-sound/ogmtools/ChangeLog b/media-sound/ogmtools/ChangeLog
index 080641a2b93a..1fc6641c1443 100644
--- a/media-sound/ogmtools/ChangeLog
+++ b/media-sound/ogmtools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/ogmtools
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ogmtools/ChangeLog,v 1.12 2004/04/12 07:28:43 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ogmtools/ChangeLog,v 1.13 2004/04/16 13:34:10 lu_zero Exp $
+
+ 16 Apr 2004; Luca Barbato <lu_zero@gentoo.org>
+ +files/ogmtools-1.3-endian-fix.patch, ogmtools-1.3.ebuild:
+ Fix endianess
*ogmtools-1.3 (12 Apr 2004)
diff --git a/media-sound/ogmtools/files/ogmtools-1.3-endian-fix.patch b/media-sound/ogmtools/files/ogmtools-1.3-endian-fix.patch
new file mode 100644
index 000000000000..69766d4572d9
--- /dev/null
+++ b/media-sound/ogmtools/files/ogmtools-1.3-endian-fix.patch
@@ -0,0 +1,12 @@
+diff -ruN ogmtools-1.3.orig/avilib/avidump.c ogmtools-1.3/avilib/avidump.c
+--- ogmtools-1.3.orig/avilib/avidump.c 2004-04-16 12:32:29.332935192 +0200
++++ ogmtools-1.3/avilib/avidump.c 2004-04-16 12:33:40.520113096 +0200
+@@ -57,7 +57,7 @@
+ ((x<<8) & 0x00ff0000) |\
+ ((x<<24) & 0xff000000))
+ # define SWAP8(x) (( (SWAP4(x)<<32) & 0xffffffff00000000ULL) |\
+- ( SWAP4(x))
++ SWAP4(x))
+ #else
+ # define SWAP2(a) (a)
+ # define SWAP4(a) (a)
diff --git a/media-sound/ogmtools/ogmtools-1.3.ebuild b/media-sound/ogmtools/ogmtools-1.3.ebuild
index 0e3cb48c81c5..0c086392635d 100644
--- a/media-sound/ogmtools/ogmtools-1.3.ebuild
+++ b/media-sound/ogmtools/ogmtools-1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ogmtools/ogmtools-1.3.ebuild,v 1.1 2004/04/12 07:28:43 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ogmtools/ogmtools-1.3.ebuild,v 1.2 2004/04/16 13:34:10 lu_zero Exp $
DESCRIPTION="These tools allow information about (ogminfo) or extraction from (ogmdemux) or creation of (ogmmerge) OGG media streams"
HOMEPAGE="http://www.bunkus.org/videotools/ogmtools/"
@@ -14,6 +14,11 @@ IUSE="dvd"
RDEPEND="dvd? ( media-libs/libdvdread )
media-sound/vorbis-tools"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-endian-fix.patch
+}
+
src_compile() {
econf `use_with dvd dvdread` || die "econf failed"
emake || die "emake failed"