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
This commit is contained in:
Jan Beich 2017-06-26 22:49:53 +00:00
parent d9d64e4b60
commit ae96b7ce54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444423
2 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= xscavenger
PORTVERSION= 1.4.5
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.linuxmotors.com/scavenger/downloads/

View File

@ -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++;
}
}