summaryrefslogtreecommitdiff
path: root/app-portage/elicense/files/elicense-1.0.2-LicenseManager.patch
blob: 808653cf5ba8cfcda71316e7d61bfbd1856095e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
LicenseManager has been refactored in portage-3.0.74.

--- a/elicense
+++ b/elicense
@@ -45,11 +45,10 @@ def main(argv):
 	locations_manager.set_port_dirs(settings.get("PORTDIR"),
 		settings.get("PORTDIR_OVERLAY"))
 
-	abs_user_config = locations_manager.abs_user_config
+	locations_manager.profiles = []
+	locations_manager.profiles_complex = []
 
-	license_manager = LicenseManager(locations_manager.profile_locations,
-		abs_user_config,
-		user_config=True)
+	license_manager = LicenseManager(locations_manager, user_config=True)
 
 	license_manager.set_accept_license_str(settings.get("ACCEPT_LICENSE"))