diff options
Diffstat (limited to 'net/dctc-gui/files')
-rw-r--r-- | net/dctc-gui/files/patch-po_Makefile.in.in | 10 | ||||
-rw-r--r-- | net/dctc-gui/files/patch-src::callbacks.c | 12 | ||||
-rw-r--r-- | net/dctc-gui/files/patch-src::init_fnc.c | 12 | ||||
-rw-r--r-- | net/dctc-gui/files/patch-src::main.c | 36 | ||||
-rw-r--r-- | net/dctc-gui/files/sig_chld.c | 53 |
5 files changed, 0 insertions, 123 deletions
diff --git a/net/dctc-gui/files/patch-po_Makefile.in.in b/net/dctc-gui/files/patch-po_Makefile.in.in deleted file mode 100644 index b8b90a400c1f..000000000000 --- a/net/dctc-gui/files/patch-po_Makefile.in.in +++ /dev/null @@ -1,10 +0,0 @@ ---- po/Makefile.in.in.orig Wed Feb 4 13:19:32 2004 -+++ po/Makefile.in.in Wed Feb 4 13:19:41 2004 -@@ -87,6 +87,7 @@ - $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ - --add-comments --keyword=_ --keyword=N_ \ - --files-from=$(srcdir)/POTFILES.in \ -+ --from-code=ISO-8859-1 \ - && test ! -f $(PACKAGE).po \ - || ( rm -f $(srcdir)/$(PACKAGE).pot \ - && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) diff --git a/net/dctc-gui/files/patch-src::callbacks.c b/net/dctc-gui/files/patch-src::callbacks.c deleted file mode 100644 index 3c0ad2c3e398..000000000000 --- a/net/dctc-gui/files/patch-src::callbacks.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/callbacks.c.orig Sun Nov 17 21:18:28 2002 -+++ src/callbacks.c Sun Nov 17 21:19:26 2002 -@@ -14,7 +14,8 @@ - #include <dirent.h> - #include <gdk/gdkkeysyms.h> - #include <gdk/gdk.h> --#include <linux/sem.h> -+#include <sys/ipc.h> -+#include <sys/sem.h> - #include <gnome.h> - #include <glib.h> - #include <time.h> diff --git a/net/dctc-gui/files/patch-src::init_fnc.c b/net/dctc-gui/files/patch-src::init_fnc.c deleted file mode 100644 index 3eca24060609..000000000000 --- a/net/dctc-gui/files/patch-src::init_fnc.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/init_fnc.c.orig Sun Nov 17 21:19:50 2002 -+++ src/init_fnc.c Sun Nov 17 21:20:39 2002 -@@ -12,7 +12,8 @@ - #include <sys/types.h> - #include <sys/stat.h> - #include <sys/wait.h> --#include <linux/sem.h> /* for the value of SEMVMX */ -+#include <sys/ipc.h> -+#include <sys/sem.h> /* for the value of SEMVMX */ - #include <dirent.h> - #include <string.h> - #include <errno.h> diff --git a/net/dctc-gui/files/patch-src::main.c b/net/dctc-gui/files/patch-src::main.c deleted file mode 100644 index f530ccac3963..000000000000 --- a/net/dctc-gui/files/patch-src::main.c +++ /dev/null @@ -1,36 +0,0 @@ ---- src/main.c.orig Mon Nov 18 23:53:50 2002 -+++ src/main.c Mon Nov 18 23:55:01 2002 -@@ -43,6 +43,9 @@ - GtkWidget *done_popup=NULL; - GtkWidget *fav_popup=NULL; - -+/* sigchld handling */ -+extern void sig_chld(int); -+ - /* this string is "$HOME/.dctc" */ - GString *dctc_main_dir=NULL; - -@@ -289,11 +292,9 @@ - sigset_t set; - - /* ignore SIGPIPE */ -- /* ignore SIGCHLD */ - /* ignore SIGHUP */ - sigemptyset(&set); - sigaddset(&set,SIGPIPE); -- sigaddset(&set,SIGCHLD); - sigaddset(&set,SIGHUP); - act.sa_handler=SIG_IGN; - act.sa_mask=set; -@@ -301,8 +302,10 @@ - - sigprocmask(SIG_UNBLOCK,&set,NULL); - sigaction(SIGPIPE,&act,NULL); -- sigaction(SIGCHLD,&act,NULL); - sigaction(SIGHUP,&act,NULL); -+ -+ /* handle SIGCHLD */ -+ signal(SIGCHLD, sig_chld); /* Prevents zombies */ - } - - static void start_dctc_client_from_huburl(char *dchub_url,char *profile) diff --git a/net/dctc-gui/files/sig_chld.c b/net/dctc-gui/files/sig_chld.c deleted file mode 100644 index 74b4a4afc53a..000000000000 --- a/net/dctc-gui/files/sig_chld.c +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2000, 2001, 2002 - * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD - */ - -#include <sys/types.h> -#include <sys/wait.h> -/* -#include <sys/time.h> -#include <sys/resource.h> -*/ - -/* - * SIGCHLD handler - * - * Let's take care of our children. - * Otherwise, they may get involved with bad ppl - * and become zombies. - */ -void -sig_chld(int signo) -{ - pid_t pid; - int stat; - - while ( (pid = waitpid(-1, &stat, WNOHANG)) > 0); - - return; -} |