summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-07 16:52:06 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-07 16:52:06 +0000
commitb02cf88e8fa3958c1df9b71225c818a2f07371e1 (patch)
tree24bce3fe3aa0d6706a783ccb0504533568c055a2 /archivers
parent105802e2df23341f8f0d6233b9e244389d5143ff (diff)
downloadpkgsrc-b02cf88e8fa3958c1df9b71225c818a2f07371e1.tar.gz
Add DragonFly support.
patch-af includes the va_arg handling of short -> int promotion from Linux as discussed on tech-pkg@.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/arj/distinfo6
-rw-r--r--archivers/arj/patches/patch-aa6
-rw-r--r--archivers/arj/patches/patch-af13
-rw-r--r--archivers/arj/patches/patch-ag22
4 files changed, 42 insertions, 5 deletions
diff --git a/archivers/arj/distinfo b/archivers/arj/distinfo
index b812d2f8ec7..ba24f8f719b 100644
--- a/archivers/arj/distinfo
+++ b/archivers/arj/distinfo
@@ -1,10 +1,12 @@
-$NetBSD: distinfo,v 1.10 2005/09/08 22:37:53 abs Exp $
+$NetBSD: distinfo,v 1.11 2005/10/07 16:52:06 joerg Exp $
SHA1 (arj-3.10.21.tar.gz) = 3599001a762655688dcd1663e100f2d6ebec8227
RMD160 (arj-3.10.21.tar.gz) = e126821cf15abba91bbeeeb771ffd279ffc7d114
Size (arj-3.10.21.tar.gz) = 430807 bytes
-SHA1 (patch-aa) = 1c710765df0b62a99cba96fe6dba0685723c7928
+SHA1 (patch-aa) = 7dc0000f3d0c0974a40bbea7d9103449cb89b4b9
SHA1 (patch-ab) = d97fb922d7d0c4656dfd648d72e132bfd6198355
SHA1 (patch-ac) = bb74d73a4f07ab9d1d915d3383ba2904caa69573
SHA1 (patch-ad) = 186b05ec694daa25504123690f9b7bba9f22a7f4
SHA1 (patch-ae) = 46181177d4a42b510a02ce8e138275dca453f1de
+SHA1 (patch-af) = 66793484466fa8c7f0ad5cd0010ef8672b2305f4
+SHA1 (patch-ag) = ce4d0fefed6ccf7ab7fad864a7cb7faa36e4e4ac
diff --git a/archivers/arj/patches/patch-aa b/archivers/arj/patches/patch-aa
index 117a7443b2e..5ecd5049ad6 100644
--- a/archivers/arj/patches/patch-aa
+++ b/archivers/arj/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.7 2005/09/08 22:37:53 abs Exp $
+$NetBSD: patch-aa,v 1.8 2005/10/07 16:52:06 joerg Exp $
---- environ.c.orig Fri Jun 18 11:19:36 2004
+--- environ.c.orig 2004-06-18 16:19:36.000000000 +0000
+++ environ.c
@@ -58,10 +58,10 @@
#include <sys/ioctl.h>
#include <sys/statfs.h>
#include <sys/statvfs.h>
- #elif defined(__FreeBSD__)||defined(__NetBSD__)
-+ #elif defined(__FreeBSD__)||defined(__NetBSD__)||defined(__APPLE__)
++ #elif defined(__FreeBSD__)||defined(__NetBSD__)||defined(__APPLE__) || defined(__DragonFly__)
#include <sys/param.h>
#include <sys/mount.h>
- #elif defined(__QNXNTO__)
diff --git a/archivers/arj/patches/patch-af b/archivers/arj/patches/patch-af
new file mode 100644
index 00000000000..93d79efb17b
--- /dev/null
+++ b/archivers/arj/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2005/10/07 16:52:06 joerg Exp $
+
+--- fardata.c.orig 2005-07-22 13:27:50.000000000 +0000
++++ fardata.c
+@@ -655,7 +655,7 @@ int vcprintf(int ccode, FMSG *fmt, va_li
+ num=va_arg(args, unsigned long);
+ else if(qualifier=='h')
+ {
+-#ifdef __linux__
++#if TARGET==UNIX
+ if (flags&SIGN)
+ num=va_arg(args, int); /* num=va_arg(args, short); */
+ else
diff --git a/archivers/arj/patches/patch-ag b/archivers/arj/patches/patch-ag
new file mode 100644
index 00000000000..b57e9571238
--- /dev/null
+++ b/archivers/arj/patches/patch-ag
@@ -0,0 +1,22 @@
+$NetBSD: patch-ag,v 1.1 2005/10/07 16:52:06 joerg Exp $
+
+--- arjdata.c.orig 2005-07-22 13:51:08.000000000 +0000
++++ arjdata.c
+@@ -64,6 +64,8 @@ static char *resources[][2]=
+ #elif TARGET==UNIX
+ #if defined(linux)
+ "Linux"
++ #elif defined(__DragonFly__)
++ "DragonFly"
+ #elif defined(__FreeBSD__)
+ "FreeBSD"
+ #elif defined(SUNOS)
+@@ -91,6 +93,8 @@ static char *resources[][2]=
+ "PLATFORM_APPENDIX",
+ #if defined(linux)
+ "/Linux",
++ #elif defined(__DragonFly__)
++ "/DragonFly",
+ #elif defined(__FreeBSD__)
+ "/FreeBSD",
+ #elif defined(SUNOS)