summaryrefslogtreecommitdiff
path: root/package/v4l-utils/patches/patch-Make_rules
diff options
context:
space:
mode:
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