ports/multimedia/handbrake/files/patch-contrib_x265__10bit_module.defs
Thomas Zander e53d64f58c Update to upstream version 1.2.0
Detailed maintainer log:
- Runtime feature:
  - Backend library has been changed from libav to ffmpeg-4.1.
    Vulnerabilities of libav have been solved.
  - libx265 has been updated to 2.9.
  - Speex audio codec has been added for decode.
- Buildtime change:
  - Assembler has been changed from yasm to nasm.
  - Clang compiler has been supported.
    USE_GCC is omitted.
    We no longer need libc++ link option.
  - BUILD_DEPENDS on binutils have been omitted.
    Our ld(1) has --exclude-libs option on all supported versions of FreeBSD.
  - Configure script respects $(CC) envrionment variable.
    We no longer need to patch config.py.
  - Configure script looks up python2 from $PATH.
    We no longer need to fix shebang.
  - Provides port specific patches by $(CP).
    To avoid patch of patches.

PR:		234322
Submitted by:	naito.yuichiro@gmail.com (maintainer)
2018-12-26 13:23:59 +00:00

13 lines
509 B
Text

--- contrib/x265_10bit/module.defs.orig 2018-06-17 04:23:34 UTC
+++ contrib/x265_10bit/module.defs
@@ -19,6 +19,10 @@ X265_10.CONFIGURE.static =
X265_10.CONFIGURE.shared = -DENABLE_SHARED=OFF
X265_10.CONFIGURE.extra = -DENABLE_CLI=OFF -DHIGH_BIT_DEPTH=ON -DENABLE_LIBNUMA=OFF -DEXPORT_C_API=OFF
+ifneq (x86_64,$(BUILD.machine))
+ X265_10.CONFIGURE.extra += -DENABLE_ASSEMBLY=0
+endif
+
ifneq (none,$(X265_10.GCC.g))
X265_10.CONFIGURE.extra += -DCMAKE_BUILD_TYPE=Debug
else