[packages/libvorbis] - up to 1.3.5
arekm
arekm at pld-linux.org
Tue Mar 3 12:56:38 CET 2015
commit b0e5789ae88e795ab68ee000299a5b424cbd675f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 3 12:56:33 2015 +0100
- up to 1.3.5
libvorbis-ac_fixes.patch | 37 ++++++++++++++-----------------------
libvorbis.spec | 6 +++---
2 files changed, 17 insertions(+), 26 deletions(-)
---
diff --git a/libvorbis.spec b/libvorbis.spec
index 2481009..6879e9f 100644
--- a/libvorbis.spec
+++ b/libvorbis.spec
@@ -4,13 +4,13 @@ Summary(pt_BR.UTF-8): Biblioteca libvorbis
Summary(ru.UTF-8): Кодек звуковой компрессии Vorbis
Summary(uk.UTF-8): Кодек звукової компресії Vorbis
Name: libvorbis
-Version: 1.3.4
-Release: 2
+Version: 1.3.5
+Release: 1
Epoch: 1
License: BSD
Group: Libraries
Source0: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
-# Source0-md5: 55f2288055e44754275a17c9a2497391
+# Source0-md5: 28cb28097c07a735d6af56e598e1c90f
Patch0: %{name}-ac_fixes.patch
Patch1: %{name}-make.patch
URL: http://www.vorbis.com/
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/libvorbis.git/commitdiff/b0e5789ae88e795ab68ee000299a5b424cbd675f
More information about the pld-cvs-commit
mailing list