aboutsummaryrefslogtreecommitdiffstats
path: root/main/guvcview/configure-cppflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/guvcview/configure-cppflags.patch')
-rw-r--r--main/guvcview/configure-cppflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/guvcview/configure-cppflags.patch b/main/guvcview/configure-cppflags.patch
new file mode 100644
index 0000000000..4931463d93
--- /dev/null
+++ b/main/guvcview/configure-cppflags.patch
@@ -0,0 +1,11 @@
+--- ./configure.orig
++++ ./configure
+@@ -13902,7 +13902,7 @@
+ fi
+
+
+-CPPFLAGS+="${GVIEWV4L2CORE_CFLAGS}"
++CPPFLAGS="$CPPFLAGS ${GVIEWV4L2CORE_CFLAGS}"
+ for ac_header in avcodec.h libavcodec/avcodec.h ffmpeg/avcodec.h
+ do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`