svn commit: r518118 - in head/math/gnuplot: . files
Greg Lewis
glewis at FreeBSD.org
Thu Nov 21 23:42:27 UTC 2019
Author: glewis
Date: Thu Nov 21 23:42:26 2019
New Revision: 518118
URL: https://svnweb.freebsd.org/changeset/ports/518118
Log:
Fix the 'fig' terminal
PR: 242097
Submitted by: mjl at luckie.org.nz
Added:
head/math/gnuplot/files/patch-term-fig.trm (contents, props changed)
Modified:
head/math/gnuplot/Makefile
Modified: head/math/gnuplot/Makefile
==============================================================================
--- head/math/gnuplot/Makefile Thu Nov 21 23:06:37 2019 (r518117)
+++ head/math/gnuplot/Makefile Thu Nov 21 23:42:26 2019 (r518118)
@@ -2,7 +2,7 @@
PORTNAME= gnuplot
PORTVERSION= 5.2.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math graphics
MASTER_SITES= SF
Added: head/math/gnuplot/files/patch-term-fig.trm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/gnuplot/files/patch-term-fig.trm Thu Nov 21 23:42:26 2019 (r518118)
@@ -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;
+ }
+
More information about the svn-ports-all
mailing list