3
0
forked from pool/util-linux
util-linux/fdisk-tinfo.patch
Stephan Kulow 701e537f3b Accepting request 92907 from Base:System
- add fdisk-tinfo.patch to fix build with newer curses. (forwarded request 92886 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/92907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=140
2011-11-22 16:49:53 +00:00

19 lines
527 B
Diff

Index: util-linux-2.20.1/fdisk/Makefile.am
===================================================================
--- util-linux-2.20.1.orig/fdisk/Makefile.am
+++ util-linux-2.20.1/fdisk/Makefile.am
@@ -64,9 +64,13 @@ sbin_PROGRAMS += cfdisk
dist_man_MANS += cfdisk.8
cfdisk_SOURCES = cfdisk.c $(fdisk_common)
cfdisk_CFLAGS = $(cflags_blkid)
+if HAVE_TINFO
+cfdisk_LDADD = -ltinfo @NCURSES_LIBS@ $(ldadd_blkid)
+else
cfdisk_LDADD = @NCURSES_LIBS@ $(ldadd_blkid)
endif
endif
+endif
endif # !ARCH_SPARC
endif # !ARCH_M68K