rpms/synergy/devel synergy-1.2.2-werror.patch, NONE, 1.1 synergy.spec, 1.6, 1.7

Matthias Saou (thias) fedora-extras-commits at redhat.com
Sun Apr 17 18:45:19 UTC 2005


Author: thias

Update of /cvs/extras/rpms/synergy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9616

Modified Files:
	synergy.spec 
Added Files:
	synergy-1.2.2-werror.patch 
Log Message:
Disable -Werror to make build with gcc4 work.


synergy-1.2.2-werror.patch:

--- NEW FILE synergy-1.2.2-werror.patch ---
diff -Naupr synergy-1.2.2.orig/configure.in synergy-1.2.2/configure.in
--- synergy-1.2.2.orig/configure.in	2005-01-01 21:52:42.000000000 +0100
+++ synergy-1.2.2/configure.in	2005-04-17 20:36:09.000000000 +0200
@@ -203,7 +203,7 @@ dnl checks for system services
 
 dnl enable maximum compiler warnings and warnings are errors.
 ACX_CXX_WARNINGS
-ACX_CXX_WARNINGS_ARE_ERRORS
+dnl ACX_CXX_WARNINGS_ARE_ERRORS
 
 dnl adjust compiler and linker variables
 CXXFLAGS="$CXXFLAGS $SYNERGY_CXXFLAGS $ARCH_CFLAGS"


Index: synergy.spec
===================================================================
RCS file: /cvs/extras/rpms/synergy/devel/synergy.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- synergy.spec	6 Apr 2005 22:13:32 -0000	1.6
+++ synergy.spec	17 Apr 2005 18:45:16 -0000	1.7
@@ -2,13 +2,13 @@
 Name: synergy
 Version: 1.2.2
 Release: 2
-
 License: GPL
 Group: System Environment/Daemons
 URL: http://synergy2.sourceforge.net/
 Source: http://dl.sf.net/synergy2/%{name}-%{version}.tar.gz
+Patch: synergy-1.2.2-werror.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: gcc-c++, XFree86-devel
+BuildRequires: gcc-c++, XFree86-devel, autoconf
 
 %description
 Synergy lets you easily share a single mouse and keyboard between
@@ -20,6 +20,8 @@
 
 %prep
 %setup
+%patch -p1 -b .werror
+%{__autoconf}
 
 
 %build
@@ -45,8 +47,8 @@
 
 
 %changelog
-* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
-- rebuilt
+* Sun Apr 17 2005 Matthias Saou <http://freshrpms.net/> 1.2.2-2
+- Disable -Werror as build fails with gcc4 otherwise (temporary fix).
 
 * Mon Jan 31 2005 Matthias Saou <http://freshrpms.net/> 1.2.2-1
 - Update to 1.2.2.




More information about the fedora-extras-commits mailing list