down with -Werror
This commit is contained in:
parent
459f1825a2
commit
760b14b2f5
@ -1,7 +1,7 @@
|
|||||||
Summary: Unobtrusive window manager
|
Summary: Unobtrusive window manager
|
||||||
Name: metacity
|
Name: metacity
|
||||||
Version: 2.25.8
|
Version: 2.25.8
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
URL: http://download.gnome.org/sources/metacity/
|
URL: http://download.gnome.org/sources/metacity/
|
||||||
Source0: http://download.gnome.org/sources/metacity/2.25/metacity-%{version}.tar.bz2
|
Source0: http://download.gnome.org/sources/metacity/2.25/metacity-%{version}.tar.bz2
|
||||||
Patch0: default-theme.patch
|
Patch0: default-theme.patch
|
||||||
@ -13,6 +13,8 @@ Patch2: leaks.patch
|
|||||||
Patch3: string-leak.patch
|
Patch3: string-leak.patch
|
||||||
# http://bugzilla.gnome.org/show_bug.cgi?id=558723
|
# http://bugzilla.gnome.org/show_bug.cgi?id=558723
|
||||||
Patch4: stop-spamming-xsession-errors.patch
|
Patch4: stop-spamming-xsession-errors.patch
|
||||||
|
# http://bugzilla.gnome.org/show_bug.cgi?id=562196
|
||||||
|
Patch5: werror-no-thanks.patch
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
@ -74,6 +76,7 @@ API. This package exists purely for technical reasons.
|
|||||||
%patch2 -p1 -b .leaks
|
%patch2 -p1 -b .leaks
|
||||||
%patch3 -p1 -b .string-leak
|
%patch3 -p1 -b .string-leak
|
||||||
%patch4 -p1 -b .stop-spamming-xsession-errors
|
%patch4 -p1 -b .stop-spamming-xsession-errors
|
||||||
|
%patch5 -p1 -b .werror-no-thanks
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -176,7 +179,7 @@ fi
|
|||||||
%{_mandir}/man1/metacity-window-demo.1.gz
|
%{_mandir}/man1/metacity-window-demo.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Nov 24 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.8-2
|
* Mon Nov 24 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.8-3
|
||||||
- Update to 2.25.8
|
- Update to 2.25.8
|
||||||
|
|
||||||
* Sat Nov 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.5-4
|
* Sat Nov 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.5-4
|
||||||
|
|||||||
13
werror-no-thanks.patch
Normal file
13
werror-no-thanks.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -up metacity-2.25.8/configure.werror metacity-2.25.8/configure
|
||||||
|
--- metacity-2.25.8/configure.werror 2008-11-24 22:08:04.000000000 -0500
|
||||||
|
+++ metacity-2.25.8/configure 2008-11-24 22:08:15.000000000 -0500
|
||||||
|
@@ -21223,9 +21223,6 @@ if test "x$enable_debug" = "xyes"; then
|
||||||
|
CFLAGS="$CFLAGS -g -O"
|
||||||
|
fi
|
||||||
|
|
||||||
|
-# Warnings are there for a reason
|
||||||
|
-CFLAGS="$CFLAGS -Wall -Werror -ansi"
|
||||||
|
-
|
||||||
|
# Use gnome-doc-utils:
|
||||||
|
|
||||||
|
gdu_cv_version_required=0.9.0
|
||||||
Loading…
Reference in New Issue
Block a user