Don't use --Werror

This commit is contained in:
Matthias Clasen 2006-11-03 02:30:30 +00:00
parent a5157d2a6a
commit 1a24cab533
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- libgnomekbd-0.1/libgnomekbd/Makefile.in.werror 2006-11-02 21:27:19.000000000 -0500
+++ libgnomekbd-0.1/libgnomekbd/Makefile.in 2006-11-02 21:27:34.000000000 -0500
@@ -267,7 +267,7 @@
target_alias = @target_alias@
lib_LTLIBRARIES = libgnomekbd.la libgnomekbdui.la
common_CFLAGS = \
- -I$(top_srcdir) -Wall -Werror \
+ -I$(top_srcdir) -Wall \
$(GDK_CFLAGS) \
$(DBUS_CFLAGS) \
$(GCONF_CFLAGS) \

View File

@ -1,6 +1,6 @@
Name: libgnomekbd
Version: 0.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A keyboard configuration library
Group: System Environment/Libraries
@ -9,6 +9,7 @@ URL: http://gswitchit.sourceforce.net
Source0: libgnomekbd-0.1.tar.gz
# http://bugzilla.gnome.org/show_bug.cgi?id=365590
Patch0: libgnomekbd-0.1-memalloc.patch
Patch1: libgnomekbd-0.1-werror.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-devel >= 0.92
@ -48,6 +49,7 @@ developing applications that use libgnomekbd.
%prep
%setup -q
%patch0 -p1 -b .memalloc
%patch1 -p1 -b .werror
%build
@ -114,6 +116,9 @@ fi
%changelog
* Thu Nov 2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3
- Don't use --Werror
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2
- Fix a memory allocation error