summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-02 14:57:07 +0000
committerhans <hans@pkgsrc.org>2012-03-02 14:57:07 +0000
commit9a19200d9ca00bd96afc8a9ba626b0af96e662d9 (patch)
tree33b6e2224fed8e13cb6e9380facf1468f82b2e3b /security
parent1aaf3c2dd973e679b7bd5de30b2b812e5b2adfdd (diff)
downloadpkgsrc-9a19200d9ca00bd96afc8a9ba626b0af96e662d9.tar.gz
Fix build on SunOS.
Diffstat (limited to 'security')
-rw-r--r--security/MyPasswordSafe/distinfo4
-rw-r--r--security/MyPasswordSafe/patches/patch-ad16
2 files changed, 16 insertions, 4 deletions
diff --git a/security/MyPasswordSafe/distinfo b/security/MyPasswordSafe/distinfo
index 3b788a6d10c..79a54d8ac7e 100644
--- a/security/MyPasswordSafe/distinfo
+++ b/security/MyPasswordSafe/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2011/11/22 20:05:25 joerg Exp $
+$NetBSD: distinfo,v 1.11 2012/03/02 15:07:16 hans Exp $
SHA1 (MyPasswordSafe-20061216.src.tgz) = 37bb3f7491b42c8aac5d71cc6546ced018a15119
RMD160 (MyPasswordSafe-20061216.src.tgz) = b61f1525aed3160b88c1ef6c6922ff131ad2248c
@@ -6,7 +6,7 @@ Size (MyPasswordSafe-20061216.src.tgz) = 834084 bytes
SHA1 (patch-aa) = ef524bde4c75a822bdf035a828242e6eec5fd652
SHA1 (patch-ab) = 41f42aa0fa4f9d97431a9a01807a0a2cc838a753
SHA1 (patch-ac) = b6bd898a248da7052087a233e7aac215ad1196e2
-SHA1 (patch-ad) = 56179239b4ab92ee83f792432bc07c1501e1cdad
+SHA1 (patch-ad) = dabddc12850f2b323c5fc09d88b2b81eef1c4585
SHA1 (patch-ae) = e5dca33f49895f5b30d757fd41dc58d6e8bb55a0
SHA1 (patch-src-crypto-bfproxy.cpp) = cb84b4c5f474f057f0b702ff541d0587369a21e8
SHA1 (patch-src-encryptedstring.cpp) = 715f7918fce45d3c4516acbcadd99e87f58a6492
diff --git a/security/MyPasswordSafe/patches/patch-ad b/security/MyPasswordSafe/patches/patch-ad
index 193d57c74ee..9cc36cf5ade 100644
--- a/security/MyPasswordSafe/patches/patch-ad
+++ b/security/MyPasswordSafe/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.1 2006/01/19 23:39:19 joerg Exp $
+$NetBSD: patch-ad,v 1.2 2012/03/02 15:07:16 hans Exp $
--- src/myendian.h.orig 2006-01-19 23:32:41.000000000 +0000
+++ src/myendian.h
-@@ -8,7 +8,7 @@
+@@ -8,10 +8,19 @@
# define BYTE_ORDER LITTLE_ENDIAN
# endif
#else
@@ -11,3 +11,15 @@ $NetBSD: patch-ad,v 1.1 2006/01/19 23:39:19 joerg Exp $
# include <sys/endian.h>
# elif __APPLE__
# include <ppc/endian.h>
++# elif __sun
++# include <sys/byteorder.h>
++# define LITTLE_ENDIAN 1234
++# define BIG_ENDIAN 4321
++# ifdef _BIG_ENDIAN
++# define BYTE_ORDER BIG_ENDIAN
++# else
++# define BYTE_ORDER LITTLE_ENDIAN
++# endif
+ # else
+ # include <endian.h>
+ # endif