app-office/libreoffice: Adjust patchset use, apply only non-backported
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 28 Jan 2019 18:13:13 +0000 (19:13 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 28 Jan 2019 18:14:50 +0000 (19:14 +0100)
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/libreoffice/libreoffice-6.2.9999.ebuild

index fc17e0a1d33a6d698700fcca12d2276770768b14..61a6eda840908c52ab9d20c00750ef489bd82c46 100644 (file)
@@ -246,7 +246,11 @@ DEPEND="${COMMON_DEPEND}
 "
 
 PATCHES=(
-       "${WORKDIR}"/${PATCHSET/.tar.xz/}
+       # master branch
+       "${WORKDIR}"/${PATCHSET/.tar.xz/}/007-kde5-allow-multiple-mimetypes-clipboard.patch
+       "${WORKDIR}"/${PATCHSET/.tar.xz/}/008-kde5-fix-selection-clipboard.patch
+       "${WORKDIR}"/${PATCHSET/.tar.xz/}/011-qt5kde5-use-logicaldotsperinch-to-report-dpi.patch
+       "${WORKDIR}"/${PATCHSET/.tar.xz/}/012-kde5-no-images-to-clipboard.patch
 
        # not upstreamable stuff
        "${FILESDIR}/${PN}-5.4-system-pyuno.patch"
@@ -306,8 +310,6 @@ src_unpack() {
 }
 
 src_prepare() {
-       rm "${WORKDIR}"/${PATCHSET/.tar.xz/}/00{3,4}*.patch || die # drop backported to 6.2
-
        default
 
        # sandbox violations on many systems, we don't need it. Bug #646406