Ticket #9467: scummvm_upstream_amd64.patch

File scummvm_upstream_amd64.patch, 522 bytes (added by SF/tsomi, 11 years ago)

equate amd64 with x86_64 so alignment checks in configure will work as intended on amd64.

  • configure

    diff --git a/configure b/configure
    index f2d45c1..b703776 100755
    a b cc_check_clean tmp_find_type_with_size.cpp  
    19041904# for the smaller sizes.
    19051905echo_n "Alignment required... "
    19061906case $_host_cpu in
    1907         i[3-6]86 | x86_64 | ppc*)
     1907        i[3-6]86 | amd64 | x86_64 | ppc*)
    19081908                # Unaligned access should work
    19091909                _need_memalign=no
    19101910                ;;
    case $_host_cpu in  
    19511951                echo "PowerPC"
    19521952                DEFINES="$DEFINES -DPPC_TARGET"
    19531953                ;;
    1954         x86_64)
     1954        amd64 | x86_64)
    19551955                echo "x86_64"
    19561956                ;;
    19571957        *)