diff options
author | wiz <wiz@pkgsrc.org> | 2005-09-17 20:37:29 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-09-17 20:37:29 +0000 |
commit | d6c9a62d3578d31a79ec5e039bf033f1dfbc8474 (patch) | |
tree | 641ba2d64afe56303f8f19408d03862a1bce11ee /archivers | |
parent | a4b87534b5bc0696d711385d0d76196cacce9dd7 (diff) | |
download | pkgsrc-d6c9a62d3578d31a79ec5e039bf033f1dfbc8474.tar.gz |
Fix compilation on Solaris/i386. From Gilles Dauphin in PR 30902.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/unrar/distinfo | 3 | ||||
-rw-r--r-- | archivers/unrar/patches/patch-ac | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/archivers/unrar/distinfo b/archivers/unrar/distinfo index 0a9b6fadbcb..8f703d92bfe 100644 --- a/archivers/unrar/distinfo +++ b/archivers/unrar/distinfo @@ -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 --git a/archivers/unrar/patches/patch-ac b/archivers/unrar/patches/patch-ac new file mode 100644 index 00000000000..415562efb6a --- /dev/null +++ b/archivers/unrar/patches/patch-ac @@ -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; |