util-linux/fdisk-tinfo.patch

13 lines
295 B
Diff

--- util-linux-2.23.1/fdisks/Makemodule.am
+++ util-linux-2.23.1/fdisks/Makemodule.am 2013-06-05 09:58:30.753439465 +0000
@@ -79,6 +79,9 @@ endif
if HAVE_SLANG
cfdisk_LDADD += -lslang
else
+if HAVE_TINFO
+cfdisk_LDADD += -ltinfo
+endif
if HAVE_NCURSES
cfdisk_LDADD += @NCURSES_LIBS@
endif