From f752eb2c71f89e067511a84aab87e978be9704a8 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 24 Mar 2004 19:30:29 +0000 Subject: Fix a stupid mistake, and don't try to shutdown our I/O channel after we've unref'd it. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2180 df743ca5-7f9a-e211-a948-0013205c9059 --- net/gnome-netstatus/Makefile | 1 + net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c | 10 ++++++++++ net/gnomenetstatus/Makefile | 1 + net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c | 10 ++++++++++ 4 files changed, 22 insertions(+) create mode 100644 net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c create mode 100644 net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c diff --git a/net/gnome-netstatus/Makefile b/net/gnome-netstatus/Makefile index c7b6d0a37..c904f2a2a 100644 --- a/net/gnome-netstatus/Makefile +++ b/net/gnome-netstatus/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomenetstatus PORTVERSION= 2.6.0 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-netstatus/2.6 diff --git a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c new file mode 100644 index 000000000..218948f76 --- /dev/null +++ b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c @@ -0,0 +1,10 @@ +--- src/netstatus-sysdeps.c.orig Wed Mar 24 14:23:47 2004 ++++ src/netstatus-sysdeps.c Wed Mar 24 14:25:19 2004 +@@ -331,7 +331,6 @@ + + error_shutdown: + g_io_channel_unref (channel); +- g_io_channel_shutdown (channel, TRUE, NULL); + close (pipe_out); + } + else diff --git a/net/gnomenetstatus/Makefile b/net/gnomenetstatus/Makefile index c7b6d0a37..c904f2a2a 100644 --- a/net/gnomenetstatus/Makefile +++ b/net/gnomenetstatus/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomenetstatus PORTVERSION= 2.6.0 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-netstatus/2.6 diff --git a/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c new file mode 100644 index 000000000..218948f76 --- /dev/null +++ b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c @@ -0,0 +1,10 @@ +--- src/netstatus-sysdeps.c.orig Wed Mar 24 14:23:47 2004 ++++ src/netstatus-sysdeps.c Wed Mar 24 14:25:19 2004 +@@ -331,7 +331,6 @@ + + error_shutdown: + g_io_channel_unref (channel); +- g_io_channel_shutdown (channel, TRUE, NULL); + close (pipe_out); + } + else -- cgit v1.2.3