diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-03-25 08:47:12 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-03-25 08:47:12 +0000 |
commit | 897b47b0ea627e2f3e2b2398108c90532f735ce6 (patch) | |
tree | 9475ff5e3023666471776f5462a198e066fa74f9 /packages/opkg/files | |
parent | 80e765ba6f2c395006d82251bea0b3590b277dff (diff) |
opkg: fix md5 hashing on big-endian machines
Diffstat (limited to 'packages/opkg/files')
-rw-r--r-- | packages/opkg/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/opkg/files/fix_endianness.patch | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/opkg/files/.mtn2git_empty b/packages/opkg/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opkg/files/.mtn2git_empty diff --git a/packages/opkg/files/fix_endianness.patch b/packages/opkg/files/fix_endianness.patch new file mode 100644 index 0000000000..8632ce5658 --- /dev/null +++ b/packages/opkg/files/fix_endianness.patch @@ -0,0 +1,12 @@ +diff -urN opkg.orig/configure.ac opkg/configure.ac +--- opkg.orig/configure.ac 2008-03-20 13:29:09.000000000 +0100 ++++ opkg/configure.ac 2008-03-25 09:39:52.000000000 +0100 +@@ -94,7 +94,7 @@ + AC_CHECK_MEMBERS([struct stat.st_rdev]) + + # Checks endianness +-AC_C_BIGENDIAN(ENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",) ++AC_C_BIGENDIAN(BIGENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",) + AC_SUBST(BIGENDIAN_CFLAGS) + + # Don't do annoying tests that don't work when cross-compiling, just trust them. |