From 9f0ac6765b861a64775387c797b180d3a07a8b38 Mon Sep 17 00:00:00 2001 From: Ian Whyman Date: Mon, 18 Nov 2019 18:43:21 +0000 Subject: [PATCH] media-video/handbrake: 1.2.2: restore missing patch Closes: https://bugs.gentoo.org/700482 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Ian Whyman --- ...handbrake-1.2.2-fix-missing-x265-link-flag.patch | 13 +++++++++++++ ...ke-1.2.2-r2.ebuild => handbrake-1.2.2-r3.ebuild} | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 media-video/handbrake/files/handbrake-1.2.2-fix-missing-x265-link-flag.patch rename media-video/handbrake/{handbrake-1.2.2-r2.ebuild => handbrake-1.2.2-r3.ebuild} (98%) diff --git a/media-video/handbrake/files/handbrake-1.2.2-fix-missing-x265-link-flag.patch b/media-video/handbrake/files/handbrake-1.2.2-fix-missing-x265-link-flag.patch new file mode 100644 index 000000000000..a999fc325646 --- /dev/null +++ b/media-video/handbrake/files/handbrake-1.2.2-fix-missing-x265-link-flag.patch @@ -0,0 +1,13 @@ +Written by: Peter Foley +Gentoo Bug: #552792 + +--- ./test/module.defs.bak 2015-06-21 13:19:40.626249439 -0400 ++++ ./test/module.defs 2015-06-21 13:19:54.919757726 -0400 +@@ -25,6 +25,7 @@ + + ifeq (1,$(FEATURE.x265)) + TEST.GCC.D += USE_X265 ++ TEST.GCC.l += x265 + endif + + TEST.GCC.l += $(foreach m,$(MODULES.NAMES),$($m.OSL.libs)) diff --git a/media-video/handbrake/handbrake-1.2.2-r2.ebuild b/media-video/handbrake/handbrake-1.2.2-r3.ebuild similarity index 98% rename from media-video/handbrake/handbrake-1.2.2-r2.ebuild rename to media-video/handbrake/handbrake-1.2.2-r3.ebuild index 6d9379f30132..a2e9041ccde2 100644 --- a/media-video/handbrake/handbrake-1.2.2-r2.ebuild +++ b/media-video/handbrake/handbrake-1.2.2-r3.ebuild @@ -86,7 +86,7 @@ PATCHES=( "${FILESDIR}/${PN}-9999-remove-faac-dependency.patch" # Fix missing x265 link flag - "${FILESDIR}/${PN}-9999-fix-missing-x265-link-flag.patch" + "${FILESDIR}/${P}-fix-missing-x265-link-flag.patch" # Allow disabling nvenc etc "${FILESDIR}/${P}-backport-hardware-configure.patch" -- 2.26.2