-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch mummerplot to work with gnuplot 5 (#9000)
* Skip 'set mouse clipboardformat' on gnuplot 5 Based on changes in mummerplot v4 to cope with being run on gnuplot 5, with a tweak to still work on older versions of gnuplot. See also: mummer4/mummer#64 * fix linting * Include directory name in patch path * Try including the tar-ball directory name too * Was missing .pl in the filename * Debugging: Stop hiding test comand output * Declare run-time libstdc++ dependency * Revert "Debugging: Stop hiding test comand output" This reverts commit 622d827.
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
recipes/mummer/patches/gnuplot_mouse_clipboardformat.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- MUMmer3.23/scripts/mummerplot.pl 2018-05-22 17:01:01.000000000 +0100 | ||
+++ MUMmer3.23/scripts/mummerplot.pl.new 2018-05-22 17:01:52.000000000 +0100 | ||
@@ -1151,7 +1151,7 @@ | ||
$P_KEY = "unset key"; | ||
$P_FORMAT .= "\nset mouse format \"$TFORMAT\""; | ||
$P_FORMAT .= "\nset mouse mouseformat \"$MFORMAT\""; | ||
- $P_FORMAT .= "\nset mouse clipboardformat \"$MFORMAT\""; | ||
+ $P_FORMAT .= "\nif(GPVAL_VERSION < 5) set mouse clipboardformat \"$MFORMAT\""; | ||
} | ||
else { | ||
$P_LS = "set linestyle"; |