[plexus-compiler] 02/05: Added a patch to compile with the Eclipse compiler available in Debian
Emmanuel Bourg
ebourg-guest at alioth.debian.org
Wed Nov 6 00:40:37 UTC 2013
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository plexus-compiler.
commit 75692e9d364668793fde13050c49b0010a8e454e
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Nov 6 01:06:13 2013 +0100
Added a patch to compile with the Eclipse compiler available in Debian
---
debian/changelog | 1 +
debian/patches/eclipse-compatibility.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index cb5c8d9..dc20595 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ plexus-compiler (1.8.3-1) UNRELEASED; urgency=low
* d/libplexus-compiler-java-doc.install: install Javadoc for each module
[ Emmanuel Bourg ]
+ * Added a patch to compile with the Eclipse compiler available in Debian
* debian/control:
- Updated Standards-Version to 3.9.5 (no changes)
* Build depend on debhelper >= 9
diff --git a/debian/patches/eclipse-compatibility.patch b/debian/patches/eclipse-compatibility.patch
new file mode 100644
index 0000000..3888d88
--- /dev/null
+++ b/debian/patches/eclipse-compatibility.patch
@@ -0,0 +1,19 @@
+Description: Preserves the compatibility with the version of the Eclipse
+ compiler available in Debian. This patch will become obsolete when upgrading
+ plexus-compiler to 2.1 or later.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java
++++ b/plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java
+@@ -403,6 +403,11 @@
+
+ return result;
+ }
++
++ public boolean ignoreOptionalProblems()
++ {
++ return false;
++ }
+ }
+
+ private class EclipseCompilerINameEnvironment
diff --git a/debian/patches/series b/debian/patches/series
index 9935f49..1544823 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_test_classpath.patch
+eclipse-compatibility.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-compiler.git
More information about the pkg-java-commits
mailing list