diff options
Diffstat (limited to 'package/mplayer/patches')
-rw-r--r-- | package/mplayer/patches/patch-configure | 48 | ||||
-rw-r--r-- | package/mplayer/patches/patch-libao2_ao_alsa_c | 11 | ||||
-rw-r--r-- | package/mplayer/patches/patch-loader_win32_c | 9 |
3 files changed, 25 insertions, 43 deletions
diff --git a/package/mplayer/patches/patch-configure b/package/mplayer/patches/patch-configure index 4ef4de805..dcebb8645 100644 --- a/package/mplayer/patches/patch-configure +++ b/package/mplayer/patches/patch-configure @@ -1,39 +1,11 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- MPlayer-1.0rc2.orig/configure 2007-10-07 21:49:33.000000000 +0200 -+++ MPlayer-1.0rc2/configure 2009-05-10 18:37:32.000000000 +0200 -@@ -2331,7 +2331,7 @@ elif test -z "$CFLAGS" ; then - elif test "$cc_vendor" != "gnu" ; then - CFLAGS="-O2 $_march $_mcpu $_pipe" - else -- CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" -+ CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" - fi - else - _warn_CFLAGS=yes -@@ -3853,26 +3853,6 @@ else - fi +--- mplayer-1.0-29987.orig/configure 2009-12-10 13:18:20.000000000 +0100 ++++ mplayer-1.0-29987/configure 2010-03-06 12:52:36.000000000 +0100 +@@ -2266,7 +2266,7 @@ EOF + _optimizing="$proc" + ;; - --echocheck "X11 headers presence" -- _x11_headers="no" -- _res_comment="check if the dev(el) packages are installed" -- for I in `echo $_inc_extra | sed s/-I//g` /usr/include ; do -- if test -f "$I/X11/Xlib.h" ; then -- _x11_headers="yes" -- _res_comment="" -- break -- fi -- done -- for I in /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/openwin/include ; do -- if test -f "$I/X11/Xlib.h" ; then -- _inc_extra="$_inc_extra -I$I" -- _x11_headers="yes" -- _res_comment="using $I" -- break -- fi -- done --echores "$_x11_headers" -- - - echocheck "X11" - if test "$_x11" = auto && test "$_x11_headers" = yes ; then +- mips) ++ mips|mips64|mipsel|mips64el) + _arch='SGI_MIPS' + _target_arch='ARCH_SGI_MIPS = yes' + iproc='sgi-mips' diff --git a/package/mplayer/patches/patch-libao2_ao_alsa_c b/package/mplayer/patches/patch-libao2_ao_alsa_c new file mode 100644 index 000000000..7f6478baa --- /dev/null +++ b/package/mplayer/patches/patch-libao2_ao_alsa_c @@ -0,0 +1,11 @@ +--- mplayer-1.0-29987.orig/libao2/ao_alsa.c 2009-12-10 21:54:25.000000000 +0100 ++++ mplayer-1.0-29987/libao2/ao_alsa.c 2009-12-10 22:38:31.000000000 +0100 +@@ -772,8 +772,6 @@ static int play(void* data, int len, int + { + int num_frames; + snd_pcm_sframes_t res = 0; +- if (!(flags & AOPLAY_FINAL_CHUNK) && len > ao_data.outburst) +- len = len / ao_data.outburst * ao_data.outburst; + num_frames = len / bytes_per_sample; + + //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i, len=%i\n",num_frames,len); diff --git a/package/mplayer/patches/patch-loader_win32_c b/package/mplayer/patches/patch-loader_win32_c index e5537e02a..9392be1ce 100644 --- a/package/mplayer/patches/patch-loader_win32_c +++ b/package/mplayer/patches/patch-loader_win32_c @@ -1,10 +1,9 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- MPlayer-1.0rc2.orig/loader/win32.c 2007-10-07 21:49:32.000000000 +0200 -+++ MPlayer-1.0rc2/loader/win32.c 2008-10-28 15:29:47.000000000 +0100 -@@ -63,7 +63,6 @@ for DLL to know too much about its envir - #include <sys/types.h> +--- mplayer-1.0-29973.orig/loader/win32.c 2009-12-02 19:45:33.000000000 +0100 ++++ mplayer-1.0-29973/loader/win32.c 2009-12-04 22:32:05.000000000 +0100 +@@ -61,7 +61,6 @@ for DLL to know too much about its envir #include <dirent.h> #include <sys/time.h> + #include <sys/stat.h> -#include <sys/timeb.h> #ifdef HAVE_KSTAT #include <kstat.h> |