diff options
author | Matt Housh <jaeger@morpheus.net> | 2012-11-21 11:12:43 -0600 |
---|---|---|
committer | Matt Housh <jaeger@morpheus.net> | 2012-11-21 11:12:43 -0600 |
commit | f58de0877c76c9d2faeedc5a37e9a083595bfbe9 (patch) | |
tree | 7aaecd27b8ddf86d5a22917e9227f2437d601b30 /libvorbis-32 | |
parent | 7fe949bb83be5abb275a8a7f7fe77b88ea997592 (diff) | |
download | compat-32-f58de0877c76c9d2faeedc5a37e9a083595bfbe9.tar.gz compat-32-f58de0877c76c9d2faeedc5a37e9a083595bfbe9.tar.xz |
Initial import of *-32 ports for CRUX 3.0
Diffstat (limited to 'libvorbis-32')
-rw-r--r-- | libvorbis-32/.32bit | 0 | ||||
-rw-r--r-- | libvorbis-32/.footprint | 21 | ||||
-rw-r--r-- | libvorbis-32/.md5sum | 1 | ||||
-rw-r--r-- | libvorbis-32/Pkgfile | 18 | ||||
-rw-r--r-- | libvorbis-32/libvorbis.diff | 24 |
5 files changed, 64 insertions, 0 deletions
diff --git a/libvorbis-32/.32bit b/libvorbis-32/.32bit new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/libvorbis-32/.32bit diff --git a/libvorbis-32/.footprint b/libvorbis-32/.footprint new file mode 100644 index 00000000..85b81473 --- /dev/null +++ b/libvorbis-32/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libvorbis.a +-rwxr-xr-x root/root usr/lib32/libvorbis.la +lrwxrwxrwx root/root usr/lib32/libvorbis.so -> libvorbis.so.0.4.6 +lrwxrwxrwx root/root usr/lib32/libvorbis.so.0 -> libvorbis.so.0.4.6 +-rwxr-xr-x root/root usr/lib32/libvorbis.so.0.4.6 +-rw-r--r-- root/root usr/lib32/libvorbisenc.a +-rwxr-xr-x root/root usr/lib32/libvorbisenc.la +lrwxrwxrwx root/root usr/lib32/libvorbisenc.so -> libvorbisenc.so.2.0.9 +lrwxrwxrwx root/root usr/lib32/libvorbisenc.so.2 -> libvorbisenc.so.2.0.9 +-rwxr-xr-x root/root usr/lib32/libvorbisenc.so.2.0.9 +-rw-r--r-- root/root usr/lib32/libvorbisfile.a +-rwxr-xr-x root/root usr/lib32/libvorbisfile.la +lrwxrwxrwx root/root usr/lib32/libvorbisfile.so -> libvorbisfile.so.3.3.5 +lrwxrwxrwx root/root usr/lib32/libvorbisfile.so.3 -> libvorbisfile.so.3.3.5 +-rwxr-xr-x root/root usr/lib32/libvorbisfile.so.3.3.5 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/vorbis.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/vorbisenc.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/vorbisfile.pc diff --git a/libvorbis-32/.md5sum b/libvorbis-32/.md5sum new file mode 100644 index 00000000..11b62ad0 --- /dev/null +++ b/libvorbis-32/.md5sum @@ -0,0 +1 @@ +71b649d3e08e63ece16649df906ce8b9 libvorbis-1.3.3.tar.xz diff --git a/libvorbis-32/Pkgfile b/libvorbis-32/Pkgfile new file mode 100644 index 00000000..9b6973c6 --- /dev/null +++ b/libvorbis-32/Pkgfile @@ -0,0 +1,18 @@ +# Description: Vorbis codec library +# URL: http://www.xiph.org/ogg/vorbis/ +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: libogg-32 libvorbis + +name=libvorbis-32 +version=1.3.3 +release=1 +source=(http://downloads.xiph.org/releases/vorbis/libvorbis-$version.tar.xz) + +build() { + cd libvorbis-$version + ./configure --prefix=/usr --libdir=/usr/lib32 + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share/doc + rm -rf $PKG/{etc,var} $PKG/usr/{bin,etc,include,man,sbin,share} +} diff --git a/libvorbis-32/libvorbis.diff b/libvorbis-32/libvorbis.diff new file mode 100644 index 00000000..938a9ca8 --- /dev/null +++ b/libvorbis-32/libvorbis.diff @@ -0,0 +1,24 @@ +# Stolen from Mozilla, with minor adjustments. +# Author: Timothy B. Terriberry <tterribe@vt.edu> + +diff --git a/media/libvorbis/lib/floor1.c b/media/libvorbis/lib/floor1.c +--- a/media/libvorbis/lib/floor1.c ++++ b/media/libvorbis/lib/floor1.c +@@ -162,16 +162,17 @@ static vorbis_info_floor *floor1_unpack + + /* read the post list */ + info->mult=oggpack_read(opb,2)+1; /* only 1,2,3,4 legal now */ + rangebits=oggpack_read(opb,4); + if(rangebits<0)goto err_out; + + for(j=0,k=0;j<info->partitions;j++){ + count+=info->class_dim[info->partitionclass[j]]; ++ if(count>VIF_POSIT) goto err_out; + for(;k<count;k++){ + int t=info->postlist[k+2]=oggpack_read(opb,rangebits); + if(t<0 || t>=(1<<rangebits)) + goto err_out; + } + } + info->postlist[0]=0; + info->postlist[1]=1<<rangebits; |