pkgsrc/sysutils/gworkspace/patches/patch-ab
rh cd61460694 Update gworkspace to 0.7.1. There is no list of changes, but this version
fixes a number of bugs, adds a tabbed shelf, no longer uses GWLib, and runs
more smoothly overall.
2005-05-02 06:35:55 +00:00

26 lines
845 B
Text

$NetBSD: patch-ab,v 1.4 2005/05/02 06:35:55 rh Exp $
--- GWorkspace/Preferences/VolumesPref.m.orig 2005-01-18 01:07:39.000000000 +1000
+++ GWorkspace/Preferences/VolumesPref.m
@@ -26,6 +26,7 @@
#include <AppKit/AppKit.h>
#include "VolumesPref.h"
#include "FSNodeRep.h"
+#include <sys/param.h>
#define CHECKSIZE(sz) \
if (sz.width < 0) sz.width = 0; \
@@ -64,11 +65,13 @@ static NSString *nibName = @"VolumesPref
if (mtabpath == nil) {
mtabpath = @"/etc/mtab";
+#if (!defined(BSD) || BSD < 199306)
NSRunAlertPanel(nil,
NSLocalizedString(@"The mtab path is not set. Using default value.", @""),
NSLocalizedString(@"OK", @""),
nil,
nil);
+#endif
}
[mtabField setStringValue: mtabpath];