diff options
Diffstat (limited to 'news/pan')
-rw-r--r-- | news/pan/Makefile | 3 | ||||
-rw-r--r-- | news/pan/distinfo | 4 | ||||
-rw-r--r-- | news/pan/patches/patch-ac | 17 |
3 files changed, 14 insertions, 10 deletions
diff --git a/news/pan/Makefile b/news/pan/Makefile index 852936324e9..48f9d2fca81 100644 --- a/news/pan/Makefile +++ b/news/pan/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.14 2002/10/05 11:51:14 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2002/10/27 08:31:54 rh Exp $ # DISTNAME= pan-0.11.4 +PKGREVISION= 1 CATEGORIES= news gnome MASTER_SITES= http://pan.rebelbase.com/download/releases/${DISTNAME:C/pan-//}/SOURCE/ EXTRACT_SUFX= .tar.bz2 diff --git a/news/pan/distinfo b/news/pan/distinfo index b1b31f7f1ad..b635ba1763d 100644 --- a/news/pan/distinfo +++ b/news/pan/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.7 2002/10/02 03:42:06 rh Exp $ +$NetBSD: distinfo,v 1.8 2002/10/27 08:31:54 rh Exp $ SHA1 (pan-0.11.4.tar.bz2) = 3ffd3fedd960637ce883a587619ae6e9dee3979e Size (pan-0.11.4.tar.bz2) = 1629832 bytes SHA1 (patch-aa) = f2c47a0f7b121b90f2078044b4182752f02b3655 -SHA1 (patch-ac) = 825d04b8bc60409313fa6f199b231160327d0957 +SHA1 (patch-ac) = f895add1fe570ce617da7715dcfc394bb687f4f4 SHA1 (patch-ag) = 68d7be7a16bbfbf02f0df29c669140d49c5de35f diff --git a/news/pan/patches/patch-ac b/news/pan/patches/patch-ac index da20c3f5786..9443534e071 100644 --- a/news/pan/patches/patch-ac +++ b/news/pan/patches/patch-ac @@ -1,17 +1,19 @@ -$NetBSD: patch-ac,v 1.5 2002/10/02 03:08:51 rh Exp $ +$NetBSD: patch-ac,v 1.6 2002/10/27 08:31:54 rh Exp $ ---- pan/pan.c.orig Fri Nov 9 10:53:07 2001 +--- pan/pan.c.orig Mon Jul 15 04:04:34 2002 +++ pan/pan.c -@@ -42,6 +42,24 @@ +@@ -43,6 +43,27 @@ #include <pan/thread-watch.h> #include <pan/util.h> +#ifdef __NetBSD__ -+#include <gtk/gtk.h> +#include <pthread.h> + ++#ifdef _PTH_PTHREAD_H_ ++#include <gtk/gtk.h> ++ +/* -+ * NetBSD uses non-preemptive pth, so we yield the processor periodically ++ * Pth is non-preemptive, so we yield the processor periodically + */ + +gint @@ -22,17 +24,18 @@ $NetBSD: patch-ac,v 1.5 2002/10/02 03:08:51 rh Exp $ + return TRUE; +} +#endif ++#endif + + static gint save_session (GnomeClient * client, gint phase, GnomeSaveStyle save_style, -@@ -196,6 +214,10 @@ +@@ -197,6 +218,10 @@ main (int argc, char *argv[]) newsrc_import (s, newsrc_filename, newsrc_port_subscribed_only); } } + -+#ifdef __NetBSD__ ++#ifdef _PTH_PTHREAD_H_ + gtk_timeout_add (200, pth_nbschedule, NULL); +#endif |