rpms/linuxwacom/devel linuxwacom-dont_call_devproc_again_in_uninit.patch, NONE, 1.1 linuxwacom.spec, 1.64, 1.65

Aristeu Sergio Rozanski Filho arozansk at fedoraproject.org
Fri Nov 14 19:52:12 UTC 2008


Author: arozansk

Update of /cvs/pkgs/rpms/linuxwacom/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7121

Modified Files:
	linuxwacom.spec 
Added Files:
	linuxwacom-dont_call_devproc_again_in_uninit.patch 
Log Message:
* fix a crash while removing a device (BZ#468264)



linuxwacom-dont_call_devproc_again_in_uninit.patch:

--- NEW FILE linuxwacom-dont_call_devproc_again_in_uninit.patch ---
--- a/src/xdrv/wcmConfig.c	2008-08-01 22:13:53.000000000 +0200
+++ b/src/xdrv/wcmConfig.c	2008-08-02 12:46:11.000000000 +0200
@@ -377,8 +377,6 @@
     
 	DBG(1, priv->debugLevel, ErrorF("xf86WcmUninit\n"));
 
-	gWacomModule.DevProc(local->dev, DEVICE_OFF);
-
 	/* free pressure curve */
 	if (priv->pPressCurve)
 		xfree(priv->pPressCurve);


Index: linuxwacom.spec
===================================================================
RCS file: /cvs/pkgs/rpms/linuxwacom/devel/linuxwacom.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- linuxwacom.spec	28 Oct 2008 00:13:03 -0000	1.64
+++ linuxwacom.spec	14 Nov 2008 19:51:40 -0000	1.65
@@ -3,7 +3,7 @@
 # Upstream's versioning is goofy.  Note the mapping from tarname to version.
 Name:		linuxwacom
 Version:	0.8.0.3
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Wacom Drivers from Linux Wacom Project
 
 Group:		User Interface/X Hardware Support
@@ -15,6 +15,7 @@
 Patch1:		linuxwacom-0.7.6.3-delibcwrap.patch
 Patch3:		linuxwacom-0.7.8.3-sdk-me-harder.patch
 Patch4:		linuxwacom-0.7.9.7-fix_build.patch
+Patch5:		linuxwacom-dont_call_devproc_again_in_uninit.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}
 BuildRequires:	libX11-devel libXi-devel ncurses-devel
@@ -44,6 +45,7 @@
 #patch1 -p1 -b .delibcwrap
 %patch3 -p1 -b .sdk
 %patch4 -p1
+%patch5 -p1
 
 %build
 
@@ -105,6 +107,9 @@
 %{_libdir}/libwacomcfg*.so
 
 %changelog
+* Fri Nov 14 2008 Aristeu Rozanski <aris at redhat.com> 0.8.0.3-5
+- don't call devproc with DEVICE_OFF in Uninit in new X servers
+
 * Tue Oct 28 2008 Peter Hutterer <peter.hutterer at redhat.com> 0.8.0.3-4
 - 10-linuxwacom.fdi: specify "stylus" as default type. (#465349)
 




More information about the scm-commits mailing list