diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-06-17 09:15:42 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-06-17 10:58:55 +0200 |
commit | 6533b1e362e3514c29e32f1c5bb46df693423fc2 (patch) | |
tree | 134cc2c941a034e9d9e0d60c390d5e00ccf078a1 /package/bmon/bmon-curses.patch | |
parent | 587863b039d3e9f1daabcada723450d633333473 (diff) |
bmon: make ncurses dependency optional
bmon can be built without ncurses support (needs a small patch though),
so don't enforce it in kconfig.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bmon/bmon-curses.patch')
-rw-r--r-- | package/bmon/bmon-curses.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/bmon/bmon-curses.patch b/package/bmon/bmon-curses.patch new file mode 100644 index 000000000..0eb164e32 --- /dev/null +++ b/package/bmon/bmon-curses.patch @@ -0,0 +1,26 @@ +[PATCH] fix build without curses + +bmon supports a --disable-curses configure option, but still #error +out if curses wasn't detected, even though the rest of the code is +written to work without curses support. + +Fix it by removing the bogus #error line. + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + include/bmon/config.h | 2 -- + 1 file changed, 2 deletions(-) + +Index: bmon-2.1.0/include/bmon/config.h +=================================================================== +--- bmon-2.1.0.orig/include/bmon/config.h ++++ bmon-2.1.0/include/bmon/config.h +@@ -118,8 +118,6 @@ + # endif /* !HAVE_CURSES */ + #elif defined HAVE_CURSES + # include <curses.h> +-#else +-# error "*** ERROR: Neither ncurses nor curses is present on your system. ***" + #endif /* HAVE_[N]CURSES */ + + #if defined HAVE_RRD |