pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/arj Add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7dada9342d56
branches:  trunk
changeset: 500386:7dada9342d56
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Oct 07 16:52:06 2005 +0000

description:
Add DragonFly support.
patch-af includes the va_arg handling of short -> int promotion from
Linux as discussed on tech-pkg@.

diffstat:

 archivers/arj/distinfo         |   6 ++++--
 archivers/arj/patches/patch-aa |   6 +++---
 archivers/arj/patches/patch-af |  13 +++++++++++++
 archivers/arj/patches/patch-ag |  22 ++++++++++++++++++++++
 4 files changed, 42 insertions(+), 5 deletions(-)

diffs (81 lines):

diff -r 46e88b92636e -r 7dada9342d56 archivers/arj/distinfo
--- a/archivers/arj/distinfo    Fri Oct 07 16:51:41 2005 +0000
+++ b/archivers/arj/distinfo    Fri Oct 07 16:52:06 2005 +0000
@@ -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 -r 46e88b92636e -r 7dada9342d56 archivers/arj/patches/patch-aa
--- a/archivers/arj/patches/patch-aa    Fri Oct 07 16:51:41 2005 +0000
+++ b/archivers/arj/patches/patch-aa    Fri Oct 07 16:52:06 2005 +0000
@@ -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 -r 46e88b92636e -r 7dada9342d56 archivers/arj/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/arj/patches/patch-af    Fri Oct 07 16:52:06 2005 +0000
@@ -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 -r 46e88b92636e -r 7dada9342d56 archivers/arj/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/arj/patches/patch-ag    Fri Oct 07 16:52:06 2005 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index