aboutsummaryrefslogtreecommitdiffstats
path: root/package/pwc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-22 01:08:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-22 01:08:29 +0000
commit72077ef63bd22ea2e39ace536de5400c7557944c (patch)
treec459c3aa43f297d159f3d8f6a89a72c9d7f5dbda /package/pwc
parentd724e995f02fc52d6ea972168b5200504ffae6c7 (diff)
downloadupstream-72077ef63bd22ea2e39ace536de5400c7557944c.tar.gz
upstream-72077ef63bd22ea2e39ace536de5400c7557944c.tar.bz2
upstream-72077ef63bd22ea2e39ace536de5400c7557944c.zip
compile fix for 2.6
SVN-Revision: 6170
Diffstat (limited to 'package/pwc')
-rw-r--r--package/pwc/Makefile2
-rw-r--r--package/pwc/patches/100-compile_fix.patch24
2 files changed, 25 insertions, 1 deletions
diff --git a/package/pwc/Makefile b/package/pwc/Makefile
index 934d6b7625..52daff0c82 100644
--- a/package/pwc/Makefile
+++ b/package/pwc/Makefile
@@ -25,7 +25,7 @@ define KernelPackage/pwc
TITLE:=USB Philips camera driver
DESCRIPTION:=Kernel support for USB Philips camera
SUBMENU:=USB Support
- DEPENDS:=@BROKEN @LINUX_2_6
+ DEPENDS:=@LINUX_2_6 @VIDEO_SUPPORT
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
FILES:=$(PKG_BUILD_DIR)/pwc.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,70,$(shell cat ./files/pwc.modules))
diff --git a/package/pwc/patches/100-compile_fix.patch b/package/pwc/patches/100-compile_fix.patch
new file mode 100644
index 0000000000..fc12c75ad8
--- /dev/null
+++ b/package/pwc/patches/100-compile_fix.patch
@@ -0,0 +1,24 @@
+diff -ur pwc.old/pwc.h pwc.dev/pwc.h
+--- pwc.old/pwc.h 2006-04-13 23:38:43.000000000 +0200
++++ pwc.dev/pwc.h 2007-01-22 02:04:03.872800960 +0100
+@@ -25,7 +25,7 @@
+ #ifndef PWC_H
+ #define PWC_H
+
+-#include <linux/config.h>
++#include <linux/autoconf.h>
+ #include <linux/module.h>
+ #include <linux/usb.h>
+ #include <linux/spinlock.h>
+diff -ur pwc.old/pwc-uncompress.h pwc.dev/pwc-uncompress.h
+--- pwc.old/pwc-uncompress.h 2006-01-07 12:57:47.000000000 +0100
++++ pwc.dev/pwc-uncompress.h 2007-01-22 02:04:18.129633592 +0100
+@@ -30,7 +30,7 @@
+ #ifndef PWC_UNCOMPRESS_H
+ #define PWC_UNCOMPRESS_H
+
+-#include <linux/config.h>
++#include <linux/autoconf.h>
+
+ #include "pwc-ioctl.h"
+