summaryrefslogtreecommitdiff
path: root/net/gftp/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-09-01 22:04:13 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-09-01 22:04:13 +0000
commitc9bd5d5337ca0b85208b30c56a01879b456520c9 (patch)
tree9a2a9ce5c7522ce45206d53eee7b5f803f1daeeb /net/gftp/patches
parente6a77fa9c28d0cdcacafeaad79354eb556049a1a (diff)
downloadpkgsrc-c9bd5d5337ca0b85208b30c56a01879b456520c9.tar.gz
oops remove these patches forgotten in previous commit
Diffstat (limited to 'net/gftp/patches')
-rw-r--r--net/gftp/patches/patch-aa13
-rw-r--r--net/gftp/patches/patch-ab40
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);