x265: fix build
authorBaruch Siach <baruch@tkos.co.il>
Sun, 10 Jun 2018 18:44:48 +0000 (21:44 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 11 Jun 2018 19:59:35 +0000 (21:59 +0200)
Add upstream patch fixing missing function argument issue.

Fixes:
http://autobuild.buildroot.net/results/caa/caaaa5dc428c12ce7137194589153313911b000f/
http://autobuild.buildroot.net/results/741/741d8bacbe12e2f40047e30f7765039a88d1ce8f/
http://autobuild.buildroot.net/results/2c3/2c3f5b18efe5f42e1ab5269e106b9200690330af/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/x265/0002-fix-build-error-on-ppc64le.patch [new file with mode: 0644]

diff --git a/package/x265/0002-fix-build-error-on-ppc64le.patch b/package/x265/0002-fix-build-error-on-ppc64le.patch
new file mode 100644 (file)
index 0000000..ca03447
--- /dev/null
@@ -0,0 +1,23 @@
+# HG changeset patch
+# User Jayashree <jayashree.c@multicorewareinc.com>
+# Date 1527224165 -19800
+# Node ID 4504219210793536d921ee4e0b3058698c630bf4
+# Parent  cc2c5e46f3c87d27e3602af30b06ba6a0fbe2704
+Fix build error on on ppc64le
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+
+Upstream status: commit 450421921
+
+diff --git a/source/common/param.cpp b/source/common/param.cpp
+--- a/source/common/param.cpp
++++ b/source/common/param.cpp
+@@ -633,7 +633,7 @@
+         if (bValueWasNull)
+             p->cpuid = atobool(value);
+         else
+-            p->cpuid = parseCpuName(value, bError);
++            p->cpuid = parseCpuName(value, bError, false);
+ #endif
+     }
+     OPT("fps")