summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-11-08 18:38:18 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-11-08 18:38:18 +0000
commitf35d28aca23a8a62a8b09d8bc4862c0d424ed384 (patch)
tree08da491ce59faa6f8d11fcfed340ebde641d2245 /dev-java/java-config/files
parentUse virtual/jpeg wrt #327487. cleanup (diff)
downloadgentoo-2-f35d28aca23a8a62a8b09d8bc4862c0d424ed384.tar.gz
gentoo-2-f35d28aca23a8a62a8b09d8bc4862c0d424ed384.tar.bz2
gentoo-2-f35d28aca23a8a62a8b09d8bc4862c0d424ed384.zip
Backport fix for compatibility with Python 3.
(Portage version: 2.2.0_alpha4_p14/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/java-config/files')
-rw-r--r--dev-java/java-config/files/java-config-2.1.11-python3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-java/java-config/files/java-config-2.1.11-python3.patch b/dev-java/java-config/files/java-config-2.1.11-python3.patch
new file mode 100644
index 000000000000..bbf56df9af34
--- /dev/null
+++ b/dev-java/java-config/files/java-config-2.1.11-python3.patch
@@ -0,0 +1,22 @@
+http://overlays.gentoo.org/proj/java/changeset/8184
+
+--- src/gjl
++++ src/gjl
+@@ -23,7 +23,7 @@
+
+ #Depreciated.
+ def get_needed_target(pkg):
+- highest_target = None
++ highest_target = ""
+ needs_jdk = False
+ for pkg in get_needed_packages(pkg):
+ pkg_needs_jdk = False
+@@ -43,7 +43,7 @@
+ return highest_target, needs_jdk
+
+ def get_needed_target2(pkg):
+- highest_target = None
++ highest_target = ""
+ needs_jdk = set()
+ for pkg in get_needed_packages(pkg):
+ target = pkg.target()