rpms/linuxwacom/devel linuxwacom-disable_stack_protector.patch, NONE, 1.1 linuxwacom.spec, 1.43, 1.44

Aristeu Sergio Rozanski Filho (arozansk) fedora-extras-commits at redhat.com
Tue Aug 21 15:37:50 UTC 2007


Author: arozansk

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

Modified Files:
	linuxwacom.spec 
Added Files:
	linuxwacom-disable_stack_protector.patch 
Log Message:
* disabling stack protector otherwise the driver won't load



linuxwacom-disable_stack_protector.patch:

--- NEW FILE linuxwacom-disable_stack_protector.patch ---
Index: linuxwacom-0.7.8-3/src/xdrv/Makefile.in
===================================================================
--- linuxwacom-0.7.8-3.orig/src/xdrv/Makefile.in
+++ linuxwacom-0.7.8-3/src/xdrv/Makefile.in
@@ -447,6 +447,7 @@ wcmFilter.o: wcmFilter.c wcmFilter.h
 
 $(XF86OBJS): xf86Wacom.h ../include/Xwacom.h Makefile
 	$(CC) $(CFLAGS) $(DEPFLAGS) $(DLLOADER) -pipe -ansi \
+		-fno-stack-protector \
 		-pedantic -Wall -Wpointer-arith $(NO_MERGE_CONSTANTS) \
 		-I$(srcdir) $(DRIVER_INCLUDES) -Dlinux \
 		-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE \


Index: linuxwacom.spec
===================================================================
RCS file: /cvs/pkgs/rpms/linuxwacom/devel/linuxwacom.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- linuxwacom.spec	20 Aug 2007 18:53:13 -0000	1.43
+++ linuxwacom.spec	21 Aug 2007 15:37:18 -0000	1.44
@@ -6,7 +6,7 @@
 # Upstream's versioning is goofy.  Note the mapping from tarname to version.
 Name:		linuxwacom
 Version:	0.7.8.3
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Wacom Drivers from Linux Wacom Project
 
 Group:		User Interface/X Hardware Support
@@ -15,6 +15,7 @@
 Source0:	http://prdownloads.sourceforge.net/linuxwacom/%{tarname}.tar.bz2
 Source1:	60-wacom.rules
 Patch1:		linuxwacom-0.7.6.3-delibcwrap.patch
+Patch2:		linuxwacom-disable_stack_protector.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}
 BuildRequires:	xorg-x11-server-Xorg, libX11-devel, libXi-devel, xorg-x11-server-sdk >= 1.0.99.901, ncurses-devel
@@ -40,6 +41,7 @@
 %setup -q -n %{tarname}
 
 %patch1 -p1 -b .delibcwrap
+%patch2 -p1
 
 %build
 
@@ -94,6 +96,9 @@
 %{_libdir}/libwacomcfg*.so
 
 %changelog
+* Tue Aug 21 2007 Aristeu Rozanski <arozansk at redhat.com> 0.7.8.3-2.fc8
+- Disabling stack protector
+
 * Mon Aug 20 2007 Aristeu Rozanski <arozansk at redhat.com> 0.7.8.3-1.fc8
 - Updated to upstream version 0.7.8-3
 




More information about the fedora-extras-commits mailing list