summaryrefslogtreecommitdiff
path: root/x11-fonts/ttmkfdir/files/patch-ttf.cpp
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2012-12-07 17:43:42 +0000
committerMikhail Teterin <mi@FreeBSD.org>2012-12-07 17:43:42 +0000
commit3bfb309658856960cdbeaafd0cb27580fbf1b43c (patch)
tree4e42733a0ae2168408b4987a9bd8658126dec6e1 /x11-fonts/ttmkfdir/files/patch-ttf.cpp
parent- Update to version 209 (diff)
Undeprecate by switching to Gentoo's mirrors. The software may be obsolete, and
that may be a reason to kill it, but the sources surely surely remain out there. Enable parallelized building and silence the noisiest of the warnings while I'm here. Feature safe: yes
Notes
Notes: svn path=/head/; revision=308441
Diffstat (limited to 'x11-fonts/ttmkfdir/files/patch-ttf.cpp')
-rw-r--r--x11-fonts/ttmkfdir/files/patch-ttf.cpp31
1 files changed, 29 insertions, 2 deletions
diff --git a/x11-fonts/ttmkfdir/files/patch-ttf.cpp b/x11-fonts/ttmkfdir/files/patch-ttf.cpp
index 8b3fd50c64cc..7718aea50169 100644
--- a/x11-fonts/ttmkfdir/files/patch-ttf.cpp
+++ b/x11-fonts/ttmkfdir/files/patch-ttf.cpp
@@ -1,5 +1,5 @@
---- ttf.cpp.orig Wed Jul 19 11:13:20 2006
-+++ ttf.cpp Wed Jul 19 11:22:41 2006
+--- ttf.cpp 2003-01-08 00:25:25.000000000 -0500
++++ ttf.cpp 2012-12-07 12:34:54.000000000 -0500
@@ -51,20 +51,27 @@
bool
Face::MappingPresent (int cmapidx, NumericMapping *m, int enc_size, int start_code, bool enc_comp)
@@ -44,3 +44,30 @@
};
platform = NamePtr.platform_id;
encoding = NamePtr.encoding_id;
+@@ -483,7 +490,7 @@
+ const char *
+ Face::PanoseWeight (void) const
+ {
+- static char *panose_weight_latin[] = {
++ static const char *panose_weight_latin[] = {
+ "any",
+ "no fit",
+ "very light",
+@@ -548,7 +555,7 @@
+ const char *
+ Face::PanoseWidth (void) const
+ {
+- static char *panose_spacing_latin_text [] = {
++ static const char *panose_spacing_latin_text [] = {
+ "any",
+ "no fit",
+ "old style",
+@@ -561,7 +568,7 @@
+ "monospaced",
+ };
+
+- static char *panose_spacing_latin_decorative [] = {
++ static const char *panose_spacing_latin_decorative [] = {
+ "any",
+ "no fit",
+ "super condensed",