diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-30 18:14:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-30 18:14:35 +0000 |
commit | ed40e0e9aa128933f51b23377ced1d78fc9021ef (patch) | |
tree | c80a9fa18c9d1db8d6cdd56d58c831b1f499b403 | |
parent | 275fc7e74e1509fcd1d20da5d861eb1176644de7 (diff) | |
download | pkgsrc-ed40e0e9aa128933f51b23377ced1d78fc9021ef.tar.gz |
Add untested DragonFly support.
-rw-r--r-- | sysutils/xfce4-netload-plugin/distinfo | 5 | ||||
-rw-r--r-- | sysutils/xfce4-netload-plugin/patches/patch-aa | 13 | ||||
-rw-r--r-- | sysutils/xfce4-netload-plugin/patches/patch-ab | 13 | ||||
-rw-r--r-- | sysutils/xfce4-netload-plugin/patches/patch-ac | 27 |
4 files changed, 57 insertions, 1 deletions
diff --git a/sysutils/xfce4-netload-plugin/distinfo b/sysutils/xfce4-netload-plugin/distinfo index 358b936b6c1..e88552efce1 100644 --- a/sysutils/xfce4-netload-plugin/distinfo +++ b/sysutils/xfce4-netload-plugin/distinfo @@ -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 --git a/sysutils/xfce4-netload-plugin/patches/patch-aa b/sysutils/xfce4-netload-plugin/patches/patch-aa new file mode 100644 index 00000000000..bca95c4bfbb --- /dev/null +++ b/sysutils/xfce4-netload-plugin/patches/patch-aa @@ -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 --git a/sysutils/xfce4-netload-plugin/patches/patch-ab b/sysutils/xfce4-netload-plugin/patches/patch-ab new file mode 100644 index 00000000000..d7c3e5efd18 --- /dev/null +++ b/sysutils/xfce4-netload-plugin/patches/patch-ab @@ -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 --git a/sysutils/xfce4-netload-plugin/patches/patch-ac b/sysutils/xfce4-netload-plugin/patches/patch-ac new file mode 100644 index 00000000000..0ae4417676e --- /dev/null +++ b/sysutils/xfce4-netload-plugin/patches/patch-ac @@ -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> |