summaryrefslogtreecommitdiff
path: root/package/v4l-utils/patches/patch-Make_rules
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:10:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:10:52 +0200
commit681a668edf704bbb000a49c835b3d71fa7035d86 (patch)
tree27df7d51e37260f63812466b31369c1a144cdc45 /package/v4l-utils/patches/patch-Make_rules
parent2d1f73d4334593134d3a47704a2614ffcae384ae (diff)
parent6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (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