update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / bleachbit / patches / patch-af
1 $NetBSD$
2
3 --- ./bleachbit/CleanerML.py.orig       2009-08-24 00:33:34.000000000 +0000
4 +++ ./bleachbit/CleanerML.py    2009-08-24 00:34:39.000000000 +0000
5 @@ -68,7 +68,7 @@
6          """Return boolean whether operating system matches"""
7          if len(os_str) == 0:
8              return True
9 -        if os_str == 'linux' and sys.platform == 'linux2':
10 +        if os_str >= 'netbsd5' or 'linux2' and sys.platform >= 'netbsd5' or 'linux2':
11              return True
12          if os_str == 'windows' and sys.platform == 'win32':
13              return True