forked from pool/util-linux
Accepting request 92886 from home:a_jaeger:branches:openSUSE:Factory
- add fdisk-tinfo.patch to fix build with newer curses. OBS-URL: https://build.opensuse.org/request/show/92886 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=113
This commit is contained in:
parent
303c96e0ad
commit
4ed3e2663c
18
fdisk-tinfo.patch
Normal file
18
fdisk-tinfo.patch
Normal file
@ -0,0 +1,18 @@
|
||||
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
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 15:13:56 UTC 2011 - aj@suse.de
|
||||
|
||||
- add fdisk-tinfo.patch to fix build with newer curses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 13:15:19 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -92,6 +92,7 @@ Patch6: util-linux-dmesg-fix-printing-of-multibyte-characters.patch
|
||||
Patch7: fsck-use-FS-blacklist-for-non-all-mode-too.patch
|
||||
Patch8: libmount-ignore-tailing-slash-in-netfs-source-paths.patch
|
||||
Patch9: libmount-fix-chdir-to-parent-for-restricted-user-umo.patch
|
||||
Patch10: fdisk-tinfo.patch
|
||||
|
||||
##
|
||||
## adjtimex
|
||||
@ -109,6 +110,7 @@ Patch60: time-1.7.dif
|
||||
## which
|
||||
##
|
||||
Patch70: which-lib64.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: %insserv_prereq %fillup_prereq /bin/sed
|
||||
#
|
||||
@ -198,6 +200,7 @@ Files to develop applications using the libmount library.
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
|
||||
#
|
||||
cd adjtimex-*
|
||||
|
Loading…
Reference in New Issue
Block a user