summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-09-08 10:50:05 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-08 16:10:24 +0200
commit8bad7ef60cbed730b21fa52d887b1dd2b4ea353e (patch)
treee85c949de649a0883ca6e35d2bae50523b276daf /patches
parentb36aec90371e0fcc2f73fa3a51a85356e11d96b8 (diff)
downloadptxdist-8bad7ef60cbed730b21fa52d887b1dd2b4ea353e.tar.gz
ptxdist-8bad7ef60cbed730b21fa52d887b1dd2b4ea353e.tar.xz
intel-media-driver: add upstream patch to fix building with gcc 9.x
Without this, building with gcc 9.x fails with: cc1plus: error: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ [-Werror] cc1plus: all warnings being treated as errors Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/intel-media-19.2.1/0001-Update-media_compile_flags_linux.cmake.patch20
-rw-r--r--patches/intel-media-19.2.1/series4
2 files changed, 24 insertions, 0 deletions
diff --git a/patches/intel-media-19.2.1/0001-Update-media_compile_flags_linux.cmake.patch b/patches/intel-media-19.2.1/0001-Update-media_compile_flags_linux.cmake.patch
new file mode 100644
index 000000000..8d65da5d9
--- /dev/null
+++ b/patches/intel-media-19.2.1/0001-Update-media_compile_flags_linux.cmake.patch
@@ -0,0 +1,20 @@
+From: shawnli2 <48119907+shawnli2@users.noreply.github.com>
+Date: Thu, 22 Aug 2019 11:25:46 +0800
+Subject: [PATCH] Update media_compile_flags_linux.cmake
+
+---
+ media_driver/cmake/linux/media_compile_flags_linux.cmake | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+index 9253b2d6503d..d2cdb34ef4d8 100755
+--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake
++++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake
+@@ -32,7 +32,6 @@ set(MEDIA_COMPILER_FLAGS_COMMON
+ -Wno-overflow
+ -Wno-parentheses
+ -Wno-delete-incomplete
+- -Werror=implicit-function-declaration
+ -Werror=address
+ -Werror=format-security
+ -Werror=non-virtual-dtor
diff --git a/patches/intel-media-19.2.1/series b/patches/intel-media-19.2.1/series
new file mode 100644
index 000000000..937ec7c71
--- /dev/null
+++ b/patches/intel-media-19.2.1/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Update-media_compile_flags_linux.cmake.patch
+# 0ceafe7d7783bacb276b9f8a6d778e2c - git-ptx-patches magic