Fix copied from https://bugs.launchpad.net/wicd/+bug/1421918/comments/2 --- wicd-1.7.3/curses/wicd-curses.py 2014-12-21 16:57:33 +0000 +++ wicd-1.7.3/curses/wicd-curses.py 2015-02-24 23:41:01 +0000 @@ -532,7 +532,10 @@ def get_selected_profile(self): """Get the selected wired profile""" loc = self.get_focus()[1] - return self.theList[loc] + if len(self.theList) > loc: + return self.theList[loc] + else: + return self.theList[-1] class AdHocDialog(Dialog2): '>guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ragel.scm
AgeCommit message (Expand)Author
2022-01-01gnu: ragel: Fix build of knot on aarch64-linux....Apply a patch backported from Ragel's "ragel-6" branch that allows it to reliably generate usable code on aarch64-linux where the C/C++ "char" type is unsigned by default, fixing the build of Knot on this platform. * gnu/packages/patches/ragel-char-signedness.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/ragel.scm (ragel)[arguments]: Add custom phase for AArch64 that applies the patch. [native-inputs]: Add "patch" and patch file on AArch64. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Simon South