aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xcoral
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2015-01-25 02:43:27 +0800
committermi <mi@FreeBSD.org>2015-01-25 02:43:27 +0800
commit8a738bf129bdd9775255abb58a20923cbdb6151b (patch)
treed3f41e44868a914e3accb56c180379497751f0f5 /editors/xcoral
parent38e6333d903febf8569b53f84d7bdaed7d3ce4ec (diff)
downloadfreebsd-ports-graphics-8a738bf129bdd9775255abb58a20923cbdb6151b.tar.gz
freebsd-ports-graphics-8a738bf129bdd9775255abb58a20923cbdb6151b.tar.zst
freebsd-ports-graphics-8a738bf129bdd9775255abb58a20923cbdb6151b.zip
Add a patch to relax requirements for matching font-names available
in the editor's menu. The menu isn't changeable through the interface nor through the config-files (nor even Xresources). By allowing the templates to be used, we let the users to, at least, control the actual fonts in use by manipulating the font-path. Bump PORTREVISION.
Diffstat (limited to 'editors/xcoral')
-rw-r--r--editors/xcoral/Makefile2
-rw-r--r--editors/xcoral/files/patch-fonts-menu35
2 files changed, 36 insertions, 1 deletions
diff --git a/editors/xcoral/Makefile b/editors/xcoral/Makefile
index a03c3b89573..0948cc94d97 100644
--- a/editors/xcoral/Makefile
+++ b/editors/xcoral/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xcoral
PORTVERSION= 3.47
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://xcoral.free.fr/
diff --git a/editors/xcoral/files/patch-fonts-menu b/editors/xcoral/files/patch-fonts-menu
new file mode 100644
index 00000000000..201df62bd04
--- /dev/null
+++ b/editors/xcoral/files/patch-fonts-menu
@@ -0,0 +1,35 @@
+--- cb_names.c 2001-10-18 07:25:18.000000000 -0400
++++ cb_names.c 2015-01-24 12:55:44.000000000 -0500
+@@ -149,1 +154,1 @@
+-/* "Default (fixed) 13", */
++ "Fixed (13)",
+@@ -178,14 +163,15 @@
+- "-adobe-courier-bold-r-normal--10-100-75-75-m-60-iso8859-1",
+- "-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1",
+- "-adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1",
+- "-adobe-courier-medium-r-normal--10-100-75-75-m-60-iso8859-1",
+- "-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1",
+- "-adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1",
+- "-adobe-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1",
+- "-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1",
+- "-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1",
+- "-adobe-times-bold-r-normal--14-140-75-75-p-77-iso8859-1",
+- "-adobe-times-medium-r-normal--18-180-75-75-p-94-iso8859-1",
+- "-adobe-times-medium-r-normal--20-140-100-100-p-100-iso8859-1",
+- "-adobe-times-medium-r-normal--24-240-75-75-p-132-iso8859-1",
+- "-adobe-new century schoolbook-medium-r-normal--18-180-75-75-p-103-iso8859-1",
++ "-*-courier-bold-r-normal--10-100-75-75-m-60-*-*",
++ "-*-courier-bold-r-normal--12-120-75-75-m-70-*-*",
++ "-*-courier-bold-r-normal--14-140-75-75-m-90-*-*",
++ "-*-courier-medium-r-normal--10-100-75-75-m-60-*-*",
++ "-*-courier-medium-r-normal--12-120-75-75-m-70-*-*",
++ "-*-fixed-medium-r-*-13-*",
++ "-*-courier-medium-r-normal--14-140-75-75-m-90-*-*",
++ "-*-courier-medium-r-normal--18-180-75-75-m-110-*-*",
++ "-*-helvetica-medium-r-normal--14-100-100-100-p-76-*-*",
++ "-*-helvetica-medium-r-normal--20-140-100-100-p-100-*-*",
++ "-*-times-bold-r-normal--14-140-75-75-p-77-*-*",
++ "-*-times-medium-r-normal--18-180-75-75-p-94-*-*",
++ "-*-times-medium-r-normal--20-140-100-100-p-100-*-*",
++ "-*-times-medium-r-normal--24-240-75-75-p-132-*-*",
++ "-*-* schoolbook-medium-r-normal--18-180-75-75-p-103-*-*",