1 |
hasufell 13/01/31 15:30:42 |
2 |
|
3 |
Added: residualvm-0.1.0-EE.patch |
4 |
Log: |
5 |
fix build under EE locale |
6 |
|
7 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 games-engines/residualvm/files/residualvm-0.1.0-EE.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/residualvm/files/residualvm-0.1.0-EE.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/residualvm/files/residualvm-0.1.0-EE.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: residualvm-0.1.0-EE.patch |
16 |
=================================================================== |
17 |
--- config.guess |
18 |
+++ config.guess |
19 |
@@ -855,7 +855,7 @@ |
20 |
exit ;; |
21 |
*:GNU/*:*:*) |
22 |
# other systems with GNU libc and userland |
23 |
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu |
24 |
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[:upper:]' '[:lower:]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu |
25 |
exit ;; |
26 |
i*86:Minix:*:*) |
27 |
echo ${UNAME_MACHINE}-pc-minix |
28 |
@@ -955,7 +955,7 @@ |
29 |
exit ;; |
30 |
parisc:Linux:*:* | hppa:Linux:*:*) |
31 |
# Look for CPU level |
32 |
- case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
33 |
+ case `grep '^cpu[^[:lower:]]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
34 |
PA7*) echo hppa1.1-unknown-linux-gnu ;; |
35 |
PA8*) echo hppa2.0-unknown-linux-gnu ;; |
36 |
*) echo hppa-unknown-linux-gnu ;; |
37 |
--- configure |
38 |
+++ configure |
39 |
@@ -3395,8 +3395,8 @@ |
40 |
if test -z "$_freetypeconfig"; then |
41 |
_freetype2=no |
42 |
else |
43 |
- FREETYPE2_LIBS=`$_freetypeconfig --prefix="$_freetypepath" --libs` |
44 |
- FREETYPE2_CFLAGS=`$_freetypeconfig --prefix="$_freetypepath" --cflags` |
45 |
+ FREETYPE2_LIBS=`pkg-config --libs freetype2 2>/dev/null || $_freetypeconfig --prefix="$_freetypepath" --libs` |
46 |
+ FREETYPE2_CFLAGS=`pkg-config --cflags freetype2 2>/dev/null || $_freetypeconfig --prefix="$_freetypepath" --cflags` |
47 |
|
48 |
if test "$_freetype2" = "auto"; then |
49 |
_freetype2=no |
50 |
@@ -3848,7 +3848,7 @@ |
51 |
fi |
52 |
|
53 |
# Save the settings |
54 |
- defname="ENABLE_`echo $engine | tr '[a-z]' '[A-Z]'`" |
55 |
+ defname="ENABLE_`echo $engine | tr '[:lower:]' '[:upper:]'`" |
56 |
if test "$isbuilt" = "no" ; then |
57 |
add_line_to_config_mk "# $defname" |
58 |
else |