diff options
author | xtraeme <xtraeme> | 2003-09-01 22:04:13 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2003-09-01 22:04:13 +0000 |
commit | 75733029472d3138ec215b730fb860849223fc6e (patch) | |
tree | 9a2a9ce5c7522ce45206d53eee7b5f803f1daeeb /net/gftp | |
parent | d310a0c502a253c48eff8e10f766712644268e63 (diff) | |
download | pkgsrc-75733029472d3138ec215b730fb860849223fc6e.tar.gz |
oops remove these patches forgotten in previous commit
Diffstat (limited to 'net/gftp')
-rw-r--r-- | net/gftp/patches/patch-aa | 13 | ||||
-rw-r--r-- | net/gftp/patches/patch-ab | 40 |
2 files changed, 0 insertions, 53 deletions
diff --git a/net/gftp/patches/patch-aa b/net/gftp/patches/patch-aa deleted file mode 100644 index 5a318c4017a..00000000000 --- a/net/gftp/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 17:26:53 rh Exp $ - ---- po/Makefile.in.in.orig Sat Jan 20 00:02:53 2001 -+++ po/Makefile.in.in Sat Jan 20 00:03:34 2001 -@@ -18,7 +18,7 @@ - - prefix = @prefix@ - exec_prefix = @exec_prefix@ --datadir = $(prefix)/@DATADIRNAME@ -+datadir = $(prefix)/share - localedir = $(datadir)/locale - gnulocaledir = $(prefix)/share/locale - gettextsrcdir = $(prefix)/share/gettext/po diff --git a/net/gftp/patches/patch-ab b/net/gftp/patches/patch-ab deleted file mode 100644 index c57be046307..00000000000 --- a/net/gftp/patches/patch-ab +++ /dev/null @@ -1,40 +0,0 @@ -$NetBSD: patch-ab,v 1.3 2002/10/27 07:53:58 rh Exp $ - ---- src/gtk/gftp-gtk.c.orig Fri Mar 30 12:53:01 2001 -+++ src/gtk/gftp-gtk.c -@@ -68,6 +68,24 @@ GtkItemFactory * factory = NULL; - pthread_mutex_t transfer_mutex = PTHREAD_MUTEX_INITIALIZER; - pthread_mutex_t log_mutex = PTHREAD_MUTEX_INITIALIZER; - -+#ifdef __NetBSD__ -+#include <pthread.h> -+ -+#ifdef _PTH_PTHREAD_H_ -+#include <gtk/gtk.h> -+ -+/* -+ * Pth is non-preemptive, so we yield the processor periodically -+ */ -+gint -+pth_nbschedule (gpointer data) -+{ -+ sched_yield(); -+ return TRUE; -+} -+#endif -+#endif -+ - int - main (int argc, char *argv[]) - { -@@ -119,6 +137,10 @@ main (int argc, char *argv[]) - gftp_set_directory (window1.request, startup_directory); - gftp_connect (window1.request); - ftp_list_files (&window1, 0); -+ -+#ifdef _PTH_PTHREAD_H_ -+ gtk_timeout_add (200, pth_nbschedule, NULL); -+#endif - - gtk_main (); - return (0); |