Ticket #4740: scummvm_linux_lfs.patch

File scummvm_linux_lfs.patch, 650 bytes (added by wjp, 14 years ago)
  • configure

    diff --git a/configure b/configure
    index 798ca78..834830a 100755
    a b echo "$_have_x86"  
    12361236echo_n "Checking hosttype... "
    12371237echo $_host_os
    12381238case $_host_os in
    1239         linux* | uclinux* | openbsd* | netbsd* | bsd* | sunos* | hpux*)
     1239        linux* | uclinux*)
     1240                # When not cross-compiling, enable large file support, but don't
     1241                # care if getconf doesn't exist or doesn't recognize LFS_CFLAGS.
     1242                if test -z "$_host"; then
     1243                        CXXFLAGS="$CXXFLAGS $(getconf LFS_CFLAGS 2>/dev/null)"
     1244                fi
     1245                DEFINES="$DEFINES -DUNIX"
     1246                ;;
     1247        openbsd* | netbsd* | bsd* | sunos* | hpux*)
    12401248                DEFINES="$DEFINES -DUNIX"
    12411249                ;;
    12421250        freebsd*)