diff options
author | minskim <minskim> | 2004-07-05 14:41:31 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-07-05 14:41:31 +0000 |
commit | 2f39e21de86561d820731bcd5a33d98e7a08d32b (patch) | |
tree | 301ca302804476bad4daebe5b49210b6d642f0df | |
parent | b71d7b8fa2a883310387797e5c8ff63f5eb5f456 (diff) | |
download | pkgsrc-2f39e21de86561d820731bcd5a33d98e7a08d32b.tar.gz |
Include endian.h instead of sys/endian.h on Linux.
-rw-r--r-- | archivers/p7zip/distinfo | 4 | ||||
-rw-r--r-- | archivers/p7zip/patches/patch-aa | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/archivers/p7zip/distinfo b/archivers/p7zip/distinfo index b614d7a6048..52920e1dba4 100644 --- a/archivers/p7zip/distinfo +++ b/archivers/p7zip/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2004/06/27 20:28:53 kristerw Exp $ +$NetBSD: distinfo,v 1.3 2004/07/05 14:41:31 minskim Exp $ SHA1 (p7zip_0.80.tar.bz2) = c87cda0a8a2cd1300272d71f4cd371db7ebb4b79 Size (p7zip_0.80.tar.bz2) = 921896 bytes -SHA1 (patch-aa) = f6a15b99f25a8ba631c45df94cfe4f7aff26bc8b +SHA1 (patch-aa) = 943f6149b1a9ae8bd75e94e940976e1f8f21136e SHA1 (patch-ab) = e438472f1eb6886dcaee0147ca5f9a2604a9abb1 SHA1 (patch-ac) = 61dff04aca7b0c69ba8f12af40a4c27815a0bef2 SHA1 (patch-ad) = 34197da6654226155b26bcea083801d241f348d4 diff --git a/archivers/p7zip/patches/patch-aa b/archivers/p7zip/patches/patch-aa index a7eb6f81675..c37529e1cdd 100644 --- a/archivers/p7zip/patches/patch-aa +++ b/archivers/p7zip/patches/patch-aa @@ -1,14 +1,18 @@ -$NetBSD: patch-aa,v 1.1.1.1 2004/06/25 13:56:12 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2004/07/05 14:41:31 minskim Exp $ ---- 7zip/Crypto/AES/aesopt.h.orig 2004-06-13 19:06:36.000000000 +0200 +--- 7zip/Crypto/AES/aesopt.h.orig 2004-06-13 12:06:36.000000000 -0500 +++ 7zip/Crypto/AES/aesopt.h -@@ -166,8 +166,7 @@ +@@ -166,8 +166,11 @@ // #if defined(__GNUC__) || defined(__GNU_LIBRARY__) #if (defined(__GNUC__) || defined(__GNU_LIBRARY__)) && !defined(WIN32) && !defined(__CYGWIN__) -# include <endian.h> -# include <byteswap.h> -+# include <sys/endian.h> ++# ifdef __linux__ ++# include <endian.h> ++# else ++# include <sys/endian.h> ++# endif #elif defined(__CRYPTLIB__) # if defined( INC_ALL ) # include "crypt.h" |