summarylogtreecommitdiffstats
path: root/fix-compiler-errors.patch
diff options
context:
space:
mode:
authorMatthew Scheirer2016-10-25 11:13:06 -0400
committerMatthew Scheirer2016-10-25 11:13:06 -0400
commit6202eaead3f924d03e4d84c7169409b18f3775bd (patch)
tree0b0f7f9c95ef03102ea102d9f9cef91e13a9b768 /fix-compiler-errors.patch
parent0b873871b7b7b69b20beafff4d15797c24b4cec1 (diff)
downloadaur-6202eaead3f924d03e4d84c7169409b18f3775bd.tar.gz
Add aperez fix-compiler-errors patch for GCC 6
Diffstat (limited to 'fix-compiler-errors.patch')
-rw-r--r--fix-compiler-errors.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/fix-compiler-errors.patch b/fix-compiler-errors.patch
new file mode 100644
index 000000000000..3a6d71a0186b
--- /dev/null
+++ b/fix-compiler-errors.patch
@@ -0,0 +1,13 @@
+--- local/owr_device_list.c.orig 2016-10-22 10:45:35.609345316 +0300
++++ local/owr_device_list.c 2016-10-22 10:45:41.739356339 +0300
+@@ -344,8 +344,8 @@
+ g_free(filename);
+ filename = NULL;
+
+- if (!device_name)
+- return NULL;
++ if (!device_name)
++ return NULL;
+
+ source = _owr_local_media_source_new_cached(index, device_name,
+ OWR_MEDIA_TYPE_VIDEO, OWR_SOURCE_TYPE_CAPTURE);