pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/gftp/patches oops remove these patches forgotten i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6de62cd7d890
branches: trunk
changeset: 460614:6de62cd7d890
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Mon Sep 01 22:04:13 2003 +0000
description:
oops remove these patches forgotten in previous commit
diffstat:
net/gftp/patches/patch-aa | 13 -------------
net/gftp/patches/patch-ab | 40 ----------------------------------------
2 files changed, 0 insertions(+), 53 deletions(-)
diffs (61 lines):
diff -r cd3573d14563 -r 6de62cd7d890 net/gftp/patches/patch-aa
--- a/net/gftp/patches/patch-aa Mon Sep 01 21:46:29 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r cd3573d14563 -r 6de62cd7d890 net/gftp/patches/patch-ab
--- a/net/gftp/patches/patch-ab Mon Sep 01 21:46:29 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index