diff options
author | jklos <jklos@pkgsrc.org> | 2018-05-26 05:30:19 +0000 |
---|---|---|
committer | jklos <jklos@pkgsrc.org> | 2018-05-26 05:30:19 +0000 |
commit | c79f5f2d4db981d9610089eb4b0c283dac4b2a3e (patch) | |
tree | 0dd04173f2a0a32ffa021a4e6b1af162115118be /multimedia | |
parent | 163267cd84de7353b31aae087ad7e3818129e3a2 (diff) | |
download | pkgsrc-c79f5f2d4db981d9610089eb4b0c283dac4b2a3e.tar.gz |
Fix build of x265 for non-x86.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/x265/distinfo | 3 | ||||
-rw-r--r-- | multimedia/x265/patches/patch-common_param.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/multimedia/x265/distinfo b/multimedia/x265/distinfo index f53d50035fe..85362571401 100644 --- a/multimedia/x265/distinfo +++ b/multimedia/x265/distinfo @@ -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 --git a/multimedia/x265/patches/patch-common_param.cpp b/multimedia/x265/patches/patch-common_param.cpp new file mode 100644 index 00000000000..5ab19c012c5 --- /dev/null +++ b/multimedia/x265/patches/patch-common_param.cpp @@ -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") |