summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-11-12 08:10:33 +0000
committerTim Harder <radhermit@gentoo.org>2011-11-12 08:10:33 +0000
commitf1e2898827ec4bf7afcdc99e06b709d06b030696 (patch)
treef002c565f4fae9a691eaf166539e0067b89843bd /media-video/avidemux/files
parent[bump] dev-perl/Test-Fatal-0.8.0 (diff)
downloadhistorical-f1e2898827ec4bf7afcdc99e06b709d06b030696.tar.gz
historical-f1e2898827ec4bf7afcdc99e06b709d06b030696.tar.bz2
historical-f1e2898827ec4bf7afcdc99e06b709d06b030696.zip
Remove old.
Package-Manager: portage-2.2.0_alpha73/cvs/Linux x86_64
Diffstat (limited to 'media-video/avidemux/files')
-rw-r--r--media-video/avidemux/files/2.5.3_field_asm_fix.diff135
-rw-r--r--media-video/avidemux/files/avidemux-2.4-cmake264.patch36
-rw-r--r--media-video/avidemux/files/avidemux-2.4-i18n.patch33
-rw-r--r--media-video/avidemux/files/avidemux-2.4-ts-cmake.patch13
-rw-r--r--media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch135
-rw-r--r--media-video/avidemux/files/avidemux-2.5.1-build-plugins-fix.patch11
-rw-r--r--media-video/avidemux/files/avidemux-2.5.2-altivec-bool.patch12
-rw-r--r--media-video/avidemux/files/avidemux-2.5.3-build-plugins-fix.patch13
-rw-r--r--media-video/avidemux/files/avidemux-2.5.3-fix-fgets-fortify.patch43
-rw-r--r--media-video/avidemux/files/avidemux-pulseaudiosimple.patch22
-rw-r--r--media-video/avidemux/files/lavcodec-mpegvideo_mmx-asm-fix.patch56
11 files changed, 0 insertions, 509 deletions
diff --git a/media-video/avidemux/files/2.5.3_field_asm_fix.diff b/media-video/avidemux/files/2.5.3_field_asm_fix.diff
deleted file mode 100644
index 989559bf66f9..000000000000
--- a/media-video/avidemux/files/2.5.3_field_asm_fix.diff
+++ /dev/null
@@ -1,135 +0,0 @@
-diff --git a/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp b/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp
-index 33b2a7f..99f0664 100644
---- a/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp
-+++ b/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp
-@@ -30,19 +30,8 @@ Skip factor=2
- ***************************************************************************/
-
- #include "ADM_default.h"
--
--//#include "ADM_editor/ADM_edit.hxx"
- #include "ADM_videoFilter.h"
-
--//#define MMX_TRACE
--#warning remove mmxmacro and debug asm
--//#define ASM_ILACING
--
--
--#include "ADM_mmxMacros.h"
--
--
--
-
- #define SKIP_FACTOR 2 // 2^SKIPFACTOR=SKIP_LINEAR+1
- #define SKIP_LINEAR 3
-@@ -62,7 +51,7 @@ Skip factor=2
- */
-
- #if defined(ADM_CPU_X86) && defined(ASM_ILACING)
--
-+#warning REWRITE IN PLAIN ASM
- static uint32_t ADMVideo_interlaceCount_MMX( uint8_t *src ,uint32_t w, uint32_t h);
- static uint8_t * FUNNY_MANGLE(_l_p) =NULL;
- static uint8_t * FUNNY_MANGLE(_l_c) =NULL;
-diff --git a/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp b/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp
-index 61d11d4..479731c 100644
---- a/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp
-+++ b/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp
-@@ -20,15 +20,13 @@
- ***************************************************************************/
-
- #include "ADM_default.h"
--
- #include "ADM_videoFilter.h"
--
- #include"ADM_vidField.h"
-
- #ifdef ADM_CPU_X86
- // #define DEBUG_DEINT 1
- // #define MMX_TRACE 1
-- #include "ADM_mmxMacros.h"
-+// #include "ADM_mmxMacros.h"
-
- void myDeintASM(void);
-
-@@ -36,25 +34,27 @@
- static uint8_t * FUNNY_MANGLE(_l_p) , * FUNNY_MANGLE(_l_c) ,* FUNNY_MANGLE(_l_n);
- static uint8_t * FUNNY_MANGLE(_l_e) , * FUNNY_MANGLE(_l_e2);
- #define EXPAND(x) (x)+((x)<<16)+((x)<<32) +((x)<<48)
--static mmx_t _mmTHRESH1;
--static mmx_t _mmTHRESH2;
-+static uint64_t __attribute__((used)) __attribute__ ((__aligned__ (8))) FUNNY_MANGLE(_mmTHRESH1) ;
-+static uint64_t __attribute__((used)) __attribute__ ((__aligned__ (8))) FUNNY_MANGLE(_mmTHRESH2) ;
-
--#define COMPUTE_MMX \
--punpcklbw_r2r(mm5,mm0); /*c expand 4 bytes -> 4 word */ \
--punpcklbw_r2r(mm5,mm1); /*p*/ \
--punpcklbw_r2r(mm5,mm2); /* n*/ \
--movq_r2r(mm0,mm3); /* mm3 also c*/ \
--psubw_r2r(mm1,mm0) ; /* mm0=mm0-mm1 = c-p*/ \
--psubw_r2r(mm2,mm3) ; /* mm3=mm3-mm2 = c-n*/ \
--psraw_i2r(1,mm0); /* to protect from overflow*/ \
--psraw_i2r(1,mm3);\
--pmullw_r2r(mm0,mm3); /* mm3=(c-p)*(c-n) / 4;*/ \
--movq_r2r(mm3,mm0) ; /* mm0 also c-p*c-n */ \
--pcmpgtw_r2r(mm4,mm3); /* keep only > size*/ \
--pcmpgtw_r2r(mm6,mm0); /* keep only > size*/ \
--packsswb_r2r(mm5,mm0); \
--packsswb_r2r(mm5,mm3);
-
-+#define COMPUTE_MMX \
-+__asm__ __volatile__(\
-+"punpcklbw %%mm5,%%mm0\n\t" \
-+"punpcklbw %%mm5,%%mm1\n\t" \
-+"punpcklbw %%mm5,%%mm2\n\t" \
-+"movq %%mm0,%%mm3\n\t" \
-+"psubw %%mm1,%%mm0\n\t" \
-+"psubw %%mm2,%%mm3\n\t" \
-+"psraw $1,%%mm0\n\t" \
-+"psraw $1,%%mm3\n\t" \
-+"pmullw %%mm0,%%mm3\n\t" \
-+"movq %%mm3,%%mm0\n\t" \
-+"pcmpgtw %%mm4,%%mm3\n\t" \
-+"pcmpgtw %%mm6,%%mm0\n\t" \
-+"packsswb %%mm5,%%mm0\n\t" \
-+"packsswb %%mm5,%%mm3\n\t" \
-+::)
- #endif
-
- void ADMVideoFields::hasMotion_C(uint8_t *p,uint8_t *c,
-@@ -90,8 +90,8 @@ void ADMVideoFields::hasMotion_MMX(uint8_t *p,uint8_t *c,
- {
-
-
-- _mmTHRESH1.uq=EXPAND((uint64_t ) ((_param->motion_trigger*_param->motion_trigger)>>2) );
-- _mmTHRESH2.uq=EXPAND((uint64_t ) ((_param->blend_trigger*_param->blend_trigger)>>2) );
-+ _mmTHRESH1=EXPAND((uint64_t ) ((_param->motion_trigger*_param->motion_trigger)>>2) );
-+ _mmTHRESH2=EXPAND((uint64_t ) ((_param->blend_trigger*_param->blend_trigger)>>2) );
-
- _l_h=_info.height-2;
- _l_w=_info.width>>2;
-@@ -102,10 +102,11 @@ void ADMVideoFields::hasMotion_MMX(uint8_t *p,uint8_t *c,
- _l_e=e;
- _l_e2=e2;
- // printf("\n MMX \n");
--
-- pxor_r2r(mm5,mm5);
-- movq_m2r(_mmTHRESH1,mm4);
-- movq_m2r(_mmTHRESH2,mm6);
-+ __asm__ __volatile__ (
-+ "pxor %%mm5,%%mm5\n\t"
-+ "movq "Mangle(_mmTHRESH1)",%%mm4\n\t"
-+ "movq "Mangle(_mmTHRESH2)",%%mm6\n\t"
-+ ::);
- myDeintASM();
- }
- #if !defined(DEBUG_DEINT)
-@@ -149,7 +150,7 @@ void myDeintASM(void)
- :
- : "eax", "ecx","edx","esi"
- );
-- emms();
-+ __asm__ __volatile__ ("emms");
-
- }
- #else
diff --git a/media-video/avidemux/files/avidemux-2.4-cmake264.patch b/media-video/avidemux/files/avidemux-2.4-cmake264.patch
deleted file mode 100644
index 80338a8061a5..000000000000
--- a/media-video/avidemux/files/avidemux-2.4-cmake264.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -uNr avidemux_2.4.4.orig/avidemux/CMakeLists.txt avidemux_2.4.4/avidemux/CMakeLists.txt
---- avidemux_2.4.4.orig/avidemux/CMakeLists.txt 2009-05-06 13:00:10.000000000 +0200
-+++ avidemux_2.4.4/avidemux/CMakeLists.txt 2009-05-06 13:00:49.000000000 +0200
-@@ -84,7 +84,6 @@
- ADM_audio
- ADM_script
- ADM_videoFilter
--ADM_filter
- ADM_video
- ADM_audiodevice
- ADM_ocr
-@@ -93,6 +92,24 @@
-
- FOREACH(_current ${ADM_SUBDIR})
- ADD_SUBDIRECTORY(${_current})
-+ENDFOREACH(_current ${ADM_SUBDIR})
-+
-+SET(ADM_SUBDIR
-+ADM_filter
-+ADM_audiofilter
-+ADM_editor
-+ADM_audiocodec
-+ADM_audio
-+ADM_script
-+ADM_videoFilter
-+ADM_filter
-+ADM_video
-+ADM_audiodevice
-+ADM_ocr
-+ADM_colorspace
-+)
-+
-+FOREACH(_current ${ADM_SUBDIR})
- add_libs_all_targets(${_current})
- ENDFOREACH(_current ${ADM_SUBDIR})
-
diff --git a/media-video/avidemux/files/avidemux-2.4-i18n.patch b/media-video/avidemux/files/avidemux-2.4-i18n.patch
deleted file mode 100644
index 06a789338e04..000000000000
--- a/media-video/avidemux/files/avidemux-2.4-i18n.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -ur avidemux_2.4.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp avidemux_2.4/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp
---- avidemux_2.4.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2007-10-16 21:23:21.000000000 +0300
-+++ avidemux_2.4/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2007-12-28 20:35:30.000000000 +0200
-@@ -53,7 +53,7 @@
- {
- printf("\n[Locale] Locale: %s\n", QLocale::system().name().toUtf8().constData());
-
-- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
-+ QString appdir = "/usr/share/avidemux/i18n/";
-
- loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name());
- loadTranslation(&avidemuxTranslator, appdir + "avidemux_" + QLocale::system().name());
-diff -ur avidemux_2.4.orig/cmake/Ts.cmake avidemux_2.4/cmake/Ts.cmake
---- avidemux_2.4.orig/cmake/Ts.cmake 2007-10-14 14:58:28.000000000 +0300
-+++ avidemux_2.4/cmake/Ts.cmake 2007-12-28 20:36:05.000000000 +0200
-@@ -63,7 +63,7 @@
-
- SET(qm_files ${qm_files} ${_outXml} ${_out})
-
-- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n")
-+ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
- ENDFOREACH(ts_input ${ts_files})
-
- SET(${_sources} ${${_sources}} ${qm_files})
-@@ -94,7 +94,7 @@
-
- SET(qm_files ${qm_files} ${_out})
-
-- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/i18n")
-+ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
- ENDFOREACH(ts_input ${ts_files})
-
- SET(${_sources} ${${_sources}} ${qm_files})
diff --git a/media-video/avidemux/files/avidemux-2.4-ts-cmake.patch b/media-video/avidemux/files/avidemux-2.4-ts-cmake.patch
deleted file mode 100644
index 3edbec0cada8..000000000000
--- a/media-video/avidemux/files/avidemux-2.4-ts-cmake.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: avidemux_2.4.4/cmake/Ts.cmake
-===================================================================
---- avidemux_2.4.4.orig/cmake/Ts.cmake
-+++ avidemux_2.4.4/cmake/Ts.cmake
-@@ -58,7 +58,7 @@ MACRO(COMPILE_AVIDEMUX_TS_FILES ts_subdi
- COMMAND ${LRELEASE_EXECUTABLE}
- ${_outXml}
- -qm ${_out}
-- DEPENDS ${_in}
-+ DEPENDS ${_outXml}
- )
-
- SET(qm_files ${qm_files} ${_outXml} ${_out})
diff --git a/media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch b/media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch
deleted file mode 100644
index 9cf5a37ddddd..000000000000
--- a/media-video/avidemux/files/avidemux-2.4.4-gcc-4.4.patch
+++ /dev/null
@@ -1,135 +0,0 @@
---- avidemux/ADM_colorspace/ADM_rgb.h
-+++ avidemux/ADM_colorspace/ADM_rgb.h
-@@ -19,6 +19,8 @@
- #ifndef COLYUVRGB_H
- #define COLYUVRGB_H
-
-+#include <inttypes.h>
-+
- #define ADM_COLOR_IS_YUV 0x1000
- typedef enum
- {
---- avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp
-+++ avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp
-@@ -71,7 +71,7 @@
- */
- uint8_t fileParser::open( const char *filename,FP_TYPE *multi )
- {
-- char *dot = NULL; // pointer to the last dot in filename
-+ const char *dot = NULL; // pointer to the last dot in filename
- uint8_t decimals = 0; // number of decimals
- char *left = NULL, *number = NULL, *right = NULL; // parts of filename (after splitting)
-
---- avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc
-+++ avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc
-@@ -104,7 +104,7 @@
-
- int y4m_parse_ratio(y4m_ratio_t *r, const char *s)
- {
-- char *t = strchr(s, ':');
-+ const char *t = strchr(s, ':');
- if (t == NULL) return Y4M_ERR_RANGE;
- r->n = atoi(s);
- r->d = atoi(t+1);
---- avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp
-+++ avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp
-@@ -53,7 +53,7 @@
-
- bool LPCMStream::Probe(IBitStream &bs )
- {
-- char *last_dot = strrchr( bs.StreamName(), '.' );
-+ const char *last_dot = strrchr( bs.StreamName(), '.' );
- return
- last_dot != NULL
- && strcmp( last_dot+1, "lpcm") == 0;
---- avidemux/ADM_osSupport/ADM_fileio.cpp
-+++ avidemux/ADM_osSupport/ADM_fileio.cpp
-@@ -543,7 +543,7 @@
- */
- const char *GetFileName(const char *str)
- {
-- char *filename;
-+ const char *filename;
- char *filename2;
- #ifndef ADM_WIN32
- filename = strrchr(str, '/');
---- avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp
-+++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp
-@@ -1,6 +1,7 @@
- #include <QtGui>
-
- #include "../ADM_toolkit/qtToolkit.h"
-+#include <stdint.h>
-
- int DIA_colorSel(uint8_t *r, uint8_t *g, uint8_t *b)
- {
-@@ -17,4 +18,4 @@
- }
-
- return 0;
--}
-\ No newline at end of file
-+}
---- avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_cnr2.cpp
-+++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_cnr2.cpp
-@@ -16,6 +16,7 @@
- ***************************************************************************/
-
- #include <math.h>
-+#include <stdint.h>
-
- #include "config.h"
- #include "ui_cnr2.h"
---- avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_coloryuv.cpp
-+++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_coloryuv.cpp
-@@ -16,6 +16,7 @@
- ***************************************************************************/
- #include "config.h"
-
-+#include <stdint.h>
- #include <QtGui/QDialog>
-
- #include "ui_coloryuv.h"
---- avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.cpp
-+++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.cpp
-@@ -13,7 +13,7 @@
- ***************************************************************************/
-
- #include "config.h"
--
-+#include <cstdio>
- #include <math.h>
- #include <QPainter>
- #include <QSlider>
---- avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h
-+++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h
-@@ -1,6 +1,6 @@
- #ifndef ADM_Q_SLIDER_H
- #define ADM_Q_SLIDER_H
--
-+#include <inttypes.h>
- class ADM_QSlider : public QSlider
- {
- protected:
---- avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp
-+++ avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp
-@@ -9,7 +9,7 @@
- //
-
- #include "config.h"
--
-+#include <inttypes.h>
- #include <QtGui/QApplication>
- #include <QtGui/QDesktopWidget>
-
---- avidemux/ADM_video/mmx_macros.h
-+++ avidemux/ADM_video/mmx_macros.h
-@@ -353,7 +353,7 @@
- #define mmx_m2r(op, mem, reg) \
- __asm__ __volatile__ (#op " %0, %%" #reg \
- : /* nothing */ \
-- : "X" (mem))
-+ : "m" (mem))
-
- #define mmx_r2m(op, reg, mem) \
- __asm__ __volatile__ (#op " %%" #reg ", %0" \
diff --git a/media-video/avidemux/files/avidemux-2.5.1-build-plugins-fix.patch b/media-video/avidemux/files/avidemux-2.5.1-build-plugins-fix.patch
deleted file mode 100644
index 8d3634006906..000000000000
--- a/media-video/avidemux/files/avidemux-2.5.1-build-plugins-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- avidemux_2.5_branch_gruntster/CMakeLists.txt 2009-10-28 23:22:32.000000000 +0100
-+++ avidemux-2.5-r5428/CMakeLists.txt 2009-10-29 00:16:10.000000000 +0100
-@@ -202,7 +202,7 @@
- ADD_SUBDIRECTORY(avidemux)
- ADD_SUBDIRECTORY(po)
- ADD_SUBDIRECTORY(scripts)
--# MEANX : DOES NOT WORK ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
-+ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
-
- ########################################
- # Config Summary
diff --git a/media-video/avidemux/files/avidemux-2.5.2-altivec-bool.patch b/media-video/avidemux/files/avidemux-2.5.2-altivec-bool.patch
deleted file mode 100644
index 3e817fcdd6ee..000000000000
--- a/media-video/avidemux/files/avidemux-2.5.2-altivec-bool.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- avidemux/ADM_libraries/ADM_libmpeg2enc/mjpeg_types.h 2010-06-03 14:35:59.449422885 +0000
-+++ mavidemux/ADM_libraries/ADM_libmpeg2enc/jpeg_types.h 2010-06-03 14:35:49.612757527 +0000
-@@ -76,7 +76,9 @@
-
- # define false false
- # define true true
-+#ifndef HAVE_ALTIVEC_H
- # define bool locBool
-+#endif
- # endif
- #endif
-
diff --git a/media-video/avidemux/files/avidemux-2.5.3-build-plugins-fix.patch b/media-video/avidemux/files/avidemux-2.5.3-build-plugins-fix.patch
deleted file mode 100644
index 0ab277dac099..000000000000
--- a/media-video/avidemux/files/avidemux-2.5.3-build-plugins-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: avidemux_2.5.3/CMakeLists.txt
-===================================================================
---- avidemux_2.5.3.orig/CMakeLists.txt
-+++ avidemux_2.5.3/CMakeLists.txt
-@@ -191,7 +191,7 @@ MESSAGE("")
- ADD_SUBDIRECTORY(avidemux)
- ADD_SUBDIRECTORY(po)
- ADD_SUBDIRECTORY(scripts)
--# MEANX : DOES NOT WORK ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
-+ADD_SUBDIRECTORY(plugins EXCLUDE_FROM_ALL)
-
- ########################################
- # Config Summary
diff --git a/media-video/avidemux/files/avidemux-2.5.3-fix-fgets-fortify.patch b/media-video/avidemux/files/avidemux-2.5.3-fix-fgets-fortify.patch
deleted file mode 100644
index 509478ab4dd9..000000000000
--- a/media-video/avidemux/files/avidemux-2.5.3-fix-fgets-fortify.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Switch calls of fgets from using magic numbers to using sizeof() to
-ensure that the size passed to fgets is consistent with the size
-allocated by the compiler.
-
-diff -ru a/plugins/ADM_videoFilters/Srt/ADM_vidSRTload.cpp b/plugins/ADM_videoFilters/Srt/ADM_vidSRTload.cpp
---- a/plugins/ADM_videoFilters/Srt/ADM_vidSRTload.cpp 2009-12-19 20:41:13.000000000 +0000
-+++ b/plugins/ADM_videoFilters/Srt/ADM_vidSRTload.cpp 2010-10-02 21:02:59.000000000 +0000
-@@ -86,7 +86,7 @@
- return 0;
-
- }
-- while (fgets (string, 200, _fd))
-+ while (fgets (string, sizeof(string), _fd))
- {
- _line++;
- }
-@@ -104,7 +104,7 @@
- //
- for (uint32_t i = 0; i < _line; i++)
- {
-- fgets (string, ADM_RAW, _fd);
-+ fgets (string, sizeof(string), _fd);
- //printf("\n in : %s ",string);
- if (string[0] != '{')
- continue;
-@@ -250,7 +250,7 @@
- // first cound how many line
- line = 0;
- _line = 0;
-- while (fgets (string, 300, _fd))
-+ while (fgets (string, sizeof(string), _fd))
- line++;
- printf ("\n subs : %ld lines\n", line);
- // rewind
-@@ -272,7 +272,7 @@
- for (uint32_t i = 0; i < line; i++)
- {
- current=&_subs[_line];
-- fgets (string, ADM_RAW, _fd);
-+ fgets (string, sizeof(string), _fd);
- ADM_utfConv(final,string,strlen(string),&finallen);
- // Purge cr/lf
- switch (state)
diff --git a/media-video/avidemux/files/avidemux-pulseaudiosimple.patch b/media-video/avidemux/files/avidemux-pulseaudiosimple.patch
deleted file mode 100644
index 320415b93593..000000000000
--- a/media-video/avidemux/files/avidemux-pulseaudiosimple.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: cmake/admCheckAudioDeviceLibs.cmake
-===================================================================
---- cmake/admCheckAudioDeviceLibs.cmake (revision 6442)
-+++ cmake/admCheckAudioDeviceLibs.cmake (working copy)
-@@ -145,6 +145,7 @@
-
- MESSAGE(STATUS "Checking for PulseAudio Simple")
- MESSAGE(STATUS "******************************")
-+ IF (PULSEAUDIOSIMPLE)
- IF (PULSEAUDIOSIMPLE_INCLUDE_DIR AND PULSEAUDIOSIMPLE_LIBRARIES)
- # in cache already
- SET(PULSEAUDIOSIMPLE_FIND_QUIETLY TRUE)
-@@ -186,6 +187,9 @@
- MARK_AS_ADVANCED(PULSEAUDIOSIMPLE_INCLUDE_DIR PULSEAUDIOSIMPLE_LIBRARIES)
-
- MESSAGE("")
-+ ELSE (PULSEAUDIOSIMPLE)
-+ MESSAGE("${MSG_DISABLE_OPTION}")
-+ ENDIF (PULSEAUDIOSIMPLE)
- ELSE (UNIX AND NOT APPLE)
- SET(PULSEAUDIOSIMPLE_CAPABLE FALSE)
- ENDIF (UNIX AND NOT APPLE)
diff --git a/media-video/avidemux/files/lavcodec-mpegvideo_mmx-asm-fix.patch b/media-video/avidemux/files/lavcodec-mpegvideo_mmx-asm-fix.patch
deleted file mode 100644
index c2ffdaef21b7..000000000000
--- a/media-video/avidemux/files/lavcodec-mpegvideo_mmx-asm-fix.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- a/avidemux/ADM_libraries/ADM_lavcodec/i386/mpegvideo_mmx.c 2008/05/09 11:56:36 13098
-+++ b/avidemux/ADM_libraries/ADM_lavcodec/i386/mpegvideo_mmx.c 2008/08/24 08:41:20 14941
-@@ -99,7 +99,7 @@
-
- "add $16, %3 \n\t"
- "jng 1b \n\t"
-- ::"r" (block+nCoeffs), "g"(qmul), "g" (qadd), "r" (2*(-nCoeffs))
-+ ::"r" (block+nCoeffs), "rm"(qmul), "rm" (qadd), "r" (2*(-nCoeffs))
- : "memory"
- );
- block[0]= level;
-@@ -162,7 +162,7 @@
-
- "add $16, %3 \n\t"
- "jng 1b \n\t"
-- ::"r" (block+nCoeffs), "g"(qmul), "g" (qadd), "r" (2*(-nCoeffs))
-+ ::"r" (block+nCoeffs), "rm"(qmul), "rm" (qadd), "r" (2*(-nCoeffs))
- : "memory"
- );
- }
-@@ -260,7 +260,7 @@
-
- "add $16, %%"REG_a" \n\t"
- "js 1b \n\t"
-- ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "g" (qscale), "g" (-2*nCoeffs)
-+ ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "rm" (qscale), "g" (-2*nCoeffs)
- : "%"REG_a, "memory"
- );
- block[0]= block0;
-@@ -327,7 +327,7 @@
-
- "add $16, %%"REG_a" \n\t"
- "js 1b \n\t"
-- ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "g" (qscale), "g" (-2*nCoeffs)
-+ ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "rm" (qscale), "g" (-2*nCoeffs)
- : "%"REG_a, "memory"
- );
- }
-@@ -391,7 +391,7 @@
-
- "add $16, %%"REG_a" \n\t"
- "jng 1b \n\t"
-- ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "g" (qscale), "g" (-2*nCoeffs)
-+ ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "rm" (qscale), "g" (-2*nCoeffs)
- : "%"REG_a, "memory"
- );
- block[0]= block0;
-@@ -470,7 +470,7 @@
- "pxor %%mm7, %%mm0 \n\t"
- "movd %%mm0, 124(%0, %3) \n\t"
-
-- ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "g" (qscale), "r" (-2*nCoeffs)
-+ ::"r" (block+nCoeffs), "r"(quant_matrix+nCoeffs), "rm" (qscale), "r" (-2*nCoeffs)
- : "%"REG_a, "memory"
- );
- }