From 22d32eaa51f1c5a546e8ad41ab5f9c6a2faaaeb8 Mon Sep 17 00:00:00 2001 From: jbeich Date: Wed, 28 Jun 2017 02:55:47 +0000 Subject: 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) --- games/xscavenger/Makefile | 1 + games/xscavenger/files/patch-x.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 games/xscavenger/files/patch-x.c 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++; + } + } + -- cgit v1.1