commit: baa88e6698a7e9288d63f57b55cbc8f19b76c3fd Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> AuthorDate: Thu Jun 18 21:30:30 2020 +0000 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> CommitDate: Thu Jun 18 21:30:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa88e66
media-gfx/graphviz: fix dotty meny calls Closes: https://bugs.gentoo.org/682524 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> media-gfx/graphviz/files/dotty_change_button.patch | 22 ++++++++++++++++++++++ media-gfx/graphviz/graphviz-2.42.3.ebuild | 3 ++- media-gfx/graphviz/graphviz-2.44.0.ebuild | 3 ++- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/media-gfx/graphviz/files/dotty_change_button.patch b/media-gfx/graphviz/files/dotty_change_button.patch new file mode 100644 index 00000000000..8c5f34a2e12 --- /dev/null +++ b/media-gfx/graphviz/files/dotty_change_button.patch @@ -0,0 +1,22 @@ +diff --git a/cmd/dotty/dotty_ui.lefty b/cmd/dotty/dotty_ui.lefty +index a8c9116..a708c61 100644 +--- a/cmd/dotty/dotty_ui.lefty ++++ b/cmd/dotty/dotty_ui.lefty +@@ -342,7 +342,7 @@ dotty.protovt.normal.uifuncs = [ + else + gt.insertedge (gt, data.pobj, null, data.obj, null, null, 1); + }; +- 'rightdown' = function (data) { ++ 'rightup' = function (data) { + local vt, gt, menu, i; + + vt = dotty.views[data.widget]; +@@ -447,7 +447,7 @@ dotty.protovt.birdseye.uifuncs = [ + 'middledown' = dotty.protovt.normal.uifuncs.middledown; + 'middlemove' = dotty.protovt.normal.uifuncs.middlemove; + 'middleup' = dotty.protovt.normal.uifuncs.middleup; +- 'rightdown' = dotty.protovt.normal.uifuncs.rightdown; ++ 'rightup' = dotty.protovt.normal.uifuncs.rightup; + 'keyup' = dotty.protovt.normal.uifuncs.keyup; + 'redraw' = dotty.protovt.normal.uifuncs.redraw; + 'closeview' = dotty.protovt.normal.uifuncs.closeview; diff --git a/media-gfx/graphviz/graphviz-2.42.3.ebuild b/media-gfx/graphviz/graphviz-2.42.3.ebuild index f27ec198047..25cc03cc657 100644 --- a/media-gfx/graphviz/graphviz-2.42.3.ebuild +++ b/media-gfx/graphviz/graphviz-2.42.3.ebuild @@ -143,7 +143,8 @@ DEPEND="${RDEPEND} # sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' # with flags enabled at configure time -PATCHES=( "${FILESDIR}"/${PN}-2.34.0-Xaw-configure.patch ) +PATCHES=( "${FILESDIR}"/${PN}-2.34.0-Xaw-configure.patch + "${FILESDIR}"/dotty_change_button.patch ) pkg_setup() { use python && python-single-r1_pkg_setup diff --git a/media-gfx/graphviz/graphviz-2.44.0.ebuild b/media-gfx/graphviz/graphviz-2.44.0.ebuild index cc960e3dcb4..25929d6e9b8 100644 --- a/media-gfx/graphviz/graphviz-2.44.0.ebuild +++ b/media-gfx/graphviz/graphviz-2.44.0.ebuild @@ -143,7 +143,8 @@ DEPEND="${RDEPEND} # sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' # with flags enabled at configure time -PATCHES=( "${FILESDIR}"/${PN}-2.34.0-Xaw-configure.patch ) +PATCHES=( "${FILESDIR}"/${PN}-2.34.0-Xaw-configure.patch + "${FILESDIR}"/dotty_change_button.patch ) pkg_setup() { use python && python-single-r1_pkg_setup