From 47af8086d66dc956719974e3604032eab6a44b29 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 28 May 2018 11:08:24 +0200 Subject: [PATCH] x265: fix cross build --- srcpkgs/x265/patches/fix-cross.patch | 11 +++++++++++ srcpkgs/x265/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/x265/patches/fix-cross.patch diff --git a/srcpkgs/x265/patches/fix-cross.patch b/srcpkgs/x265/patches/fix-cross.patch new file mode 100644 index 00000000000..e31968a5a80 --- /dev/null +++ b/srcpkgs/x265/patches/fix-cross.patch @@ -0,0 +1,11 @@ +--- source/common/param.cpp.orig 2018-05-28 11:05:41.571934454 +0200 ++++ source/common/param.cpp 2018-05-28 11:05:47.109929916 +0200 +@@ -633,7 +633,7 @@ int x265_param_parse(x265_param* p, cons + if (bValueWasNull) + p->cpuid = atobool(value); + else +- p->cpuid = parseCpuName(value, bError); ++ p->cpuid = parseCpuName(value, bError, false); + #endif + } + OPT("fps") diff --git a/srcpkgs/x265/template b/srcpkgs/x265/template index 6102dd9f975..932ced458ec 100644 --- a/srcpkgs/x265/template +++ b/srcpkgs/x265/template @@ -1,7 +1,7 @@ # Template file for 'x265' pkgname=x265 version=2.8 -revision=1 +revision=2 build_wrksrc="source" wrksrc="x265_${version}" build_style=cmake