From dcb3c47a8c152365dd9bf5074ca2cab8a734dbda Mon Sep 17 00:00:00 2001 From: sobomax Date: Fri, 7 Dec 2001 08:53:33 +0000 Subject: Remove debugging trap that somehow slipped into previous commit causing Nautilus to hang as startup. PR: 32566 Submitted by: Joe Marcus Clarke --- x11-fm/nautilus2/Makefile | 1 + .../files/patch-libnautilus-private::nautilus-volume-monitor.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'x11-fm/nautilus2') diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile index 65aa43474bff..f8aaabf13253 100644 --- a/x11-fm/nautilus2/Makefile +++ b/x11-fm/nautilus2/Makefile @@ -7,6 +7,7 @@ PORTNAME= nautilus PORTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= x11-fm gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/nautilus diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c index 945e6788571e..c76d27a3b7ed 100644 --- a/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c +++ b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c @@ -169,7 +169,7 @@ $FreeBSD$ fclose (fh); +#else + while ((ent = getfsent ()) != NULL) { -+ {static int b = 1; while (b);} ++ /*{static int b = 1; while (b);}*/ + if (strcmp(ent->fs_vfstype, "swap") == 0) + continue; + volume = create_volume (ent->fs_spec, ent->fs_file); -- cgit