| 1 |
Description: <short summary of the patch> |
| 2 |
TODO: Put a short summary on the line above and replace this paragraph |
| 3 |
with a longer explanation of this change. Complete the meta-information |
| 4 |
with other relevant fields (see below for details). To make it easier, the |
| 5 |
information below has been extracted from the changelog. Adjust it or drop |
| 6 |
it. |
| 7 |
. |
| 8 |
minisat2 (1:2.2.1-4) unstable; urgency=low |
| 9 |
. |
| 10 |
* Require a non-zero memory limit (closes: #716229) |
| 11 |
* Bumped standards version to 3.9.4 (no changes) |
| 12 |
* Bumped compatibility level to 9 |
| 13 |
Author: Michael Tautschnig <[email protected]> |
| 14 |
Bug-Debian: http://bugs.debian.org/716229 |
| 15 |
|
| 16 |
--- |
| 17 |
The information above should follow the Patch Tagging Guidelines, please |
| 18 |
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here |
| 19 |
are templates for supplementary fields that you might want to add: |
| 20 |
|
| 21 |
Origin: <vendor|upstream|other>, <url of original patch> |
| 22 |
Bug: <url in upstream bugtracker> |
| 23 |
Bug-Debian: http://bugs.debian.org/<bugnumber> |
| 24 |
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> |
| 25 |
Forwarded: <no|not-needed|url proving that it has been forwarded> |
| 26 |
Reviewed-By: <name and email of someone who approved the patch> |
| 27 |
Last-Update: <YYYY-MM-DD> |
| 28 |
|
| 29 |
--- minisat2-2.2.1.orig/minisat/simp/Main.cc |
| 30 |
+++ minisat2-2.2.1/minisat/simp/Main.cc |
| 31 |
@@ -85,7 +85,7 @@ int main(int argc, char** argv) |
| 32 |
BoolOption pre ("MAIN", "pre", "Completely turn on/off any preprocessing.", true); |
| 33 |
StringOption dimacs ("MAIN", "dimacs", "If given, stop after preprocessing and write the result to this file."); |
| 34 |
IntOption cpu_lim("MAIN", "cpu-lim","Limit on CPU time allowed in seconds.\n", INT32_MAX, IntRange(0, INT32_MAX)); |
| 35 |
- IntOption mem_lim("MAIN", "mem-lim","Limit on memory usage in megabytes.\n", INT32_MAX, IntRange(0, INT32_MAX)); |
| 36 |
+ IntOption mem_lim("MAIN", "mem-lim","Limit on memory usage in megabytes.\n", INT32_MAX, IntRange(64, INT32_MAX)); |
| 37 |
|
| 38 |
parseOptions(argc, argv, true); |
| 39 |
|