summaryrefslogtreecommitdiff
path: root/graphics/bsd-plotutils/files
diff options
context:
space:
mode:
authorKeith White <kwhite.uottawa@gmail.com>2025-07-11 19:11:41 +0200
committerZsolt Udvari <uzsolt@FreeBSD.org>2025-07-11 19:14:20 +0200
commit8511d4fa57aa3bdfede95aa9fbe170cd60d8f6fe (patch)
tree9a0fcb5eb61f37e2401989fe587d412ca87d1de0 /graphics/bsd-plotutils/files
parentx11/swaync: update to 0.12.0 (diff)
graphics/bsd-plotutils: Fix manual page
The man page for plot(1) indicates that a space is required between "-T" and "terminal", this is not the case as it stands. No space is allowed. i.e.: "-Tdumb" is correct "-T dumb" is not. PR: 281715 Approved by: maintainer timeout (8+ months)
Diffstat (limited to 'graphics/bsd-plotutils/files')
-rw-r--r--graphics/bsd-plotutils/files/patch-plot_plot.111
-rw-r--r--graphics/bsd-plotutils/files/patch-plot_plot.sh11
2 files changed, 22 insertions, 0 deletions
diff --git a/graphics/bsd-plotutils/files/patch-plot_plot.1 b/graphics/bsd-plotutils/files/patch-plot_plot.1
new file mode 100644
index 000000000000..d1fa77263b52
--- /dev/null
+++ b/graphics/bsd-plotutils/files/patch-plot_plot.1
@@ -0,0 +1,11 @@
+--- plot/plot.1.orig 2019-02-09 03:42:21 UTC
++++ plot/plot.1
+@@ -13,7 +13,7 @@
+ .Sh SYNOPSIS
+ .Nm plot
+ .Oo
+-.Op Fl T Ar terminal
++.Op Fl T Ns Ar terminal
+ .Oo
+ .Ar
+ .Sh DESCRIPTION
diff --git a/graphics/bsd-plotutils/files/patch-plot_plot.sh b/graphics/bsd-plotutils/files/patch-plot_plot.sh
new file mode 100644
index 000000000000..9c1907843a6b
--- /dev/null
+++ b/graphics/bsd-plotutils/files/patch-plot_plot.sh
@@ -0,0 +1,11 @@
+--- plot/plot.sh.orig 2019-02-09 03:42:21 UTC
++++ plot/plot.sh
+@@ -3,6 +3,8 @@ case $1 in
+ PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/libexec:/usr/libexec
+
+ case $1 in
++-T) t=-T$2
++ shift; shift;;
+ -T*) t=$1
+ shift ;;
+ *) t=-T$TERM