diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-12-13 21:28:40 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-12-13 21:28:40 +0000 |
commit | 3ca9f7a4b5bc60bc1de07c3a76ad85a53744175b (patch) | |
tree | aa7d9b19745bd44d86be32ec7a4f1175c1642766 /media-video/qc-usb/files | |
parent | Added arj USE for xfce-extra/xarchiver (diff) | |
download | gentoo-2-3ca9f7a4b5bc60bc1de07c3a76ad85a53744175b.tar.gz gentoo-2-3ca9f7a4b5bc60bc1de07c3a76ad85a53744175b.tar.bz2 gentoo-2-3ca9f7a4b5bc60bc1de07c3a76ad85a53744175b.zip |
Version bump thanks to drac in bug 154555
(Portage version: 2.1.2_rc3-r4)
Diffstat (limited to 'media-video/qc-usb/files')
-rw-r--r-- | media-video/qc-usb/files/digest-qc-usb-0.6.6 | 3 | ||||
-rw-r--r-- | media-video/qc-usb/files/qc-usb-0.6.6-koutput.patch | 53 |
2 files changed, 56 insertions, 0 deletions
diff --git a/media-video/qc-usb/files/digest-qc-usb-0.6.6 b/media-video/qc-usb/files/digest-qc-usb-0.6.6 new file mode 100644 index 000000000000..1a76cfb03618 --- /dev/null +++ b/media-video/qc-usb/files/digest-qc-usb-0.6.6 @@ -0,0 +1,3 @@ +MD5 9eab8fb3a75326d1565d59b0c7256075 qc-usb-0.6.6.tar.gz 147072 +RMD160 08dade63cac3b9c668769fb1446a43f55f6a7969 qc-usb-0.6.6.tar.gz 147072 +SHA256 3c2485f21fc3ae2232a234c989a8256e802e589968f90d1357eba05fa5fc62a8 qc-usb-0.6.6.tar.gz 147072 diff --git a/media-video/qc-usb/files/qc-usb-0.6.6-koutput.patch b/media-video/qc-usb/files/qc-usb-0.6.6-koutput.patch new file mode 100644 index 000000000000..1b13514c61f7 --- /dev/null +++ b/media-video/qc-usb/files/qc-usb-0.6.6-koutput.patch @@ -0,0 +1,53 @@ +diff -ur qc-usb-0.6.6.orig/Makefile qc-usb-0.6.6/Makefile +--- qc-usb-0.6.6.orig/Makefile 2006-10-24 05:06:19.000000000 +0300 ++++ qc-usb-0.6.6/Makefile 2006-12-10 10:19:06.000000000 +0200 +@@ -44,11 +44,7 @@ + #RELEASE := $(shell awk -F \" '/[ ]*\#[ ]*define[ ]*UTS_RELEASE[ ]*/ { print $$2 }' $(LINUX_DIR)/include/linux/version.h|tail -n 1) + # This seem to work better + #LINUX_DIR := /usr/src/linux +-RELEASE := $(shell if test -r $(LINUX_DIR)/include/linux/version.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/version.h; then \ +- ((echo "\#include <linux/version.h>" ; echo "kernsrcver=UTS_RELEASE") | cpp -I $(LINUX_DIR)/include | grep "^kernsrcver=" | cut -d \" -f 2); \ +- elif test -r $(LINUX_DIR)/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/utsrelease.h; then \ +- ((echo "\#include <linux/utsrelease.h>"; echo "kernsrcver=UTS_RELEASE") | cpp -I $(LINUX_DIR)/include | grep "^kernsrcver=" | cut -d \" -f 2); \ +- fi) ++RELEASE := $(shell awk -F \" '/[ ]*\#[ ]*define[ ]*UTS_RELEASE[ ]*/ { print $$2 }' $(OUTPUT_DIR)/include/linux/version.h|tail -n 1) + MODULE_DIR := /lib/modules/$(RELEASE) + endif + endif +@@ -58,6 +54,10 @@ + LINUX_DIR := $(MODULE_DIR)/build + endif + ++ifndef OUTPUT_DIR ++OUTPUT_DIR := $(LINUX_DIR) ++endif ++ + HAVE_UTSRELEASE_H := $(shell if test -r $(LINUX_DIR)/include/linux/version.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/version.h; then \ + echo 0; \ + elif test -r $(LINUX_DIR)/include/linux/utsrelease.h && fgrep -q UTS_RELEASE $(LINUX_DIR)/include/linux/utsrelease.h; then \ +@@ -75,7 +75,7 @@ + DEPMOD := $(shell which depmod || which /sbin/depmod || echo "true You should now run depmod") + + # Get VERSION_CODE (from version.h in kernel source directory) +-VERSION_CODE := $(shell awk '/[ ]*\#[ ]*define[ ]*LINUX_VERSION_CODE[ ]*/ { print $$3 }' $(LINUX_DIR)/include/linux/version.h|tail -n 1) ++VERSION_CODE := $(shell awk '/[ ]*\#[ ]*define[ ]*LINUX_VERSION_CODE[ ]*/ { print $$3 }' $(OUTPUT_DIR)/include/linux/version.h|tail -n 1) + + ifeq ($(shell if [ $(VERSION_CODE) -ge 132608 ]; then echo y; fi),y) + MODULE_NAME := quickcam.ko # for 2.6.x +@@ -91,6 +91,7 @@ + @echo "make all - Compile driver and utilities against current running kernel" + @echo "make all USER_OPT=-DDEBUG - Compile with debugging code and messages" + @echo "make all LINUX_DIR=/usr/src/linux - Compile against specified kernel source" ++ @echo "make all OUTPUT_DIR=/var/tmp/kernel-output/2.6.19 - Specify binary output dir" + @echo "make install - Copy driver and utilities into standard locations (needs root)" + @echo "make install PREFIX=/usr - Copy utilities to /usr/bin instead of /usr/local/bin" + @echo "make install MODULE_DIR=/lib/modules/2.4.0 - Copy module to /lib/modules/2.4.0/misc" +@@ -130,7 +131,7 @@ + else + # No, 2.4.x or older + +-MODULE_INC := -I$(LINUX_DIR)/include -nostdinc -iwithprefix include ++MODULE_INC := -I$(LINUX_DIR)/include -I$(OUTPUT_DIR)/include -nostdinc -iwithprefix include + MODULE_DEF := -DMODULE -D__KERNEL__ -DNOKERNEL + MODULE_OPT := -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common + MODULE_WARN := -Wall -Wstrict-prototypes -Wno-trigraphs |