diff options
author | hasso <hasso@pkgsrc.org> | 2008-12-25 05:33:20 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2008-12-25 05:33:20 +0000 |
commit | a49e36357a358a476701b129f8a0ca26a6febff8 (patch) | |
tree | c973a67f0da9ad29733d34e25bb1ef3fa8bcc1b4 /net | |
parent | a3f75b3e42fedd6a3b0d942b93e6ab070ca73d86 (diff) | |
download | pkgsrc-a49e36357a358a476701b129f8a0ca26a6febff8.tar.gz |
Make it build on DragonFly.
Diffstat (limited to 'net')
-rw-r--r-- | net/gnome-nettool/distinfo | 8 | ||||
-rw-r--r-- | net/gnome-nettool/patches/patch-aa | 4 | ||||
-rw-r--r-- | net/gnome-nettool/patches/patch-ab | 4 | ||||
-rw-r--r-- | net/gnome-nettool/patches/patch-ac | 18 |
4 files changed, 17 insertions, 17 deletions
diff --git a/net/gnome-nettool/distinfo b/net/gnome-nettool/distinfo index 3efab238f62..322e157e6f5 100644 --- a/net/gnome-nettool/distinfo +++ b/net/gnome-nettool/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ +$NetBSD: distinfo,v 1.2 2008/12/25 05:35:50 hasso Exp $ SHA1 (gnome-nettool-2.22.1.tar.bz2) = 41e66c37beb677cf5ac17a2ec6254cd24b0e18d4 RMD160 (gnome-nettool-2.22.1.tar.bz2) = 43b78d53ae5805f97f031821b37b7e739ca5866a Size (gnome-nettool-2.22.1.tar.bz2) = 600085 bytes -SHA1 (patch-aa) = 3f6c5cea284b2ddfefda9cff1e74f6fa5755bb8d -SHA1 (patch-ab) = 3c45a604945c955ea18dc510b279e7e9405d0b1a -SHA1 (patch-ac) = 647ecaae91966d99759b08c920af9eaf8e1fe6ca +SHA1 (patch-aa) = 587c1c7d011d5d8a4feafc63a7a505979296a8a1 +SHA1 (patch-ab) = 8d89efa54803da97d962e43990728f56e60a5ab2 +SHA1 (patch-ac) = b4ec8fb2cbaa799717b11dc9d9036a7bac1a9e51 diff --git a/net/gnome-nettool/patches/patch-aa b/net/gnome-nettool/patches/patch-aa index 4c35bc4bf84..f0fafbe4151 100644 --- a/net/gnome-nettool/patches/patch-aa +++ b/net/gnome-nettool/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2008/12/25 05:35:50 hasso Exp $ --- src/ping.h.orig 2008-09-22 22:04:12.000000000 +0000 +++ src/ping.h @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ # define PING_FORMAT "%d bytes from %s icmp_seq=%d ttl=%d time=%s %s" # define PING_PARAMS_6 -#elif defined(__OSF__) || defined(__FreeBSD__) || defined(__OpenBSD__) -+#elif defined(__OSF__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#elif defined(__OSF__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) # define PING_PROGRAM_FORMAT "%s ping -c %d -n %s" # define PING_PROGRAM_FORMAT_6 "%s ping6 -c %d -n %s" # define PING_FORMAT "%d bytes from %s icmp_seq=%d ttl=%d time=%s %s" diff --git a/net/gnome-nettool/patches/patch-ab b/net/gnome-nettool/patches/patch-ab index 530dae20c88..83462355479 100644 --- a/net/gnome-nettool/patches/patch-ab +++ b/net/gnome-nettool/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2008/12/25 05:35:50 hasso Exp $ --- src/netstat.h.orig 2008-09-22 22:04:12.000000000 +0000 +++ src/netstat.h @@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ # define NETSTAT_MULTICAST_FORMAT "%s %d %s" -#elif defined(__FreeBSD__) || defined(__OpenBSD__) -+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) # define NETSTAT_PROTOCOL_FORMAT "%s %d %d %d.%d.%d.%d.%s %s %s" # define ALT_NETSTAT_PROTOCOL_FORMAT "%s %d %d *.%s %s %s" # define NETSTAT_ROUTE_FORMAT "%s %s %s %d %d %s" diff --git a/net/gnome-nettool/patches/patch-ac b/net/gnome-nettool/patches/patch-ac index 57ede29d68a..33c9a37c7ab 100644 --- a/net/gnome-nettool/patches/patch-ac +++ b/net/gnome-nettool/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ +$NetBSD: patch-ac,v 1.2 2008/12/25 05:35:50 hasso Exp $ --- src/netstat.c.orig 2008-09-22 22:04:12.000000000 +0000 +++ src/netstat.c @@ -7,7 +7,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (netinfo->protocol))) { /* Only works for Solaris */ -#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) option = g_strdup ("-a -f inet -ln"); #else if (netinfo_is_ipv6_enable ()) { @@ -16,7 +16,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ count = strip_protocol_line (line, &data); -#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) if (count == 5 || count == 6 || count == 9 || count == 10) { #else if (count == 5 || count == 6) { @@ -25,7 +25,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ { gint count = 0; -#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) gint a1, a2, a3, a4; gchar s9[30]; #else @@ -34,7 +34,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ /*line = g_strdelimit (line, ":", ' ');*/ -#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) line = g_strdelimit (line, ":", ' '); count = sscanf (line, NETSTAT_PROTOCOL_FORMAT, @@ -43,7 +43,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ count = strip_route_line (line, &data); -#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) if (count == 6) { #else if ((count == 8) || (count == 7)) { @@ -52,7 +52,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ #endif -#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) count = sscanf (line, NETSTAT_ROUTE_FORMAT, data->destination, data->gateway, flags, @@ -61,7 +61,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ column = gtk_tree_view_column_new_with_attributes -#if defined(__FreeBSD__) || defined(__OpenBSD__) -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) (_("Destination/Prefix"), renderer, "text", 0, NULL); #else (_("Destination"), renderer, "text", 0, NULL); @@ -70,7 +70,7 @@ $NetBSD: patch-ac,v 1.1.1.1 2008/12/02 20:56:49 wiz Exp $ gtk_tree_view_append_column (widget, column); -#if ! (defined(__FreeBSD__) || defined(__OpenBSD__)) -+#if ! (defined(__FreeBSD__) || defined(__OpenBSD__)) || defined(__NetBSD__) ++#if ! (defined(__FreeBSD__) || defined(__OpenBSD__)) || defined(__NetBSD__) || defined(__DragonFly__) renderer = gtk_cell_renderer_text_new (); column = gtk_tree_view_column_new_with_attributes |