# HG changeset patch # User Markus Mützel # Date 1620919380 -7200 # Node ID baeb0900fdf743093daccad0b3d2ab3393b0e314 # Parent cdcabd2311e161d65def1e75d79d9f3e709f701b readline: Remove redundant hunk from patch. * src/readline-0-001-upstream.patch: Remove accidentally duplicated hunk from patch. diff -r cdcabd2311e1 -r baeb0900fdf7 src/readline-0-001-upstream.patch --- a/src/readline-0-001-upstream.patch Thu May 13 11:22:34 2021 +0200 +++ b/src/readline-0-001-upstream.patch Thu May 13 17:23:00 2021 +0200 @@ -20,7 +20,7 @@ else if (_rl_strnicmp (args, "version", 7) == 0) { - int rlversion, versionarg, op, previ, major, minor; -+ int rlversion, versionarg, op, previ, major, minor, opresult; ++ int rlversion, versionarg, op, previ, major, minor, opresult; _rl_parsing_conditionalized_out = 1; @@ -1295,22 +1295,23 @@ @@ -54,26 +54,6 @@ } /* Check to see if the first word in ARGS is the same as the -- _rl_parsing_conditionalized_out = rlversion > versionarg; -+ opresult = rlversion > versionarg; - break; - case OP_GE: -- _rl_parsing_conditionalized_out = rlversion >= versionarg; -+ opresult = rlversion >= versionarg; - break; - case OP_LT: -- _rl_parsing_conditionalized_out = rlversion < versionarg; -+ opresult = rlversion < versionarg; - break; - case OP_LE: -- _rl_parsing_conditionalized_out = rlversion <= versionarg; -+ opresult = rlversion <= versionarg; - break; - } -+ _rl_parsing_conditionalized_out = 1 - opresult; - } - /* Check to see if the first word in ARGS is the same as the - diff -ur a/patchlevel b/patchlevel --- a/patchlevel 2013-11-15 08:11:11.000000000 -0500 +++ b/patchlevel 2014-03-21 08:28:40.000000000 -0400