pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xfce4-netload-plugin Add untested DragonFly s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea986f2b02d3
branches:  trunk
changeset: 530448:ea986f2b02d3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 30 18:14:35 2007 +0000

description:
Add untested DragonFly support.

diffstat:

 sysutils/xfce4-netload-plugin/distinfo         |   5 +++-
 sysutils/xfce4-netload-plugin/patches/patch-aa |  13 ++++++++++++
 sysutils/xfce4-netload-plugin/patches/patch-ab |  13 ++++++++++++
 sysutils/xfce4-netload-plugin/patches/patch-ac |  27 ++++++++++++++++++++++++++
 4 files changed, 57 insertions(+), 1 deletions(-)

diffs (78 lines):

diff -r 3c824284615f -r ea986f2b02d3 sysutils/xfce4-netload-plugin/distinfo
--- a/sysutils/xfce4-netload-plugin/distinfo    Sat Jun 30 18:08:34 2007 +0000
+++ b/sysutils/xfce4-netload-plugin/distinfo    Sat Jun 30 18:14:35 2007 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.9 2007/04/12 09:55:16 martti Exp $
+$NetBSD: distinfo,v 1.10 2007/06/30 18:14:35 joerg Exp $
 
 SHA1 (xfce4-netload-plugin-0.4.0.tar.bz2) = 197231f99773f4e299c64125dd0d1a25bfb533bb
 RMD160 (xfce4-netload-plugin-0.4.0.tar.bz2) = 47d8183da3885b6a476504fd8d5762be7d4fffac
 Size (xfce4-netload-plugin-0.4.0.tar.bz2) = 125046 bytes
+SHA1 (patch-aa) = c58b274d5bc8f065a3d002bd60cd2b1315f6b543
+SHA1 (patch-ab) = 427f7330e5c39738b12ab7fdf23be64ce60a61f4
+SHA1 (patch-ac) = de6c9c1df01be8da6228cff02741204c12aecd6d
diff -r 3c824284615f -r ea986f2b02d3 sysutils/xfce4-netload-plugin/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-netload-plugin/patches/patch-aa    Sat Jun 30 18:14:35 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2007/06/30 18:14:36 joerg Exp $
+
+--- panel-plugin/net.c.orig    2007-06-30 17:58:57.000000000 +0000
++++ panel-plugin/net.c
+@@ -46,7 +46,7 @@
+ #elif __APPLE__
+ # include "src/macos.h"
+ # include "src/macos.c"
+-#elif __FreeBSD__
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+ # include "wormulon/freebsd.h"
+ # include "wormulon/freebsd.c"
+ #elif __linux__
diff -r 3c824284615f -r ea986f2b02d3 sysutils/xfce4-netload-plugin/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-netload-plugin/patches/patch-ab    Sat Jun 30 18:14:35 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2007/06/30 18:14:36 joerg Exp $
+
+--- panel-plugin/net.h.orig    2007-06-30 17:58:11.000000000 +0000
++++ panel-plugin/net.h
+@@ -62,7 +62,7 @@ typedef struct
+ #ifdef __HPUX__
+     int             wait_pcks_counter;
+     nmapi_logstat*  if_ptr;
+-#elif __FreeBSD__
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+     int             watchif;
+     int             dev_opened;
+ #elif __NetBSD__
diff -r 3c824284615f -r ea986f2b02d3 sysutils/xfce4-netload-plugin/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-netload-plugin/patches/patch-ac    Sat Jun 30 18:14:35 2007 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ac,v 1.1 2007/06/30 18:14:36 joerg Exp $
+
+--- panel-plugin/os.h.orig     2007-06-30 17:53:50.000000000 +0000
++++ panel-plugin/os.h
+@@ -72,7 +72,7 @@
+ #include <net/if_media.h>
+ #include <net/if_mib.h>
+ #include <arpa/inet.h>
+-#elif __FreeBSD__           /* F R E E B S D */
++#elif defined(__FreeBSD__) || defined(__DragonFly__)           /* F R E E B S D */
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -94,8 +94,13 @@
+ #include <net/if_media.h>
+ #include <net/if_mib.h>
+ #include <arpa/inet.h>
++#  if defined(__DragonFly__)
++#include <net/ppp_layer/ppp_defs.h>
++#include <net/ppp/if_ppp.h>
++#  else
+ #include <net/ppp_defs.h>
+ #include <net/if_ppp.h>
++#  endif
+ #elif __NetBSD__            /* N E T B S D */
+ #include <stdio.h>
+ #include <sys/param.h>



Home | Main Index | Thread Index | Old Index