diff options
Diffstat (limited to 'debian/patches/java_ignore_nonexistent_files.patch')
-rw-r--r-- | debian/patches/java_ignore_nonexistent_files.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/java_ignore_nonexistent_files.patch b/debian/patches/java_ignore_nonexistent_files.patch new file mode 100644 index 0000000..c3bd606 --- /dev/null +++ b/debian/patches/java_ignore_nonexistent_files.patch @@ -0,0 +1,18 @@ +Description: Check for file/symlink existence before trying to use it in Java() +Origin: Debian +Bug-Debian: http://bugs.debian.org/338232 +Forwarded: http://scons.tigris.org/issues/show_bug.cgi?id=2207 + +Index: b/engine/SCons/Tool/javac.py +=================================================================== +--- a/engine/SCons/Tool/javac.py 2010-01-23 15:11:20.016927869 +0100 ++++ b/engine/SCons/Tool/javac.py 2010-01-23 15:11:33.892932280 +0100 +@@ -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 |