media-video/handbrake: 1.2.2: restore missing patch
authorIan Whyman <thev00d00@gentoo.org>
Mon, 18 Nov 2019 18:43:21 +0000 (18:43 +0000)
committerIan Whyman <thev00d00@gentoo.org>
Mon, 18 Nov 2019 18:43:41 +0000 (18:43 +0000)
Closes: https://bugs.gentoo.org/700482
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Ian Whyman <thev00d00@gentoo.org>
media-video/handbrake/files/handbrake-1.2.2-fix-missing-x265-link-flag.patch [new file with mode: 0644]
media-video/handbrake/handbrake-1.2.2-r3.ebuild [moved from media-video/handbrake/handbrake-1.2.2-r2.ebuild with 98% similarity]

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 (file)
index 0000000..a999fc3
--- /dev/null
@@ -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))
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 6d9379f30132c6692667ee591e286c46e9f152b8..a2e9041ccde2a178cafda790a10d42065f43657f 100644 (file)
@@ -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"