rpms/libsynaptics/devel libsynaptics-0.14.6c-gcc43.patch, NONE, 1.1 libsynaptics.spec, 1.6, 1.7

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Thu Feb 14 20:53:52 UTC 2008


Author: orion

Update of /cvs/pkgs/rpms/libsynaptics/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5723

Modified Files:
	libsynaptics.spec 
Added Files:
	libsynaptics-0.14.6c-gcc43.patch 
Log Message:
* Thu Feb 14 2008 Orion Poplawski <orion at cora.nwra.com> - 0.14.6c-3
- Add patch to compile with gcc 4.3


libsynaptics-0.14.6c-gcc43.patch:

--- NEW FILE libsynaptics-0.14.6c-gcc43.patch ---
--- libsynaptics-0.14.6c/pad.cpp.gccc43	2007-01-10 14:15:15.000000000 -0700
+++ libsynaptics-0.14.6c/pad.cpp	2008-02-14 13:47:45.000000000 -0700
@@ -1,8 +1,8 @@
 #include "syndebug.h"
 #include "synparam.h"
 #include "pad.h"
+#include <cstdlib>
 #include <pthread.h>
-#include <unistd.h>
 #include <sys/shm.h>
 
 //


Index: libsynaptics.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libsynaptics/devel/libsynaptics.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- libsynaptics.spec	29 Aug 2007 05:16:30 -0000	1.6
+++ libsynaptics.spec	14 Feb 2008 20:53:12 -0000	1.7
@@ -1,12 +1,13 @@
 Name:           libsynaptics
 Version:        0.14.6c
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Synaptics touchpad driver library
 
 Group:          Development/Libraries
 License:        GPL
 URL:            http://qsynaptics.sourceforge.net/
 Source0:        http://qsynaptics.sourceforge.net/libsynaptics-%{version}.tar.bz2
+Patch0:         libsynaptics-0.14.6c-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  xorg-x11-proto-devel
 
@@ -29,6 +30,7 @@
 
 %prep
 %setup -q
+%patch -p1 -b .gcc43
 
 
 %build
@@ -58,6 +60,9 @@
 
 
 %changelog
+* Thu Feb 14 2008 Orion Poplawski <orion at cora.nwra.com> - 0.14.6c-3
+- Add patch to compile with gcc 4.3
+
 * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.14.6c-2
 - Rebuild for selinux ppc32 issue.
 




More information about the fedora-extras-commits mailing list