diff options
Diffstat (limited to 'debian/patches/fix_ftbfs_cannot_find_infinite.patch')
-rw-r--r-- | debian/patches/fix_ftbfs_cannot_find_infinite.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/fix_ftbfs_cannot_find_infinite.patch b/debian/patches/fix_ftbfs_cannot_find_infinite.patch index 698ea42d..9f82f5c6 100644 --- a/debian/patches/fix_ftbfs_cannot_find_infinite.patch +++ b/debian/patches/fix_ftbfs_cannot_find_infinite.patch @@ -9,10 +9,10 @@ Bug-Debian: https://bugs.debian.org/822408 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc -index 834ee82..48bdfc8 100644 +index fd27240..ef392bd 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc -@@ -857,11 +857,7 @@ RTLIL::Const AstNode::realAsConst(int width) +@@ -873,11 +873,7 @@ RTLIL::Const AstNode::realAsConst(int width) { double v = round(realvalue); RTLIL::Const result; @@ -25,7 +25,7 @@ index 834ee82..48bdfc8 100644 } else { bool is_negative = v < 0; diff --git a/passes/cmds/qwp.cc b/passes/cmds/qwp.cc -index 8ec815a..28f3e51 100644 +index 1b800b6..c6e0573 100644 --- a/passes/cmds/qwp.cc +++ b/passes/cmds/qwp.cc @@ -19,6 +19,7 @@ @@ -36,7 +36,7 @@ index 8ec815a..28f3e51 100644 #undef LOG_MATRICES #undef PYPLOT_EDGES -@@ -341,7 +342,7 @@ struct QwpWorker +@@ -364,7 +365,7 @@ struct QwpWorker double c = alt_mode ? alt_midpos : midpos; double r = alt_mode ? alt_radius : radius; @@ -45,7 +45,7 @@ index 8ec815a..28f3e51 100644 v = min(v, c+r); v = max(v, c-r); } else { -@@ -523,14 +524,14 @@ struct QwpWorker +@@ -546,14 +547,14 @@ struct QwpWorker double rel_pos = node.pos - median; if (rel_pos < 0) { node.pos = midpos + left_scale*rel_pos; |