diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-11-27 18:36:46 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-27 18:36:46 +0100 |
commit | 21b2dac90d38b07b6f1aad1bd4aec2681c4e6e8c (patch) | |
tree | 0843d3e788cc252553da2428914e0a812eee6299 /app-text/hnb/files | |
parent | x11-plugins/gkrellmss: fix build with gcc-10 (diff) | |
download | gentoo-21b2dac90d38b07b6f1aad1bd4aec2681c4e6e8c.tar.gz gentoo-21b2dac90d38b07b6f1aad1bd4aec2681c4e6e8c.tar.bz2 gentoo-21b2dac90d38b07b6f1aad1bd4aec2681c4e6e8c.zip |
app-text/hnb: port to EAPI 7
Closes: https://bugs.gentoo.org/707720
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/hnb/files')
-rw-r--r-- | app-text/hnb/files/hnb-1.9.18-fno-common.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-text/hnb/files/hnb-1.9.18-fno-common.patch b/app-text/hnb/files/hnb-1.9.18-fno-common.patch new file mode 100644 index 000000000000..89a4321c4144 --- /dev/null +++ b/app-text/hnb/files/hnb-1.9.18-fno-common.patch @@ -0,0 +1,27 @@ +--- a/src/ui.h ++++ b/src/ui.h +@@ -38,6 +38,9 @@ extern int hnb_edit_posup; + extern int hnb_edit_posdown; + + extern int ui_inited; ++extern int nodes_above; ++extern int active_line; ++extern int nodes_below; + + void ui_getstr (char *prompt, char *datastorage); + +--- a/src/ui_draw.c ++++ b/src/ui_draw.c +@@ -39,9 +39,9 @@ + + #define KEEPLINES 5 + +-int nodes_above; +-int active_line; +-int nodes_below; ++extern int nodes_above; ++extern int active_line; ++extern int nodes_below; + + static Node *up (Node *sel, Node *node) + { |