diff --git a/debian/patches/0005-FixShowHelpInFindbugs.patch b/debian/patches/0005-FixShowHelpInFindbugs.patch new file mode 100644 index 0000000..df98806 --- /dev/null +++ b/debian/patches/0005-FixShowHelpInFindbugs.patch @@ -0,0 +1,29 @@ +Index: findbugs-2.0.3/src/java/edu/umd/cs/findbugs/ShowHelp.java +=================================================================== +--- findbugs-2.0.3.orig/src/java/edu/umd/cs/findbugs/ShowHelp.java 2011-12-20 16:16:10.000000000 +0800 ++++ findbugs-2.0.3/src/java/edu/umd/cs/findbugs/ShowHelp.java 2013-12-17 20:42:32.742172610 +0800 +@@ -32,14 +32,21 @@ + System.out.println("FindBugs version " + Version.RELEASE + ", " + Version.WEBSITE); + + DetectorFactoryCollection.instance(); +- System.out.println("Command line options"); ++ //System.out.println("Command line options:"); + + TreeSet cmds = new TreeSet(); + for(Plugin p : Plugin.getAllPlugins()) + for(FindBugsMain m : p.getAllFindBugsMain()) + cmds.add(m); +- for(FindBugsMain m : cmds) +- System.out.printf("fb %-12s %-12s %s%n", m.cmd, m.kind, m.description); ++ boolean isFirst=true; ++ for(FindBugsMain m : cmds){ ++ if (isFirst) ++ System.out.printf("Usage: "); ++ else ++ System.out.printf("or: "); ++ System.out.printf("fb %-12s %-12s %s%n", m.cmd, m.kind, m.description); ++ isFirst=false; ++ } + + // System.out.println(); + // System.out.println("GUI Options:"); diff --git a/debian/patches/0006-FixLibraryPathInJavaDoc.patch b/debian/patches/0006-FixLibraryPathInJavaDoc.patch new file mode 100644 index 0000000..cfda6d8 --- /dev/null +++ b/debian/patches/0006-FixLibraryPathInJavaDoc.patch @@ -0,0 +1,24 @@ +Index: findbugs-2.0.3/apiJavadoc.xml +=================================================================== +--- findbugs-2.0.3.orig/apiJavadoc.xml 2013-12-17 20:54:27.502167021 +0800 ++++ findbugs-2.0.3/apiJavadoc.xml 2013-12-17 21:02:10.150163402 +0800 +@@ -1,6 +1,6 @@ + + + +- ++ + + +Index: findbugs-2.0.3/annotationJavadoc.xml +=================================================================== +--- findbugs-2.0.3.orig/annotationJavadoc.xml 2010-11-24 23:04:10.000000000 +0800 ++++ findbugs-2.0.3/annotationJavadoc.xml 2013-12-17 21:03:11.858162921 +0800 +@@ -1,6 +1,6 @@ + + + +- ++ + + diff --git a/debian/patches/series b/debian/patches/series index 388633f..3245c3f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,5 @@ 0002-FixJnlpLibraryDir.patch 0003-UseGTKLook.patch 0004-FixLibraryInScriptProperties.patch +0005-FixShowHelpInFindbugs.patch +0006-FixLibraryPathInJavaDoc.patch