[pragha] Rebuild for libcdio-0.83 Compile with '-Wno-error=deprecated-declarations' (#760960)
Christoph Wickert
cwickert at fedoraproject.org
Sun Dec 11 16:34:33 UTC 2011
commit ffc9dbb5c15aacc3c6d8b24ccb3d45bbaaea29aa
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date: Sun Dec 11 17:34:29 2011 +0100
Rebuild for libcdio-0.83
Compile with '-Wno-error=deprecated-declarations' (#760960)
...0-cflags-O3.patch => pragha-0.99.0-cflags.patch | 8 ++++----
pragha.spec | 7 ++++---
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/pragha-0.97.0-cflags-O3.patch b/pragha-0.99.0-cflags.patch
similarity index 79%
rename from pragha-0.97.0-cflags-O3.patch
rename to pragha-0.99.0-cflags.patch
index 01826d4..94cbf06 100644
--- a/pragha-0.97.0-cflags-O3.patch
+++ b/pragha-0.99.0-cflags.patch
@@ -6,14 +6,14 @@ diff -dur pragha-0.97.0.orig/configure pragha-0.97.0/configure
CFLAGS="$CFLAGS -DDEBUG -D_DEBUG -g -ggdb -O0 -fno-inline -fno-inline-functions" ;;
no) debug=false ;
- CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror" ;;
-+ CFLAGS="$CFLAGS -DNDEBUG -Werror" ;;
++ CFLAGS="$CFLAGS -DNDEBUG -Werror -Wno-error=deprecated-declarations" ;;
*) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
esac
else
debug=false
- CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror"
-+ CFLAGS="$CFLAGS -DNDEBUG -Werror"
++ CFLAGS="$CFLAGS -DNDEBUG -Werror -Wno-error=deprecated-declarations"
fi
@@ -25,12 +25,12 @@ diff -dur pragha-0.97.0.orig/configure.ac pragha-0.97.0/configure.ac
CFLAGS="$CFLAGS -DDEBUG -D_DEBUG -g -ggdb -O0 -fno-inline -fno-inline-functions" ;;
no) debug=false ;
- CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror" ;;
-+ CFLAGS="$CFLAGS -DNDEBUG -Werror" ;;
++ CFLAGS="$CFLAGS -DNDEBUG -Werror -Wno-error=deprecated-declarations" ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
esac
],[ debug=false
- CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror"
-+ CFLAGS="$CFLAGS -DNDEBUG -Werror"
++ CFLAGS="$CFLAGS -DNDEBUG -Werror -Wno-error=deprecated-declarations"
])
AC_SUBST(CFLAGS)
diff --git a/pragha.spec b/pragha.spec
index 0e9e587..b4bfb35 100644
--- a/pragha.spec
+++ b/pragha.spec
@@ -7,7 +7,7 @@ Group: Applications/Multimedia
License: GPLv3+
URL: http://pragha.wikispaces.com/
Source0: http://dissonance.googlecode.com/files/%{name}-%{version}.tar.bz2
-Patch0: pragha-0.97.0-cflags-O3.patch
+Patch0: pragha-0.99.0-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel >= 1.0.15
@@ -40,7 +40,7 @@ author.
%prep
%setup -q
-%patch0 -p1 -b -O3
+%patch0 -p1 -b -cflags
%build
@@ -94,8 +94,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
-* Sun Nov 20 2011 Adrian Reber <adrian at lisas.de> - 0.99.0-2
+* Sun Dec 11 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.99.0-2
- Rebuild for libcdio-0.83
+- Compile with '-Wno-error=deprecated-declarations' (#760960)
* Wed Sep 07 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.99.0-1
- Update to 0.99.0
More information about the scm-commits
mailing list