r15533 - in packages/trunk/freecol/debian: . patches

Vincent Fourmond fourmond at moszumanska.debian.org
Sat Sep 19 20:44:26 UTC 2015


Author: fourmond
Date: 2015-09-19 20:44:25 +0000 (Sat, 19 Sep 2015)
New Revision: 15533

Added:
   packages/trunk/freecol/debian/patches/commons-cli-1.3.patch
Modified:
   packages/trunk/freecol/debian/changelog
   packages/trunk/freecol/debian/control
   packages/trunk/freecol/debian/copyright
   packages/trunk/freecol/debian/patches/series
Log:
Import patch by Marcus Koschany to fix crash on startup

Modified: packages/trunk/freecol/debian/changelog
===================================================================
--- packages/trunk/freecol/debian/changelog	2015-09-19 11:48:27 UTC (rev 15532)
+++ packages/trunk/freecol/debian/changelog	2015-09-19 20:44:25 UTC (rev 15533)
@@ -1,3 +1,17 @@
+freecol (0.10.7+dfsg-4) unstable; urgency=medium
+
+  [ Markus Koschany ]
+  * Team upload.
+  * Add commons-cli-1.3.patch and fix java.lang.ClassCastException due to
+    deprecated and different methods in libcommons-cli-java version 1.3.1.
+    Thanks to Emmanuel Fleury for the report. (Closes: #798699)
+
+  [ Vincent Fourmond ]
+  * Conforms to recent standards  
+  * Cleanup a tidbit the debian/copyright file
+
+ -- Vincent Fourmond <fourmond at debian.org>  Sat, 19 Sep 2015 22:32:50 +0200
+
 freecol (0.10.7+dfsg-3) unstable; urgency=medium
 
   * Disable intro video to avoid hanging at startup (closes: #771700)

Modified: packages/trunk/freecol/debian/control
===================================================================
--- packages/trunk/freecol/debian/control	2015-09-19 11:48:27 UTC (rev 15532)
+++ packages/trunk/freecol/debian/control	2015-09-19 20:44:25 UTC (rev 15533)
@@ -19,7 +19,7 @@
  texlive-binaries | texlive-base-bin,
  texlive-latex-recommended,
  texlive-fonts-recommended
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
 Homepage: http://www.freecol.org
 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/freecol
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/freecol

Modified: packages/trunk/freecol/debian/copyright
===================================================================
--- packages/trunk/freecol/debian/copyright	2015-09-19 11:48:27 UTC (rev 15532)
+++ packages/trunk/freecol/debian/copyright	2015-09-19 20:44:25 UTC (rev 15533)
@@ -38,17 +38,14 @@
 Files: debian/*
 Copyright: Copyright (C) 2007-2009 Vincent Fourmond <fourmond at debian.org>
 License: GPL-2+
-  (see above)
 
 Files: data/fonts/ShadowedBlack.ttf is
 Copyright: Copyright Paul Lloyd <Paul.Lloyd at uwa.edu.au>
 License: GPL-2+
-  (see above)
 
 Files: packaging/gentoo/freecol-0.3.0.ebuild is
 Copyright: Copyright 1999-2004 Gentoo Foundation
 License: GPL-2+
-  (see above)
 
 Files: data/images/ui/bg_map1.jpg
        data/images/ui/military.png

Added: packages/trunk/freecol/debian/patches/commons-cli-1.3.patch
===================================================================
--- packages/trunk/freecol/debian/patches/commons-cli-1.3.patch	                        (rev 0)
+++ packages/trunk/freecol/debian/patches/commons-cli-1.3.patch	2015-09-19 20:44:25 UTC (rev 15533)
@@ -0,0 +1,29 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Sat, 12 Sep 2015 00:53:37 +0200
+Subject: commons cli 1.3
+
+---
+ src/net/sf/freecol/FreeCol.java | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/net/sf/freecol/FreeCol.java b/src/net/sf/freecol/FreeCol.java
+index 3cdf52e..a973298 100644
+--- a/src/net/sf/freecol/FreeCol.java
++++ b/src/net/sf/freecol/FreeCol.java
+@@ -299,6 +299,7 @@ public final class FreeCol {
+     private static void handleArgs(String[] args) {
+         // create the command line parser
+         CommandLineParser parser = new PosixParser();
++        final Class dummy = null;
+ 
+         /**
+          * Ugly hack: try to determine language first, so that usage,
+@@ -338,7 +339,7 @@ public final class FreeCol {
+         options.addOption(OptionBuilder.withLongOpt("home-directory")
+                           .withDescription(Messages.message("cli.home-directory"))
+                           .withArgName(Messages.message("cli.arg.directory"))
+-                          .withType(new File("dummy"))
++                          .withType(dummy)
+                           .hasArg()
+                           .create());
+         options.addOption(OptionBuilder.withLongOpt("log-console")

Modified: packages/trunk/freecol/debian/patches/series
===================================================================
--- packages/trunk/freecol/debian/patches/series	2015-09-19 11:48:27 UTC (rev 15532)
+++ packages/trunk/freecol/debian/patches/series	2015-09-19 20:44:25 UTC (rev 15533)
@@ -1,2 +1,3 @@
 10-fix-jar-path.diff
 40-manpage.diff
+commons-cli-1.3.patch




More information about the Pkg-games-commits mailing list