From 0f8be8520d3495bd57ed7638671d288c8855cea9 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 14 May 2017 12:00:55 +0200 Subject: kde-misc/kdiff3: Fix missing cli options Thanks-to: Peter Urbanec Gentoo-bug: 546494 Package-Manager: Portage-2.3.5, Repoman-2.3.1 --- .../files/kdiff3-0.9.98_p20170219-cli-args.patch | 51 ++++++++++++++++++++++ kde-misc/kdiff3/kdiff3-0.9.98_p20170219-r1.ebuild | 37 ++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 kde-misc/kdiff3/files/kdiff3-0.9.98_p20170219-cli-args.patch create mode 100644 kde-misc/kdiff3/kdiff3-0.9.98_p20170219-r1.ebuild (limited to 'kde-misc') diff --git a/kde-misc/kdiff3/files/kdiff3-0.9.98_p20170219-cli-args.patch b/kde-misc/kdiff3/files/kdiff3-0.9.98_p20170219-cli-args.patch new file mode 100644 index 000000000000..3312b504e58a --- /dev/null +++ b/kde-misc/kdiff3/files/kdiff3-0.9.98_p20170219-cli-args.patch @@ -0,0 +1,51 @@ +commit b849851d3317903a8ab7c040966921384d9e6508 +Author: Peter Urbanec +Date: Thu May 11 16:09:12 2017 +1000 + + Implement most of the missing command line options + + A number of command line options were missing, which caused kdiff3 from + failing to work properly when used as the mergetool in git. In particular, + git relies on the -L group of options and without those it would fail. + + Signed-off-by: Peter Urbanec + +diff --git a/src/main.cpp b/src/main.cpp +index 3549c92..fed486d 100644 +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -67,24 +67,23 @@ int main(int argc, char *argv[]) + parser.addOption(QCommandLineOption(QStringList()<show(); diff --git a/kde-misc/kdiff3/kdiff3-0.9.98_p20170219-r1.ebuild b/kde-misc/kdiff3/kdiff3-0.9.98_p20170219-r1.ebuild new file mode 100644 index 000000000000..04a916f8c4bc --- /dev/null +++ b/kde-misc/kdiff3/kdiff3-0.9.98_p20170219-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit kde5 + +DESCRIPTION="Frontend to diff3 based on Qt/KF5" +HOMEPAGE="http://kdiff3.sourceforge.net/ +https://cgit.kde.org/scratch/thomasfischer/kdiff3.git/log/?h=kf5" +SRC_URI="http://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtwidgets) +" +RDEPEND="${DEPEND} + !kde-misc/kdiff3:4 + sys-apps/diffutils +" + +PATCHES=( "${FILESDIR}/${P}-cli-args.patch" ) -- cgit v1.2.3-65-gdbad