diff --git a/debian/changelog b/debian/changelog index fccedee..1177942 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ findbugs (3.1.0~preview2-2) UNRELEASED; urgency=medium * Team upload. + * Fixed a source incompatibility with dom4j 2.x * Switch to debhelper level 10 * Standards-Version updated to 4.1.1 diff --git a/debian/patches/0016-dom4j2-compatibility.patch b/debian/patches/0016-dom4j2-compatibility.patch new file mode 100644 index 0000000..c062b06 --- /dev/null +++ b/debian/patches/0016-dom4j2-compatibility.patch @@ -0,0 +1,14 @@ +Description: Fixes the compatibility with dom4j 2.x +Author: Emmanuel Bourg +Forwarded: no +--- a/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java ++++ b/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java +@@ -30,7 +30,7 @@ + + @SuppressWarnings("unchecked") + public static List selectNodes(Node node, String arg0) { +- return node.selectNodes(arg0); ++ return (List) node.selectNodes(arg0); + } + + } diff --git a/debian/patches/series b/debian/patches/series index ea01ed6..ea2c0d8 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -13,3 +13,4 @@ 0013-dont-fetch-external-libraries.patch 0014-asm-compatibility.patch 0015-reproducibility.patch +0016-dom4j2-compatibility.patch