diff options
author | joerg <joerg> | 2005-10-07 16:52:06 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-10-07 16:52:06 +0000 |
commit | 700230e7ceeccaa7eaf57df373f103e4c4b12c4c (patch) | |
tree | 24bce3fe3aa0d6706a783ccb0504533568c055a2 /archivers/arj/patches | |
parent | ea7b4626c1401f7841c0dfbf37b210076fb1da1d (diff) | |
download | pkgsrc-700230e7ceeccaa7eaf57df373f103e4c4b12c4c.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/arj/patches')
-rw-r--r-- | archivers/arj/patches/patch-aa | 6 | ||||
-rw-r--r-- | archivers/arj/patches/patch-af | 13 | ||||
-rw-r--r-- | archivers/arj/patches/patch-ag | 22 |
3 files changed, 38 insertions, 3 deletions
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) |