pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/x265 Fix build of x265 for non-x86.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/558f7bc89250
branches:  trunk
changeset: 380950:558f7bc89250
user:      jklos <jklos%pkgsrc.org@localhost>
date:      Sat May 26 05:30:19 2018 +0000

description:
Fix build of x265 for non-x86.

diffstat:

 multimedia/x265/distinfo                       |   3 ++-
 multimedia/x265/patches/patch-common_param.cpp |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 46df6357c19c -r 558f7bc89250 multimedia/x265/distinfo
--- a/multimedia/x265/distinfo  Sat May 26 01:00:00 2018 +0000
+++ b/multimedia/x265/distinfo  Sat May 26 05:30:19 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.24 2018/05/25 14:42:06 jperkin Exp $
+$NetBSD: distinfo,v 1.25 2018/05/26 05:30:19 jklos Exp $
 
 SHA1 (x265_2.8.tar.gz) = e2ef1ad186d9581239463d4e5177a25bc57b9fc0
 RMD160 (x265_2.8.tar.gz) = 547adcf4886f9ae60c115b5da21ff12f6c718b8d
 SHA512 (x265_2.8.tar.gz) = c2a8eaec64aa022badcbcd2a96304a9abd9d08489300b6a9c4c9d76066f3d9848e6948238c84ae16ea91bff0b2fac528a67ee29950d94dcd0ea7c0e9e7baa714
 Size (x265_2.8.tar.gz) = 1379551 bytes
 SHA1 (patch-CMakeLists.txt) = fbf4d08133a48b342a060f1b45bab0253455a1b1
+SHA1 (patch-common_param.cpp) = eb0a55babf9cbe68cb2a6b75d109ba58f04e6c05
 SHA1 (patch-encoder_encoder.cpp) = 907db18c8e9afd51684ed886da70c23ac3d3652a
diff -r 46df6357c19c -r 558f7bc89250 multimedia/x265/patches/patch-common_param.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/x265/patches/patch-common_param.cpp    Sat May 26 05:30:19 2018 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-common_param.cpp,v 1.1 2018/05/26 05:30:20 jklos Exp $
+
+--- common/param.cpp.orig      2018-05-21 08:33:10.000000000 +0000
++++ common/param.cpp
+@@ -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, 0);
+ #endif
+     }
+     OPT("fps")



Home | Main Index | Thread Index | Old Index