summaryrefslogtreecommitdiffstats
path: root/recipes-security/bastille/files/fix_number_of_modules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/bastille/files/fix_number_of_modules.patch')
-rw-r--r--recipes-security/bastille/files/fix_number_of_modules.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-security/bastille/files/fix_number_of_modules.patch b/recipes-security/bastille/files/fix_number_of_modules.patch
new file mode 100644
index 0000000..743e549
--- /dev/null
+++ b/recipes-security/bastille/files/fix_number_of_modules.patch
@@ -0,0 +1,38 @@
1Upstream Status: Inappropriate [No upstream maintenance]
2
3Signed-off-by: Anne Mulhern <mulhern@yoctoproject.org>
4
5---
6
7Index: Bastille/Bastille_Curses.pm
8===================================================================
9--- Bastille.orig/Bastille_Curses.pm 2013-08-24 18:21:54.445288000 -0400
10+++ Bastille/Bastille_Curses.pm 2013-08-24 18:29:16.981288000 -0400
11@@ -36,9 +36,6 @@
12 use Curses;
13 use Curses::Widgets;
14
15- # Number_Modules is the number of modules loaded in by Load_Questions
16- $Number_Modules=0;
17-
18 #
19 # Highlighted button is the button currently chosen in the button bar
20 # We preserve this from question to question...
21@@ -397,7 +394,7 @@
22 my $title;
23
24 if ($module) {
25- $title=$module . " of $Number_Modules";
26+ $title=$module;
27 }
28
29 txt_field( 'window' => $window,
30@@ -488,7 +485,7 @@
31 my $title;
32
33 if ($module) {
34- $title=$module . " of $Number_Modules";
35+ $title=$module;
36 }
37
38 noecho;