[freecol] 115/125: Add commons-cli-1.3.patch

Markus Koschany apo-guest at moszumanska.debian.org
Sun Dec 20 19:39:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository freecol.

commit e615a2469607a081648aabbdc0fdcc03b2eec68f
Author: Markus Koschany <apo at debian.org>
Date:   Sun Dec 20 18:49:29 2015 +0100

    Add commons-cli-1.3.patch
---
 debian/patches/commons-cli-1.3.patch | 21 +++++++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/commons-cli-1.3.patch b/debian/patches/commons-cli-1.3.patch
new file mode 100644
index 0000000..ed5b832
--- /dev/null
+++ b/debian/patches/commons-cli-1.3.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 20 Dec 2015 18:49:11 +0100
+Subject: commons-cli 1.3
+
+---
+ src/net/sf/freecol/FreeCol.java | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/net/sf/freecol/FreeCol.java b/src/net/sf/freecol/FreeCol.java
+index d05ae3d..99b9cdc 100644
+--- a/src/net/sf/freecol/FreeCol.java
++++ b/src/net/sf/freecol/FreeCol.java
+@@ -426,7 +426,7 @@ public final class FreeCol {
+     private static void handleArgs(String[] args) {
+         Options options = new Options();
+         final String help = Messages.message("cli.help");
+-        final File dummy = new File("dummy");
++        final Class dummy = null;
+         final String argDirectory = Messages.message("cli.arg.directory");
+ 
+         // Help options.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..56fb36b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+commons-cli-1.3.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freecol.git



More information about the Pkg-games-commits mailing list