diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sci-visualization/gnuplot/files/gnuplot-5.2.8-caca.patch | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-visualization/gnuplot/files/gnuplot-5.2.8-caca.patch')
-rw-r--r-- | sci-visualization/gnuplot/files/gnuplot-5.2.8-caca.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.2.8-caca.patch b/sci-visualization/gnuplot/files/gnuplot-5.2.8-caca.patch new file mode 100644 index 000000000000..2ce464f04499 --- /dev/null +++ b/sci-visualization/gnuplot/files/gnuplot-5.2.8-caca.patch @@ -0,0 +1,33 @@ +Patch backported from branch-5-4-stable. +https://bugs.gentoo.org/690014 + +--- gnuplot-5.2.8-orig/term/caca.trm ++++ gnuplot-5.2.8/term/caca.trm +@@ -1909,8 +1909,11 @@ + CACA_result loop = CACA_loop; + caca_event_t ev; + const int event_mask = +- CACA_EVENT_KEY_PRESS | CACA_EVENT_RESIZE | CACA_EVENT_QUIT | +- CACA_EVENT_MOUSE_MOTION | CACA_EVENT_MOUSE_PRESS | CACA_EVENT_MOUSE_RELEASE; ++ CACA_EVENT_KEY_PRESS | CACA_EVENT_RESIZE | CACA_EVENT_QUIT ++#ifdef USE_MOUSE ++ | CACA_EVENT_MOUSE_MOTION | CACA_EVENT_MOUSE_PRESS | CACA_EVENT_MOUSE_RELEASE ++#endif ++ ; + static int mx = 0, my = 0; /* current mouse position */ + static unsigned long last_event_time = 0; + +@@ -2577,11 +2580,13 @@ + } + } + ++#ifdef USE_MOUSE + if (changed) { + /* Replot only if something changed. */ + CACA_zoom_or_replot = TRUE; + process_event(GE_replot, 0, 0, 0, 0, 0); + } ++#endif + } + + |