summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-07-16 22:56:24 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-07-16 22:56:24 +0000
commit67140c2a54001bb748036de617e4fabc4c400fdf (patch)
treeb86685e524ba8a3d0e11b51967f5dac1609e1d66 /media-video/spca5xx/files
parentAdded check for virtuals. (diff)
downloadgentoo-2-67140c2a54001bb748036de617e4fabc4c400fdf.tar.gz
gentoo-2-67140c2a54001bb748036de617e4fabc4c400fdf.tar.bz2
gentoo-2-67140c2a54001bb748036de617e4fabc4c400fdf.zip
applied patch to prevent hardened symbols in kernel. Commit permission granted by Mike
(Portage version: 2.1.1_pre3)
Diffstat (limited to 'media-video/spca5xx/files')
-rw-r--r--media-video/spca5xx/files/spca-20060501-defines.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-video/spca5xx/files/spca-20060501-defines.patch b/media-video/spca5xx/files/spca-20060501-defines.patch
new file mode 100644
index 000000000000..1b0d2a64d17c
--- /dev/null
+++ b/media-video/spca5xx/files/spca-20060501-defines.patch
@@ -0,0 +1,15 @@
+--- Makefile.orig 2006-07-11 10:18:21.000000000 +1000
++++ Makefile 2006-07-11 10:19:07.000000000 +1000
+@@ -26,11 +26,11 @@
+ # Setup defines
+ DEFINES += -DCONFIG_USB_SPCA5XX_MODULE=1 -DMODULE -D__KERNEL__
+ DEFINES += -DVID_HARDWARE_SPCA5XX=0xFF -DSPCA5XX_VERSION=\"$(VERSION)\"
++CFLAGS += $(DEFINES)
+
+ ifneq ($(shell uname -r | cut -d. -f1,2), 2.4)
+
+ ifneq ($(KERNELRELEASE),) # We were called by kbuild
+-CFLAGS += $(DEFINES)
+ obj-m += spca5xx.o
+ spca5xx-objs := drivers/usb/spca5xx.o drivers/usb/spcadecoder.o
+