$NetBSD: patch-aq,v 1.9 2005/12/11 10:53:54 markd Exp $ --- kdecore/ktimezones.cpp.orig 2005-10-11 04:06:02.000000000 +1300 +++ kdecore/ktimezones.cpp @@ -372,7 +372,13 @@ const KTimezones::ZoneMap KTimezones::al // For Unix its all easy except knowing where to look. Try the LSB location first. QFile f; m_zoneinfoDir = "/usr/share/zoneinfo"; +#ifndef __NetBSD__ f.setName(m_zoneinfoDir + "/zone.tab"); +#else + // NetBSD doesn't have a zone.tab in its zoneinfo dir so point at + // one the package installs + f.setName("@LOCALBASE@/share/zone.tab"); +#endif if (!f.open(IO_ReadOnly)) { kdDebug() << "Can't open " << f.name() << endl;