[oe-commits] org.oe.dev libmad: update avr32 patch

koen commit openembedded-commits at lists.openembedded.org
Mon Feb 4 14:41:17 UTC 2008


libmad: update avr32 patch

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 4c232b3275b8f520250e89f62688b9d6917d7bf9
ViewMTN: http://monotone.openembedded.org/revision/info/4c232b3275b8f520250e89f62688b9d6917d7bf9
Files:
1
packages/libmad/files/libmad-0.15.1b-avr32-optimization.patch
packages/libmad/libmad_0.15.1b.bb
Diffs:

#
# mt diff -r2762975d0fd97316a18c454402945cce04b7ad7a -r4c232b3275b8f520250e89f62688b9d6917d7bf9
#
# 
# 
# patch "packages/libmad/files/libmad-0.15.1b-avr32-optimization.patch"
#  from [e0949dad838b63c646d58ab74e97aa86a3247427]
#    to [43f597b37b259d2959fb55a43dc74f7ef4192561]
# 
# patch "packages/libmad/libmad_0.15.1b.bb"
#  from [681e5446340f9939d27a70b7381f2b6e61aadd4e]
#    to [5adf575856900e241c7311e25081db325e13344d]
# 
============================================================
--- packages/libmad/files/libmad-0.15.1b-avr32-optimization.patch	e0949dad838b63c646d58ab74e97aa86a3247427
+++ packages/libmad/files/libmad-0.15.1b-avr32-optimization.patch	43f597b37b259d2959fb55a43dc74f7ef4192561
@@ -139,20 +139,19 @@ index 5a51570..70f550a 100644
  unsigned short mad_bit_crc(struct mad_bitptr, unsigned int, unsigned short);
  
  # endif
-diff --git a/configure b/configure
-index ee421cc..7a9f0c8 100755
---- a/configure
-+++ b/configure
-@@ -1048,7 +1048,7 @@ Optional Features:
-   --enable-speed          optimize for speed over accuracy
-   --enable-accuracy       optimize for accuracy over speed
-   --enable-fpm=ARCH       use ARCH-specific fixed-point math routines (one of:
--                          intel, arm, mips, sparc, ppc, 64bit, default)
-+                          intel, arm, avr32, mips, sparc, ppc, 64bit, default)
-   --enable-sso            use subband synthesis optimization
-   --disable-aso           disable architecture-specific optimizations
-   --enable-strict-iso     use strict ISO/IEC interpretations
-@@ -21477,6 +21477,7 @@ if test "${enable_fpm+set}" = set; then
+diff --git a/configure.ac b/configure.ac
+index 9b79399..063cb9b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -274,13 +274,14 @@ fi
+ AC_MSG_CHECKING(for architecture-specific fixed-point math routines)
+ AC_ARG_ENABLE(fpm, AC_HELP_STRING([--enable-fpm=ARCH],
+ 		   [use ARCH-specific fixed-point math routines
+-		    (one of: intel, arm, mips, sparc, ppc, 64bit, default)]),
++		    (one of: intel, arm, avr32, mips, sparc, ppc, 64bit, default)]),
+ [
+     case "$enableval" in
+ 	yes)                             ;;
  	no|default|approx) FPM="DEFAULT" ;;
  	intel|i?86)        FPM="INTEL"   ;;
  	arm)               FPM="ARM"     ;;
@@ -160,7 +159,7 @@ index ee421cc..7a9f0c8 100755
  	mips)              FPM="MIPS"    ;;
  	sparc)             FPM="SPARC"   ;;
  	ppc|powerpc)       FPM="PPC"     ;;
-@@ -21498,6 +21499,7 @@ then
+@@ -298,6 +299,7 @@ then
      case "$host" in
  	i?86-*)     FPM="INTEL"  ;;
  	arm*-*)     FPM="ARM"    ;;
@@ -168,7 +167,7 @@ index ee421cc..7a9f0c8 100755
  	mips*-*)    FPM="MIPS"   ;;
  	sparc*-*)   FPM="SPARC"  ;;
  	powerpc*-*) FPM="PPC"    ;;
-@@ -21554,6 +21556,11 @@ then
+@@ -343,6 +345,11 @@ then
  	    ASO="$ASO -DASO_IMDCT"
  	    ASO_OBJS="imdct_l_arm.lo"
  	    ;;
@@ -180,19 +179,20 @@ index ee421cc..7a9f0c8 100755
  	mips*-*)
  	    ASO="$ASO -DASO_INTERLEAVE2"
  	    ASO="$ASO -DASO_ZEROCHECK"
-diff --git a/configure.ac b/configure.ac
-index 9b79399..063cb9b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -274,13 +274,14 @@ fi
- AC_MSG_CHECKING(for architecture-specific fixed-point math routines)
- AC_ARG_ENABLE(fpm, AC_HELP_STRING([--enable-fpm=ARCH],
- 		   [use ARCH-specific fixed-point math routines
--		    (one of: intel, arm, mips, sparc, ppc, 64bit, default)]),
-+		    (one of: intel, arm, avr32, mips, sparc, ppc, 64bit, default)]),
- [
-     case "$enableval" in
- 	yes)                             ;;
+diff --git a/configure b/configure
+index ee421cc..7a9f0c8 100755
+--- a/configure
++++ b/configure
+@@ -1048,7 +1048,7 @@ Optional Features:
+   --enable-speed          optimize for speed over accuracy
+   --enable-accuracy       optimize for accuracy over speed
+   --enable-fpm=ARCH       use ARCH-specific fixed-point math routines (one of:
+-                          intel, arm, mips, sparc, ppc, 64bit, default)
++                          intel, arm, avr32, mips, sparc, ppc, 64bit, default)
+   --enable-sso            use subband synthesis optimization
+   --disable-aso           disable architecture-specific optimizations
+   --enable-strict-iso     use strict ISO/IEC interpretations
+@@ -21477,6 +21477,7 @@ if test "${enable_fpm+set}" = set; then
  	no|default|approx) FPM="DEFAULT" ;;
  	intel|i?86)        FPM="INTEL"   ;;
  	arm)               FPM="ARM"     ;;
@@ -200,7 +200,7 @@ index 9b79399..063cb9b 100644
  	mips)              FPM="MIPS"    ;;
  	sparc)             FPM="SPARC"   ;;
  	ppc|powerpc)       FPM="PPC"     ;;
-@@ -298,6 +299,7 @@ then
+@@ -21498,6 +21499,7 @@ then
      case "$host" in
  	i?86-*)     FPM="INTEL"  ;;
  	arm*-*)     FPM="ARM"    ;;
@@ -208,7 +208,7 @@ index 9b79399..063cb9b 100644
  	mips*-*)    FPM="MIPS"   ;;
  	sparc*-*)   FPM="SPARC"  ;;
  	powerpc*-*) FPM="PPC"    ;;
-@@ -343,6 +345,11 @@ then
+@@ -21554,6 +21556,11 @@ then
  	    ASO="$ASO -DASO_IMDCT"
  	    ASO_OBJS="imdct_l_arm.lo"
  	    ;;
============================================================
--- packages/libmad/libmad_0.15.1b.bb	681e5446340f9939d27a70b7381f2b6e61aadd4e
+++ packages/libmad/libmad_0.15.1b.bb	5adf575856900e241c7311e25081db325e13344d
@@ -1,10 +1,10 @@ LICENSE = "GPL"
 DESCRIPTION = "MPEG Audio Decoder Library"
 SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "libid3tag"
 LICENSE = "GPL"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz"
 S = "${WORKDIR}/libmad-${PV}"






More information about the Openembedded-commits mailing list