2 buildlib/sizetable | 4 +++-
4 2 files changed, 4 insertions(+), 2 deletions(-)
6 --- apt-0.7.14.orig/buildlib/sizetable
7 +++ apt-0.7.14/buildlib/sizetable
10 # This is used primarily for the MD5 algorithm.
12 # CPU endian sizeof: char, int, short, long
28 \ No newline at end of file
30 --- apt-0.7.14.orig/configure.in
31 +++ apt-0.7.14/configure.in
32 @@ -86,11 +86,11 @@ AC_SUBST(BDBLIB)
33 dnl Converts the ARCH to be something singular for this general CPU family
34 dnl This is often the dpkg architecture string.
35 dnl First check against the full canonical canoncial-system-type in $target
36 dnl and if that fails, just look for the cpu
37 AC_MSG_CHECKING(debian architecture)
38 -archset="`dpkg-architecture -qDEB_HOST_ARCH`"
39 +archset="`echo $host_alias|cut -d'-' -f1`"
40 if test "x$archset" = "x"; then
41 AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture])
43 AC_MSG_RESULT($archset)
44 AC_DEFINE_UNQUOTED(COMMON_ARCH,"$archset")