summaryrefslogtreecommitdiff
path: root/archivers/unarj
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-06-26 20:12:43 +0000
committerasau <asau@pkgsrc.org>2014-06-26 20:12:43 +0000
commita1c5c04478022bf346eb6b32d2be6eafaea8ea7f (patch)
tree974c7b0976399a07012e311802e2d6d06698382b /archivers/unarj
parent903a895413fca3765f31d97021c660f362429764 (diff)
downloadpkgsrc-a1c5c04478022bf346eb6b32d2be6eafaea8ea7f.tar.gz
No "ulong" type on FreeBSD 10.
Diffstat (limited to 'archivers/unarj')
-rw-r--r--archivers/unarj/distinfo4
-rw-r--r--archivers/unarj/patches/patch-aa9
2 files changed, 8 insertions, 5 deletions
diff --git a/archivers/unarj/distinfo b/archivers/unarj/distinfo
index 032abefd7cd..12ed9661f27 100644
--- a/archivers/unarj/distinfo
+++ b/archivers/unarj/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 14:45:27 agc Exp $
+$NetBSD: distinfo,v 1.6 2014/06/26 20:12:43 asau Exp $
SHA1 (unarj-2.65.tar.gz) = 56843e95e6b6ac7577dfdfbfee5af166b5e2c74f
RMD160 (unarj-2.65.tar.gz) = 59984fc428d1fc99aa3e18485f82e9ee45a801ba
Size (unarj-2.65.tar.gz) = 74911 bytes
-SHA1 (patch-aa) = 2029b106a498624902639897ae539fd54a0d1052
+SHA1 (patch-aa) = e64a69fc4f91ba69fc642e6d742a0cc36cfddbb0
SHA1 (patch-ab) = 15216bc07298ce0956bfbadfaae763622ee88a0c
SHA1 (patch-ac) = 59245f61d731e2fd6dc101fefe0f62db0c55b55e
SHA1 (patch-ad) = 46c469ade1a20da7e3ac633652e4ec926ba2b08f
diff --git a/archivers/unarj/patches/patch-aa b/archivers/unarj/patches/patch-aa
index 299075e7824..f02d3ab4f02 100644
--- a/archivers/unarj/patches/patch-aa
+++ b/archivers/unarj/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.6 2005/01/21 14:41:16 wiz Exp $
+$NetBSD: patch-aa,v 1.7 2014/06/26 20:12:43 asau Exp $
---- unarj.h.orig 2002-06-05 12:28:06.000000000 +0200
+--- unarj.h.orig 2002-06-05 10:28:06.000000000 +0000
+++ unarj.h
-@@ -106,9 +106,13 @@
+@@ -106,9 +106,16 @@
#endif
typedef unsigned char uchar; /* 8 bits or more */
@@ -12,6 +12,9 @@ $NetBSD: patch-aa,v 1.6 2005/01/21 14:41:16 wiz Exp $
typedef unsigned long ulong; /* 32 bits or more */
+#else
+# include <sys/types.h>
++#if defined(__FreeBSD__) && __FreeBSD__ >= 10
++typedef unsigned long ulong; /* 32 bits or more */
++#endif
+#endif
#define USHRT_BIT (CHAR_BIT * sizeof(ushort))