diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2019-11-21 23:42:26 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2019-11-21 23:42:26 +0000 |
commit | bbaf74b749822437536980ee892cc316c45c0db8 (patch) | |
tree | 4fa3f7439c30b78325727f8edb0eeb6069147418 /math/gnuplot/files/patch-term-fig.trm | |
parent | Update lang/erlang-runtime22 to version 22.1.8. (diff) |
Fix the 'fig' terminal
PR: 242097
Submitted by: mjl@luckie.org.nz
Notes
Notes:
svn path=/head/; revision=518118
Diffstat (limited to 'math/gnuplot/files/patch-term-fig.trm')
-rw-r--r-- | math/gnuplot/files/patch-term-fig.trm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/math/gnuplot/files/patch-term-fig.trm b/math/gnuplot/files/patch-term-fig.trm new file mode 100644 index 000000000000..1957921c914c --- /dev/null +++ b/math/gnuplot/files/patch-term-fig.trm @@ -0,0 +1,15 @@ +--- term/fig.trm.orig ++++ term/fig.trm +@@ -680,11 +680,11 @@ + double empirical_scale = 3.0; + (void) custom_dash_pattern; /* ignore */ + if (type <= 0) +- type = LT_SOLID; ++ type = SOLID_LINE; + FIG_type = type % 6; + /* FIXME: should pass through "dl" somehow */ + FIG_spacing = empirical_scale * FIG_current_linewidth; +- FIG_line.cap_style = (FIG_type == 0) ? CAP_BUTT : CAP_ROUND; ++ FIG_line.cap_style = (FIG_type == SOLID_LINE) ? CAP_BUTT : CAP_ROUND; + } + |