pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/p7zip Include endian.h instead of sys/endian...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a7267a211d1
branches:  trunk
changeset: 477579:3a7267a211d1
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Jul 05 14:41:31 2004 +0000

description:
Include endian.h instead of sys/endian.h on Linux.

diffstat:

 archivers/p7zip/distinfo         |   4 ++--
 archivers/p7zip/patches/patch-aa |  12 ++++++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 6e759e489895 -r 3a7267a211d1 archivers/p7zip/distinfo
--- a/archivers/p7zip/distinfo  Mon Jul 05 14:29:33 2004 +0000
+++ b/archivers/p7zip/distinfo  Mon Jul 05 14:41:31 2004 +0000
@@ -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 -r 6e759e489895 -r 3a7267a211d1 archivers/p7zip/patches/patch-aa
--- a/archivers/p7zip/patches/patch-aa  Mon Jul 05 14:29:33 2004 +0000
+++ b/archivers/p7zip/patches/patch-aa  Mon Jul 05 14:41:31 2004 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index