commit c3c6b1fa618dac8b4c5e20783291064fba8cb49c
Author: Jakub Bogusz <[email protected]>
Date:   Tue Mar 3 21:44:14 2015 +0100

    - updated to 1.3.5

 crossmingw32-libvorbis.spec |  5 ++---
 libvorbis-ac_fixes.patch    | 37 ++++++++++++++-----------------------
 2 files changed, 16 insertions(+), 26 deletions(-)
---
diff --git a/crossmingw32-libvorbis.spec b/crossmingw32-libvorbis.spec
index f28e11e..c5f5532 100644
--- a/crossmingw32-libvorbis.spec
+++ b/crossmingw32-libvorbis.spec
@@ -2,12 +2,12 @@
 Summary:       The Vorbis General Audio Compression Codec - MinGW32 cross 
version
 Summary(pl.UTF-8):     Kodek kompresji audio - Vorbis - wersja skrośna dla 
MinGW32
 Name:          crossmingw32-%{realname}
-Version:       1.3.4
+Version:       1.3.5
 Release:       1
 License:       BSD
 Group:         Development/Libraries
 Source0:       
http://downloads.xiph.org/releases/vorbis/%{realname}-%{version}.tar.xz
-# Source0-md5: 55f2288055e44754275a17c9a2497391
+# Source0-md5: 28cb28097c07a735d6af56e598e1c90f
 Patch0:                %{realname}-ac_fixes.patch
 Patch1:                %{realname}-make.patch
 URL:           http://www.vorbis.com/
@@ -89,7 +89,6 @@ Biblioteka DLL libvorbis dla Windows.
 %setup -q -n %{realname}-%{version}
 %patch0 -p1
 %patch1 -p1
-%{__sed} -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
 
 %build
 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
diff --git a/libvorbis-ac_fixes.patch b/libvorbis-ac_fixes.patch
index 4ee2f82..40c2f0b 100644
--- a/libvorbis-ac_fixes.patch
+++ b/libvorbis-ac_fixes.patch
@@ -1,34 +1,25 @@
-diff -urN libvorbis-1.2.2/configure.ac libvorbis-1.2.2.new/configure.ac
---- libvorbis-1.2.2/configure.ac       2009-06-24 17:23:47.000000000 +0200
-+++ libvorbis-1.2.2.new/configure.ac   2009-07-01 22:02:18.620749535 +0200
-@@ -109,9 +109,9 @@
+--- libvorbis-1.3.5/configure.ac~      2015-01-12 21:00:37.000000000 +0100
++++ libvorbis-1.3.5/configure.ac       2015-03-03 12:54:34.168894342 +0100
+@@ -128,9 +128,9 @@
        case $host in 
        *86-*-linux*)
                DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES 
-fsigned-char"
--              CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT 
-fsigned-char"
-+              CFLAGS="$CFLAGS -ffast-math -mno-ieee-fp -D_REENTRANT 
-fsigned-char"
- #                     PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math 
-D_REENTRANT -fsigned-char -fno-inline -static"
--              PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -mno-ieee-fp 
-D_REENTRANT -fsigned-char -fno-inline"
-+              PROFILE="-Wall -Wextra -pg -g $CFLAGS -ffast-math -mno-ieee-fp 
-D_REENTRANT -fsigned-char -fno-inline"
+-              CFLAGS="-O3 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
++              CFLAGS="${CFLAGS} -ffast-math -mno-ieee-fp -D_REENTRANT 
-fsigned-char"
+ #                     PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math 
-D_REENTRANT -fsigned-char -fno-inline -static"
+-              PROFILE="-Wall -Wextra -pg -g -O3 -ffast-math -mno-ieee-fp 
-D_REENTRANT -fsigned-char -fno-inline"
++              PROFILE="-Wall -Wextra -pg -g ${CFLAGS} -ffast-math 
-mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
  
                # glibc < 2.1.3 has a serious FP bug in the math inline header
                # that will cripple Vorbis.  Look to see if the magic FP stack
-@@ -153,13 +153,13 @@
-               PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
-               fi;;
-       powerpc-*-linux*)
--              DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
--              CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 
-D_REENTRANT"
--              PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 
-D_REENTRANT";;
-+              DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES 
-fsigned-char"
-+              CFLAGS="$CFLAGS -Wall -Wextra -mfused-madd -D_REENTRANT 
-fsigned-char"
-+              PROFILE="-pg -g $CFLAGS -mfused-madd -D_REENTRANT 
-fsigned-char";;
+@@ -181,8 +181,8 @@
+               PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 
-D_REENTRANT";;
        *-*-linux*)
                DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES 
-fsigned-char"
--              CFLAGS="-O20 -Wall -Wextra -ffast-math -D_REENTRANT 
-fsigned-char"
--              PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
-+              CFLAGS="$CFLAGS -Wall -Wextra -ffast-math -D_REENTRANT 
-fsigned-char"
-+              PROFILE="-pg -g $CFLAGS -ffast-math -D_REENTRANT 
-fsigned-char";;
+-              CFLAGS="-O3 -Wall -Wextra -ffast-math -D_REENTRANT 
-fsigned-char"
+-              PROFILE="-pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char";;
++              CFLAGS="${CFLAGS} -Wall -Wextra -ffast-math -D_REENTRANT 
-fsigned-char"
++              PROFILE="-pg -g ${CFLAGS} -ffast-math -D_REENTRANT 
-fsigned-char";;
        sparc-sun-*)
                sparc_cpu=""
                AC_MSG_CHECKING([if gcc supports -mv8])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-libvorbis.git/commitdiff/c3c6b1fa618dac8b4c5e20783291064fba8cb49c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to