Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=608905ac7b42eea47f37150cbbdca3a089c748f2
commit 608905ac7b42eea47f37150cbbdca3a089c748f2
Author: crazy <[EMAIL PROTECTED]>
Date: Thu Apr 3 16:05:09 2008 +0200
vlc-0.8.6-14-i686
* Version bump to patchlevel 'f'
* removed all patches are upstream
* workaround for libtool breakage
diff --git a/source/xmultimedia-extra/vlc/CVE-2008-1489.patch
b/source/xmultimedia-extra/vlc/CVE-2008-1489.patch
deleted file mode 100644
index 3a789cc..0000000
--- a/source/xmultimedia-extra/vlc/CVE-2008-1489.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Index: modules/demux/mp4/libmp4.c
-===================================================================
---- modules/demux/mp4/libmp4.c (revision
0e90ac58d8d1476cfdd81eb57e2a2a0eca0e5d91)
-+++ modules/demux/mp4/libmp4.c (revision
09572892df7e72c0d4e598c0b5e076cf330d8b0a)
-@@ -1985,8 +1985,12 @@
- MP4_GETFOURCC( p_box->data.p_rdrf->i_ref_type );
- MP4_GET4BYTES( i_len );
-+ i_len++;
-+
- if( i_len > 0 )
- {
- uint32_t i;
-- p_box->data.p_rdrf->psz_ref = malloc( i_len + 1);
-+ p_box->data.p_rdrf->psz_ref = malloc( i_len );
-+ i_len--;
-+
- for( i = 0; i < i_len; i++ )
- {
-
diff --git a/source/xmultimedia-extra/vlc/FrugalBuild
b/source/xmultimedia-extra/vlc/FrugalBuild
index 02038d8..5a17dcc 100644
--- a/source/xmultimedia-extra/vlc/FrugalBuild
+++ b/source/xmultimedia-extra/vlc/FrugalBuild
@@ -4,8 +4,8 @@
pkgname=vlc
pkgver=0.8.6
-pkgextraver=e
-pkgrel=13
+pkgextraver=f
+pkgrel=14
pkgdesc="The cross-platform media player and streaming server."
url="http://www.videolan.org/vlc/"
depends=('alsa-lib' 'dbus-glib>=0.71' 'hal>=0.5.7.1-3' 'libxml2' 'libdvdnav'
'libmad' 'libmatroska' \
@@ -20,16 +20,12 @@ archs=('i686' 'x86_64')
up2date="lynx -dump $url/download-sources.html|grep -m1 'Latest VLC'|sed
's/.*(\(.*\)).*/\1/;s/$pkgextraver//'"
source=(http://download.videolan.org/pub/videolan/vlc/$pkgver$pkgextraver/$pkgname-$pkgver$pkgextraver.tar.bz2
\
$pkgname-ffmpeg.diff $pkgname.desktop vlc-0.8.5-libintl.diff \
- libdca.patch CVE-2008-1489.patch cinepak-mem-corruption-fixes.patch \
- libebml-0.7.8.patch)
-sha1sums=('6b981ddbe7f6b95cd566ee195b4445b5773c21bd' \
+ libdca.patch)
+sha1sums=('9684bb7504636d3e3143734698c2bbac250f4a03' \
'888a02c9f81331fce1f6ee5f705ce68e5b486ffd' \
'0c58c35fe47c4d14cd4d4c8c505863dbfc93f5e0' \
'50bfbc12fc0ad94178b2e08df22a0b26da36c1d5' \
- 'edc3a14dfd9b022dca7593e006c324fa5cc17e48' \
- '3e794876f5e5a50d4eb8cb3ae1382524a60b37c4' \
- '5cd2b133b73a44beb34600e48573c3f717bd4545' \
- '3808656c17b47091498e60936101fbea0c66ae7c')
+ 'edc3a14dfd9b022dca7593e006c324fa5cc17e48')
build()
{
@@ -41,7 +37,8 @@ build()
Fsed '/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf' \
'/usr/lib/X11/fonts/TTF/VeraBd.ttf' \
modules/misc/freetype.c
- ./bootstrap || return 1
+ #./bootstrap || return 1
+ autoconf || Fdie
Fconf \
--enable-faad \
--enable-dvdread \
diff --git a/source/xmultimedia-extra/vlc/cinepak-mem-corruption-fixes.patch
b/source/xmultimedia-extra/vlc/cinepak-mem-corruption-fixes.patch
deleted file mode 100644
index 72b8cda..0000000
--- a/source/xmultimedia-extra/vlc/cinepak-mem-corruption-fixes.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-Index: modules/codec/cinepak.c
-===================================================================
---- modules/codec/cinepak.c (revision 9cc8c304bc575fe984eaa711f6ac4ad58ca4a351)
-+++ modules/codec/cinepak.c (revision cf489d7bff3c1b36b2d5501ecf21129c78104d98)
-@@ -60,6 +60,6 @@
- int b_grayscale; /* force to grayscale */
-
-- int i_width;
-- int i_height;
-+ unsigned int i_width;
-+ unsigned int i_height;
-
- int i_stride_x;
-@@ -90,5 +90,5 @@
- static picture_t *DecodeBlock ( decoder_t *, block_t ** );
-
--static int cinepak_decode_frame( cinepak_context_t *, int, uint8_t * );
-+static int cinepak_decode_frame( cinepak_context_t *, size_t, uint8_t * );
-
- /*****************************************************************************
-@@ -283,4 +283,14 @@
- int i,j;
-
-+ size_t y_max = p_context->i_stride[0] * ( i_y + 5 ) + i_x + 5;
-+ size_t u_max = p_context->i_stride[1] * ( ( i_y/2 ) + 2 ) + 2 + ( i_x / 2
);
-+ size_t v_max = p_context->i_stride[2] * ( ( i_y/2 ) + 2 ) + 2 + ( i_x / 2
);
-+ size_t y_siz = p_context->i_stride[0] * p_context->i_lines[0];
-+ size_t u_siz = p_context->i_stride[1] * p_context->i_lines[1];
-+ size_t v_siz = p_context->i_stride[2] * p_context->i_lines[2];
-+ /* boundary check */
-+ if( y_max >= y_siz || u_max >= u_siz || v_max >= v_siz )
-+ return;
-+
- uint8_t *p_dst_y, *p_dst_u, *p_dst_v;
- #define PIX_SET_Y( x, y, v ) \
-@@ -330,4 +340,14 @@
- int i,j;
-
-+ size_t y_max = p_context->i_stride[0] * ( i_y + 5 ) + i_x + 5;
-+ size_t u_max = p_context->i_stride[1] * ( ( i_y/2 ) + 2 ) + 2 + ( i_x / 2
);
-+ size_t v_max = p_context->i_stride[2] * ( ( i_y/2 ) + 2 ) + 2 + ( i_x / 2
);
-+ size_t y_siz = p_context->i_stride[0] * p_context->i_lines[0];
-+ size_t u_siz = p_context->i_stride[1] * p_context->i_lines[1];
-+ size_t v_siz = p_context->i_stride[2] * p_context->i_lines[2];
-+ /* boundary check */
-+ if( y_max >= y_siz || u_max >= u_siz || v_max >= v_siz )
-+ return;
-+
- uint8_t *p_dst_y, *p_dst_u, *p_dst_v;
- #define PIX_SET_Y( x, y, v ) \
-@@ -372,12 +392,12 @@
-
*****************************************************************************/
- static int cinepak_decode_frame( cinepak_context_t *p_context,
-- int i_length, uint8_t *p_data )
-+ size_t i_length, uint8_t *p_data )
- {
- int i_strip;
-
-- int i_frame_flags;
-- int i_frame_size;
-- int i_width, i_height;
-- int i_frame_strips;
-+ int8_t i_frame_flags;
-+ uint32_t i_frame_size;
-+ uint16_t i_width, i_height;
-+ uint16_t i_frame_strips;
- int i_index;
- int i_strip_x1 =0, i_strip_y1=0;
-@@ -449,6 +469,5 @@
- for( i_strip = 0; i_strip < i_frame_strips; i_strip++ )
- {
-- int i_strip_id;
-- int i_strip_size;
-+ uint16_t i_strip_size;
-
- if( i_length <= 12 )
-@@ -457,5 +476,6 @@
- }
-
-- i_strip_id = GET2BYTES( p_data );
-+ p_data += 2; /* int16_t i_strip_id = GET2BYTES( p_data ); */
-+
- i_strip_size = GET2BYTES( p_data );
- i_strip_size = __MIN( i_strip_size, i_length );
-
diff --git a/source/xmultimedia-extra/vlc/libebml-0.7.8.patch
b/source/xmultimedia-extra/vlc/libebml-0.7.8.patch
deleted file mode 100644
index 628c28d..0000000
--- a/source/xmultimedia-extra/vlc/libebml-0.7.8.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur vlc-0.8.6e/modules/demux/mkv.cpp vlc-0.8.6e-p/modules/demux/mkv.cpp
---- vlc-0.8.6e/modules/demux/mkv.cpp 2008-02-24 20:01:53.000000000 +0100
-+++ vlc-0.8.6e-p/modules/demux/mkv.cpp 2008-03-26 22:22:08.000000000 +0100
-@@ -5845,7 +5845,7 @@
- binary *p_data = (*index)->GetBuffer();
- size_t i_size = *p_data++;
- // avoid reading too much from the buffer
-- i_size = min( i_size, ((*index)->GetSize() - 1) >> 3 );
-+ i_size = __MIN( i_size, ((*index)->GetSize() - 1) >> 3 );
- for ( ; i_size > 0; i_size--, p_data += 8 )
- {
- msg_Dbg( &sys.demuxer, "Matroska DVD enter command" );
-@@ -5868,7 +5868,7 @@
- binary *p_data = (*index)->GetBuffer();
- size_t i_size = *p_data++;
- // avoid reading too much from the buffer
-- i_size = min( i_size, ((*index)->GetSize() - 1) >> 3 );
-+ i_size = __MIN( i_size, ((*index)->GetSize() - 1) >> 3 );
- for ( ; i_size > 0; i_size--, p_data += 8 )
- {
- msg_Dbg( &sys.demuxer, "Matroska DVD leave command" );
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git