From 298cd8eaa21a21eee85f9551a26ad294347b1d5a Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 3 Feb 2015 14:52:07 +0100 Subject: package/*: rename patches according to the new policy Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin Signed-off-by: Peter Korsgaard --- package/libmpeg2/0001-altivec.patch | 23 +++++++++++++++++++++++ package/libmpeg2/0002-armv4l.patch | 24 ++++++++++++++++++++++++ package/libmpeg2/libmpeg2-0.5.1-altivec.patch | 23 ----------------------- package/libmpeg2/libmpeg2-0.5.1-armv4l.patch | 24 ------------------------ 4 files changed, 47 insertions(+), 47 deletions(-) create mode 100644 package/libmpeg2/0001-altivec.patch create mode 100644 package/libmpeg2/0002-armv4l.patch delete mode 100644 package/libmpeg2/libmpeg2-0.5.1-altivec.patch delete mode 100644 package/libmpeg2/libmpeg2-0.5.1-armv4l.patch (limited to 'package/libmpeg2') diff --git a/package/libmpeg2/0001-altivec.patch b/package/libmpeg2/0001-altivec.patch new file mode 100644 index 0000000000..4928a62e6d --- /dev/null +++ b/package/libmpeg2/0001-altivec.patch @@ -0,0 +1,23 @@ +[PATCH] fix altivec.h detection + +Patch from Gentoo: + +http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libmpeg2/files/libmpeg2-0.5.1-altivec.patch?revision=1.1&view=markup + +Signed-off-by: Peter Korsgaard +--- a/configure.ac.bak 2010-05-25 17:12:14.756245990 +0000 ++++ b/configure.ac 2010-05-25 17:11:51.629581723 +0000 +@@ -79,11 +79,10 @@ + CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS" + AC_MSG_CHECKING([if is needed]) + AC_TRY_COMPILE([], +- [typedef vector int t; +- vec_ld(0, (unsigned char *)0);], ++ [vector int t; t = vec_add(t,t);], + [have_altivec=yes; AC_MSG_RESULT(no)], + [AC_TRY_COMPILE([#include ], +- [typedef vector int t; vec_ld(0, (unsigned char *)0);], ++ [vector int t; t = vec_add(t,t);], + [AC_DEFINE([HAVE_ALTIVEC_H],, + [Define to 1 if you have the header.]) + have_altivec=yes; AC_MSG_RESULT(yes)], diff --git a/package/libmpeg2/0002-armv4l.patch b/package/libmpeg2/0002-armv4l.patch new file mode 100644 index 0000000000..70d45ef916 --- /dev/null +++ b/package/libmpeg2/0002-armv4l.patch @@ -0,0 +1,24 @@ +Patch taken from gentoo. + +Signed-off-by: Gustavo Zacarias + +diff -urNp libmpeg2.orig/libmpeg2/motion_comp_arm_s.S libmpeg2/libmpeg2/motion_comp_arm_s.S +--- libmpeg2.orig/libmpeg2/motion_comp_arm_s.S 2008-07-09 21:16:05.000000000 +0200 ++++ libmpeg2/libmpeg2/motion_comp_arm_s.S 2009-11-20 19:55:22.000000000 +0100 +@@ -19,6 +19,16 @@ + @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + ++@ Data preload is supported only by ARM V5TE and above ++ ++#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \ ++ || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \ ++ || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \ ++ || defined (__ARM_ARCH_5T__)) ++.macro pld reg ++.endm ++#endif ++ + .text + + @ ---------------------------------------------------------------- diff --git a/package/libmpeg2/libmpeg2-0.5.1-altivec.patch b/package/libmpeg2/libmpeg2-0.5.1-altivec.patch deleted file mode 100644 index 4928a62e6d..0000000000 --- a/package/libmpeg2/libmpeg2-0.5.1-altivec.patch +++ /dev/null @@ -1,23 +0,0 @@ -[PATCH] fix altivec.h detection - -Patch from Gentoo: - -http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libmpeg2/files/libmpeg2-0.5.1-altivec.patch?revision=1.1&view=markup - -Signed-off-by: Peter Korsgaard ---- a/configure.ac.bak 2010-05-25 17:12:14.756245990 +0000 -+++ b/configure.ac 2010-05-25 17:11:51.629581723 +0000 -@@ -79,11 +79,10 @@ - CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS" - AC_MSG_CHECKING([if is needed]) - AC_TRY_COMPILE([], -- [typedef vector int t; -- vec_ld(0, (unsigned char *)0);], -+ [vector int t; t = vec_add(t,t);], - [have_altivec=yes; AC_MSG_RESULT(no)], - [AC_TRY_COMPILE([#include ], -- [typedef vector int t; vec_ld(0, (unsigned char *)0);], -+ [vector int t; t = vec_add(t,t);], - [AC_DEFINE([HAVE_ALTIVEC_H],, - [Define to 1 if you have the header.]) - have_altivec=yes; AC_MSG_RESULT(yes)], diff --git a/package/libmpeg2/libmpeg2-0.5.1-armv4l.patch b/package/libmpeg2/libmpeg2-0.5.1-armv4l.patch deleted file mode 100644 index 70d45ef916..0000000000 --- a/package/libmpeg2/libmpeg2-0.5.1-armv4l.patch +++ /dev/null @@ -1,24 +0,0 @@ -Patch taken from gentoo. - -Signed-off-by: Gustavo Zacarias - -diff -urNp libmpeg2.orig/libmpeg2/motion_comp_arm_s.S libmpeg2/libmpeg2/motion_comp_arm_s.S ---- libmpeg2.orig/libmpeg2/motion_comp_arm_s.S 2008-07-09 21:16:05.000000000 +0200 -+++ libmpeg2/libmpeg2/motion_comp_arm_s.S 2009-11-20 19:55:22.000000000 +0100 -@@ -19,6 +19,16 @@ - @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -+@ Data preload is supported only by ARM V5TE and above -+ -+#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \ -+ || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \ -+ || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \ -+ || defined (__ARM_ARCH_5T__)) -+.macro pld reg -+.endm -+#endif -+ - .text - - @ ---------------------------------------------------------------- -- cgit v1.2.1