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:
parent
d9d64e4b60
commit
ae96b7ce54
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444423
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= xscavenger
|
||||
PORTVERSION= 1.4.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.linuxmotors.com/scavenger/downloads/
|
||||
|
||||
|
12
games/xscavenger/files/patch-x.c
Normal file
12
games/xscavenger/files/patch-x.c
Normal 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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user