pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/unrar Fix compilation on Solaris/i386. From ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1a4b31e98c07
branches: trunk
changeset: 499276:1a4b31e98c07
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Sep 17 20:37:29 2005 +0000
description:
Fix compilation on Solaris/i386. From Gilles Dauphin in PR 30902.
diffstat:
archivers/unrar/distinfo | 3 ++-
archivers/unrar/patches/patch-ac | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r c52ff1ebd9ff -r 1a4b31e98c07 archivers/unrar/distinfo
--- a/archivers/unrar/distinfo Sat Sep 17 20:33:11 2005 +0000
+++ b/archivers/unrar/distinfo Sat Sep 17 20:37:29 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.21 2005/09/05 00:44:49 wiz Exp $
+$NetBSD: distinfo,v 1.22 2005/09/17 20:37:29 wiz Exp $
SHA1 (unrarsrc-3.5.3.tar.gz) = 15d3335732ef5636008016f8b1d7d2328675583a
RMD160 (unrarsrc-3.5.3.tar.gz) = 8f34edd38e7c3d7bc8c454c4574fe2dc3b54d9e2
Size (unrarsrc-3.5.3.tar.gz) = 122678 bytes
SHA1 (patch-aa) = 272060ab4fcaaae0de0d99a8533b268a3aa6d91a
SHA1 (patch-ab) = fbbb1addd7570ac0e6328113c5d88c8ae931ceb6
+SHA1 (patch-ac) = ce3b9a618045d7ca7232e1622ac84bd82216e297
diff -r c52ff1ebd9ff -r 1a4b31e98c07 archivers/unrar/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unrar/patches/patch-ac Sat Sep 17 20:37:29 2005 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ac,v 1.1 2005/09/17 20:37:29 wiz Exp $
+
+--- os.hpp.orig 2005-08-03 18:34:30.000000000 +0200
++++ os.hpp
+@@ -133,7 +133,8 @@
+
+ #endif
+
+-#ifdef _UNIX
++/*#ifdef _UNIX */
++#if defined(__unix) || defined(__unix__) || defined(_UNIX)
+
+ #define NM 1024
+
+@@ -208,6 +209,12 @@
+ #endif
+ #endif
+
++#if defined(__i386) || defined(i386) || defined(__i386__)
++ #ifndef LITTLE_ENDIAN
++ #define LITTLE_ENDIAN
++ #endif
++#endif
++
+ #endif
+
+ typedef const char* MSGID;
Home |
Main Index |
Thread Index |
Old Index