svn commit: r476480 - in head/multimedia/x265: . files
Mikhail Teterin
mi at FreeBSD.org
Sun Aug 5 22:15:04 UTC 2018
Author: mi
Date: Sun Aug 5 22:15:03 2018
New Revision: 476480
URL: https://svnweb.freebsd.org/changeset/ports/476480
Log:
Fix the underlying problem in the code, which previously
required disabling AVX as a work-around:
PR: 229788
Submitted by: dim@
Also, switch the build-dependency from yasm to nasm -- upstream
made the switch in version 2.6
Reported by: Callum Aitchison
Bump PORTREVISION...
Added:
head/multimedia/x265/files/patch-bug-422 (contents, props changed)
Deleted:
head/multimedia/x265/files/patch-disable-avx-for-clang
Modified:
head/multimedia/x265/Makefile
Modified: head/multimedia/x265/Makefile
==============================================================================
--- head/multimedia/x265/Makefile Sun Aug 5 21:47:03 2018 (r476479)
+++ head/multimedia/x265/Makefile Sun Aug 5 22:15:03 2018 (r476480)
@@ -3,6 +3,7 @@
PORTNAME= x265
PORTVERSION= 2.8
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= https://downloads.videolan.org/pub/videolan/x265/ \
https://mirror.leaseweb.com/videolan/x265/ \
@@ -19,7 +20,7 @@ COMMENT= H.265/High Efficiency Video Coding (HEVC) for
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC:H}/COPYING
-BUILD_DEPENDS= yasm:devel/yasm
+BUILD_DEPENDS= nasm:devel/nasm
USES= cmake compiler:c++14-lang pathfix
Added: head/multimedia/x265/files/patch-bug-422
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/x265/files/patch-bug-422 Sun Aug 5 22:15:03 2018 (r476480)
@@ -0,0 +1,13 @@
+See:
+
+ https://bitbucket.org/multicoreware/x265/issues/422
+
+--- common/pixel.cpp 2018-05-21 08:33:10 UTC
++++ common/pixel.cpp 2018-08-05 21:57:26 UTC
+@@ -923,5 +923,5 @@
+ {
+ for (int i = 0; i < count; i++)
+- dst[i] = (uint16_t)(src[i] * 256.0);
++ dst[i] = (int16_t)(src[i] * 256.0);
+ }
+
More information about the svn-ports-head
mailing list