Initial commit
[gentoo-soor-overlay.git] / media-libs / freetype / files / freetype-2.3.5-crossbuild.patch
blob32e6ce7642d042007680fd026e54698efeecfe15
1 diff -Naur freetype-2.3.5-orig/builds/unix/configure freetype-2.3.5/builds/unix/configure
2 --- freetype-2.3.5-orig/builds/unix/configure 2007-07-17 22:53:10.000000000 -0600
3 +++ freetype-2.3.5/builds/unix/configure 2007-07-17 22:54:53.000000000 -0600
4 @@ -3270,7 +3270,7 @@
5 test -z "$as_dir" && as_dir=.
6 for ac_exec_ext in '' $ac_executable_extensions; do
7 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8 - ac_cv_prog_CC_BUILD="${build-gcc}"
9 + ac_cv_prog_CC_BUILD="${build}-gcc"
10 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11 break 2
13 diff -Naur freetype-2.3.5-orig/builds/unix/configure.ac freetype-2.3.5/builds/unix/configure.ac
14 --- freetype-2.3.5-orig/builds/unix/configure.ac 2007-07-02 15:41:39.000000000 -0600
15 +++ freetype-2.3.5/builds/unix/configure.ac 2007-07-17 22:54:26.000000000 -0600
16 @@ -40,7 +40,7 @@
17 # checks for native programs to generate building tool
19 if test ${cross_compiling} = yes; then
20 - AC_CHECK_PROG(CC_BUILD, ${build}-gcc, ${build-gcc})
21 + AC_CHECK_PROG(CC_BUILD, ${build}-gcc, ${build}-gcc)
22 test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, gcc, gcc)
23 test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, cc, cc, , , /usr/ucb/cc)
24 test -z "${CC_BUILD}" && AC_MSG_ERROR([cannot find native C compiler])
25 diff -Naur freetype-2.3.5-orig/builds/unix/configure.raw freetype-2.3.5/builds/unix/configure.raw
26 --- freetype-2.3.5-orig/builds/unix/configure.raw 2007-07-02 15:13:50.000000000 -0600
27 +++ freetype-2.3.5/builds/unix/configure.raw 2007-07-17 22:54:47.000000000 -0600
28 @@ -40,7 +40,7 @@
29 # checks for native programs to generate building tool
31 if test ${cross_compiling} = yes; then
32 - AC_CHECK_PROG(CC_BUILD, ${build}-gcc, ${build-gcc})
33 + AC_CHECK_PROG(CC_BUILD, ${build}-gcc, ${build}-gcc)
34 test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, gcc, gcc)
35 test -z "${CC_BUILD}" && AC_CHECK_PROG(CC_BUILD, cc, cc, , , /usr/ucb/cc)
36 test -z "${CC_BUILD}" && AC_MSG_ERROR([cannot find native C compiler])