summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-06-28 02:55:47 +0000
committerjbeich <jbeich@FreeBSD.org>2017-06-28 02:55:47 +0000
commit22d32eaa51f1c5a546e8ad41ab5f9c6a2faaaeb8 (patch)
treebd665757789fdadde8b60ffd2b50b16b71e2befc
parentb7de69a6188cd2315a702502a61b3dbbf3322e74 (diff)
downloadFreeBSD-ports-22d32eaa51f1c5a546e8ad41ab5f9c6a2faaaeb8.zip
FreeBSD-ports-22d32eaa51f1c5a546e8ad41ab5f9c6a2faaaeb8.tar.gz
MFH: r444423
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 Approved by: ports-secteam (miwi)
-rw-r--r--games/xscavenger/Makefile1
-rw-r--r--games/xscavenger/files/patch-x.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/games/xscavenger/Makefile b/games/xscavenger/Makefile
index fdd3922..415ce99 100644
--- a/games/xscavenger/Makefile
+++ b/games/xscavenger/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xscavenger
PORTVERSION= 1.4.5
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.linuxmotors.com/scavenger/downloads/
diff --git a/games/xscavenger/files/patch-x.c b/games/xscavenger/files/patch-x.c
new file mode 100644
index 0000000..7a42be4
--- /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++;
+ }
+ }
+
OpenPOWER on IntegriCloud