Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.2 2012/10/22 23:47:15 rh Exp $
Prevent a crash if item is nil.
--- DriversPrefs.m.orig 2005-05-13 01:58:49.000000000 +1000
+++ DriversPrefs.m
@@ -198,7 +198,7 @@ static DriversPrefs *singleInstance = ni
- (BOOL) outlineView: (NSOutlineView *)outlineView
isItemExpandable: (id) item
{
- if ([availableDrives objectForKey: ((DriversTableItem*)item)->display]) {
+ if (item && [availableDrives objectForKey: ((DriversTableItem*)item)->display]) {
return YES;
}
return NO;