summaryrefslogtreecommitdiff
path: root/package/v4l-utils/patches/patch-Make_rules
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
commit6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (patch)
treef002fe1b2c355f06627c9757dc9fc30c71435f43 /package/v4l-utils/patches/patch-Make_rules
parentdecf972fcbb3b42947f8778222877ab1663ef04b (diff)
parente095941418bffcb4f2afc03072eb1f045e39ed9d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/v4l-utils/patches/patch-Make_rules')
-rw-r--r--package/v4l-utils/patches/patch-Make_rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/v4l-utils/patches/patch-Make_rules b/package/v4l-utils/patches/patch-Make_rules
new file mode 100644
index 000000000..f7bdb14f7
--- /dev/null
+++ b/package/v4l-utils/patches/patch-Make_rules
@@ -0,0 +1,17 @@
+--- v4l-utils-0.8.5.orig/Make.rules 2011-07-17 18:06:39.000000000 +0200
++++ v4l-utils-0.8.5/Make.rules 2011-09-18 20:20:32.000000000 +0200
+@@ -2,12 +2,12 @@ V4L_UTILS_VERSION=0.8.5
+
+ # These ones can be overriden from the cmdline
+
+-CFLAGS := -g -O1
++CFLAGS ?= -g -O1
+ CFLAGS += -Wall -Wpointer-arith
+ CXXFLAGS := $(CFLAGS)
+ CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
+
+-PREFIX = /usr/local
++PREFIX = /usr
+ LIBDIR = $(PREFIX)/lib
+ # subdir below LIBDIR in which to install the libv4lx libc wrappers
+ LIBSUBDIR = libv4l