diff options
author | Luca Falavigna <dktrkranz@ubuntu.com> | 2009-08-01 18:01:34 +0200 |
---|---|---|
committer | Luca Falavigna <dktrkranz@ubuntu.com> | 2009-08-01 18:01:34 +0200 |
commit | 0385d3705bec1a9b42f0dc3ffeecbb34a5be9756 (patch) | |
tree | 13c8055c853498037281957f2ac2d63562b4f70f /debian/patches/java_ignore_nonexistent_files |
Initial import of scons Debian packaging version 1.2.0-21.2.0-2
Diffstat (limited to 'debian/patches/java_ignore_nonexistent_files')
-rw-r--r-- | debian/patches/java_ignore_nonexistent_files | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/java_ignore_nonexistent_files b/debian/patches/java_ignore_nonexistent_files new file mode 100644 index 0000000..123b72c --- /dev/null +++ b/debian/patches/java_ignore_nonexistent_files @@ -0,0 +1,17 @@ +Description: Check for file/symlink existence before trying to use it in Java(). +Upstream bug: http://scons.tigris.org/issues/show_bug.cgi?id=2207 +Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338232 + +Index: scons-1.1.0/engine/SCons/Tool/javac.py +=================================================================== +--- scons-1.1.0.orig/engine/SCons/Tool/javac.py 2008-10-11 18:11:46.083270910 +0200 ++++ scons-1.1.0/engine/SCons/Tool/javac.py 2008-10-11 18:13:04.519739110 +0200 +@@ -94,6 +94,8 @@ + version = env.get('JAVAVERSION', '1.4') + full_tlist = [] + for f in slist: ++ if not os.path.exists(f.rfile().get_abspath()): ++ continue + tlist = [] + source_file_based = True + pkg_dir = None |