summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/newt-frontend.c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-01 17:25:22 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-01 17:25:22 +0000
commitcebb882bbb82549f1798b8fc4b37d76be90a869b (patch)
treeaa04026f1b22781d668ed02d04688e1f48cd008c /mdk-stage1/newt-frontend.c
parentf8b5c22e2584741f2c522ffc86486bc073f943ce (diff)
downloaddrakx-cebb882bbb82549f1798b8fc4b37d76be90a869b.tar
drakx-cebb882bbb82549f1798b8fc4b37d76be90a869b.tar.gz
drakx-cebb882bbb82549f1798b8fc4b37d76be90a869b.tar.bz2
drakx-cebb882bbb82549f1798b8fc4b37d76be90a869b.tar.xz
drakx-cebb882bbb82549f1798b8fc4b37d76be90a869b.zip
link against system libraries for newt & slang too (from mdv)
Diffstat (limited to 'mdk-stage1/newt-frontend.c')
-rw-r--r--mdk-stage1/newt-frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/newt-frontend.c b/mdk-stage1/newt-frontend.c
index e8a6ef6d3..6bdded9d3 100644
--- a/mdk-stage1/newt-frontend.c
+++ b/mdk-stage1/newt-frontend.c
@@ -32,7 +32,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <sys/time.h>
-#include "newt/newt.h"
+#include <newt.h>
#include <probing.h>
@@ -299,7 +299,7 @@ static int mynewtWinEntries(char * title, char * text, int suggestedWidth, int f
for (i = 0; i < numItems; i++) {
newtComponent entr = newtEntry(-1, -1, items[i].value ?
*items[i].value : NULL, dataWidth,
- items[i].value, items[i].flags);
+ (const char**)items[i].value, items[i].flags);
newtGridSetField(subgrid, 0, i, NEWT_GRID_COMPONENT,
newtLabel(-1, -1, items[i].text),