Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2019 23:42:27 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518118 - in head/math/gnuplot: . files
Message-ID:  <201911212342.xALNgR0p090198@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;
+ }
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911212342.xALNgR0p090198>