summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/handbrake')
-rw-r--r--media-video/handbrake/files/handbrake-1.2.2-fix-missing-x265-link-flag.patch13
-rw-r--r--media-video/handbrake/handbrake-1.2.2-r3.ebuild (renamed from media-video/handbrake/handbrake-1.2.2-r2.ebuild)2
2 files changed, 14 insertions, 1 deletions
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 <pefoley2@pefoley.com>
+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
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"