debian/0000755000000000000000000000000011567000407007166 5ustar debian/changelog0000644000000000000000000000050211567000055011034 0ustar minisat+ (1.0-2) unstable; urgency=low * Patch exitcode: non-null exit code on parse error. -- Ralf Treinen Tue, 24 May 2011 20:42:23 +0200 minisat+ (1.0-1) unstable; urgency=low * Initial package (closes: Bug#626410) -- Ralf Treinen Thu, 12 May 2011 22:13:24 +0200 debian/minisat+.manpages0000644000000000000000000000002211567000055012413 0ustar debian/minisat+.1 debian/minisat+.install0000644000000000000000000000002111567000055012265 0ustar minisat+ usr/bin debian/minisat+.examples0000644000000000000000000000001311567000055012436 0ustar Examples/* debian/source/0000755000000000000000000000000011567000055010465 5ustar debian/source/format0000644000000000000000000000001411567000055011673 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000014411567000055010244 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_make: make rs override_dh_auto_clean: make clean debian/watch0000644000000000000000000000015011567000055010212 0ustar version=3 opts=filenamemangle=s/minisatp/minisat+/\ http://minisat.se/downloads/minisatp-(.+).tar.gzdebian/copyright0000644000000000000000000000245411567000055011125 0ustar Upstream-Name: copyright Upstream-Contact: Niklas Sorensson Source: http://minisat.se/downloads/minisatp-1.0.tar.gz Copyright: 2005-2010 Niklas Eén and Niklas Sörensson Licence: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: * Copyright:2005-2010 Niklas Eén and Niklas Sörensson Licence: MIT debian/patches/0000755000000000000000000000000011567000055010614 5ustar debian/patches/exitcode0000644000000000000000000000277011567000055012351 0ustar Author: Niklas Sorensson (extracted from upstream git) Approved: Ralf Treinen Description: use exitcode to indicate error Index: minisat+/Main.C =================================================================== --- minisat+.orig/Main.C 2011-05-24 20:48:23.000000000 +0200 +++ minisat+/Main.C 2011-05-24 20:50:13.000000000 +0200 @@ -261,7 +261,7 @@ reportf("*** TERMINATED ***\n"); outputResult(*pb_solver, false); SatELite::deleteTmpFiles(); - _exit(pb_solver->best_goalvalue == Int_MAX ? 0 : 10); } + _exit(0); } void printStats(BasicSolverStats& stats, double cpu_time) @@ -324,7 +324,7 @@ reportf("_______________________________________________________________________________\n"); } - exit(pb_solver->best_goalvalue == Int_MAX ? 20 : (pb_solver->goal == NULL || opt_command == cmd_FirstSolution) ? 10 : 30); // (faster than "return", which will invoke the destructor for 'PbSolver') + exit(0); // (faster than "return", which will invoke the destructor for 'PbSolver') } Index: minisat+/PbParser.C =================================================================== --- minisat+.orig/PbParser.C 2011-05-24 20:48:23.000000000 +0200 +++ minisat+/PbParser.C 2011-05-24 20:50:13.000000000 +0200 @@ -282,7 +282,7 @@ xfree(msg); if (opt_satlive && !opt_try) printf("s UNKNOWN\n"); - exit(opt_try ? 5 : 0); + exit(5); }else throw msg; } debian/patches/series0000644000000000000000000000001111567000055012021 0ustar exitcode debian/minisat+.10000644000000000000000000000501511567000055010767 0ustar .TH "MINISAT+" 1 .SH NAME minisat+ \- A Solver for Pseudo-Boolean Constraints .SH SYNOPSIS .B minisat+ [] [