[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.4/kdeadmin/kpackage
From:       Toivo Pedaste <toivo () ucs ! uwa ! edu ! au>
Date:       2005-06-28 14:47:35
Message-ID: 1119970055.217542.3802.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 429682 by toivo:

BSD fixes


 M  +2 -1      fbsdInterface.cpp  


--- branches/KDE/3.4/kdeadmin/kpackage/fbsdInterface.cpp #429681:429682
@@ -400,6 +400,7 @@
   if (!ports_found) {
     // Try the standard ports tree locations.
     bsdPortsIndexItem::processFile("/usr/ports/INDEX", false, "/usr/ports"); // FreeBSD/OpenBSD
+    bsdPortsIndexItem::processFile("/usr/ports/INDEX-5", false, "/usr/ports"); // FreeBSD/OpenBSD
     bsdPortsIndexItem::processFile("/usr/opt/INDEX", false, "/usr/opt");  // NetBSD
   }
 }
@@ -670,7 +671,7 @@
     desc++;
   }
 
-  if (itemno != 8 && itemno != 9) {
+  if (itemno < 7 || itemno > 13) {
      KpMsgE(i18n("Warning: invalid INDEX file entry for %1").arg(name),FALSE);
   }
     name_hash = calc_hash4(name);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic