diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-06-27 06:49:53 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-06-27 06:49:53 +0800 |
commit | 261b3491725f11c4eab1f9bb1440e8f65ece6cb9 (patch) | |
tree | d0d6f608570e55c900bfd467824da0077f3fe724 /games/xscavenger/files | |
parent | f64f3fcfe30e0a67eea5455fb7ef62cc731b7610 (diff) | |
download | freebsd-ports-gnome-261b3491725f11c4eab1f9bb1440e8f65ece6cb9.tar.gz freebsd-ports-gnome-261b3491725f11c4eab1f9bb1440e8f65ece6cb9.tar.zst freebsd-ports-gnome-261b3491725f11c4eab1f9bb1440e8f65ece6cb9.zip |
games/xscavenger: fix font mapping with Clang or GCC 7.*
Characters of user name and some menu couldn't display the correct
letters because of incorrect font mapping.
PR: 220106
Submitted by: Yasuhito FUTATSUKI
MFH: 2017Q2
Diffstat (limited to 'games/xscavenger/files')
-rw-r--r-- | games/xscavenger/files/patch-x.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/xscavenger/files/patch-x.c b/games/xscavenger/files/patch-x.c new file mode 100644 index 000000000000..7a42be4e352e --- /dev/null +++ b/games/xscavenger/files/patch-x.c @@ -0,0 +1,12 @@ +--- x.c.orig 2014-11-18 19:58:49 UTC ++++ x.c +@@ -445,7 +445,8 @@ int i; + i=0; + while(*p) + { +- fmap[tolower(*p)]=fmap[*p++]=i++; ++ fmap[tolower(*p)]=fmap[*p]=i++; ++ p++; + } + } + |