diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-19 02:26:36 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-19 02:26:36 +0000 |
commit | 9bb13cd98538856d2baa26b4e42ed764d9ffbfc5 (patch) | |
tree | da40a2f09906d71d67d36a5305a65a258ca7eba6 /user/x265/build-on-any-non-x86.patch | |
parent | 4cd19d34be79df5d6d39eefe5ec00eef3f028558 (diff) | |
download | packages-9bb13cd98538856d2baa26b4e42ed764d9ffbfc5.tar.gz packages-9bb13cd98538856d2baa26b4e42ed764d9ffbfc5.tar.bz2 packages-9bb13cd98538856d2baa26b4e42ed764d9ffbfc5.tar.xz packages-9bb13cd98538856d2baa26b4e42ed764d9ffbfc5.zip |
user/x265: bump to 2.9
Diffstat (limited to 'user/x265/build-on-any-non-x86.patch')
-rw-r--r-- | user/x265/build-on-any-non-x86.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/user/x265/build-on-any-non-x86.patch b/user/x265/build-on-any-non-x86.patch new file mode 100644 index 000000000..f92395629 --- /dev/null +++ b/user/x265/build-on-any-non-x86.patch @@ -0,0 +1,24 @@ +--- x265_2.9/source/common/cpu.cpp.orig 2018-10-05 12:14:40.000000000 +0000 ++++ x265_2.9/source/common/cpu.cpp 2018-10-19 02:24:48.780000000 +0000 +@@ -59,6 +59,10 @@ + + namespace X265_NS { + static bool enable512 = false; ++bool detect512() ++{ ++ return(enable512); ++} + const cpu_name_t cpu_names[] = + { + #if X265_ARCH_X86 +@@ -123,10 +127,6 @@ + #pragma warning(disable: 4309) // truncation of constant value + #endif + +-bool detect512() +-{ +- return(enable512); +-} + uint32_t cpu_detect(bool benableavx512 ) + { + |