summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-03-09 10:31:49 +0000
committerfhajny <fhajny@pkgsrc.org>2012-03-09 10:31:49 +0000
commit5bec90772ecc6a29bfe0dffa6f77b42aedbdccf4 (patch)
tree76b9ad9b52306506c184e3fef136c1e9278b97d3
parent733583812fbc0c06e8b1b9d8a08072e0e86d2a84 (diff)
downloadpkgsrc-5bec90772ecc6a29bfe0dffa6f77b42aedbdccf4.tar.gz
Use LITTLE_ENDIAN on amd64 arch (fixes SunOS and ABI=64).
-rw-r--r--archivers/unrar/distinfo4
-rw-r--r--archivers/unrar/patches/patch-ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/archivers/unrar/distinfo b/archivers/unrar/distinfo
index f4618d985b2..eff52e04ba2 100644
--- a/archivers/unrar/distinfo
+++ b/archivers/unrar/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.42 2012/01/20 15:26:08 wiz Exp $
+$NetBSD: distinfo,v 1.43 2012/03/09 10:31:49 fhajny Exp $
SHA1 (unrarsrc-4.1.4.tar.gz) = ae4b1e2c99e96527c4a97f980daa547499f42a0f
RMD160 (unrarsrc-4.1.4.tar.gz) = 0bb200c01f665142b7581b1b40ef1047dca13c57
Size (unrarsrc-4.1.4.tar.gz) = 157135 bytes
-SHA1 (patch-ac) = ca8bcbc1ce6723a2cd576067c6fbd171abb0c711
+SHA1 (patch-ac) = 14192cf81b59442d5b4c2e9212330d8998135ec2
SHA1 (patch-consio.cpp) = 341dd714b165fabf3dec0213b9bb3e57dcc146f5
diff --git a/archivers/unrar/patches/patch-ac b/archivers/unrar/patches/patch-ac
index b54b759f29d..600dc987d0c 100644
--- a/archivers/unrar/patches/patch-ac
+++ b/archivers/unrar/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.2 2008/10/09 13:27:35 wiz Exp $
+$NetBSD: patch-ac,v 1.3 2012/03/09 10:31:49 fhajny Exp $
--- os.hpp.orig 2008-09-16 14:24:56.000000000 +0000
+++ os.hpp
@@ -16,7 +16,7 @@ $NetBSD: patch-ac,v 1.2 2008/10/09 13:27:35 wiz Exp $
#endif
#endif
-+#if defined(__i386) || defined(i386) || defined(__i386__)
++#if defined(__i386) || defined(i386) || defined(__i386__) || defined(__amd64) || defined(amd64) || defined(__amd64__)
+ #ifndef LITTLE_ENDIAN
+ #define LITTLE_ENDIAN
+ #endif