forked from pool/parted
- update to version 3.5: * Add support for JSON output. * Add support for linux-home flag for GPT. * Add --fix option. added patches: - direct-handling-of-partition-type-id-and-uuid.patch - parted-json-no-type-flag.patch refreshed patches: - libparted-open-the-device-RO-and-lazily-switch-to-RW.patch - parted-2.4-ncursesw6.patch - parted-add-ignore-busy-option.patch - parted-fix-resizepart-and-rm-command.patch - parted-implement-wipesignatures-option.patch - parted-print-max-partitions-for-yast.patch - parted-type.patch - tests-disable.patch removed patches: - parted-escape-printed-device-path.patch - parted-mkpart-allow-empty-gpt-part-name.patch OBS-URL: https://build.opensuse.org/request/show/971201 OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=152
31 lines
936 B
Diff
31 lines
936 B
Diff
From: Petr Uzel <petr.uzel@suse.cz>
|
|
Subject: build: Add ncursesw6 support
|
|
Patch-mainline: no, custom SUSE patch
|
|
---
|
|
configure.ac | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
Index: parted-3.3/configure.ac
|
|
===================================================================
|
|
--- parted-3.3.orig/configure.ac
|
|
+++ parted-3.3/configure.ac
|
|
@@ -147,7 +147,8 @@ AM_CPPFLAGS="$AM_CPPFLAGS -D_REENTRANT"
|
|
|
|
dnl Check for programs.
|
|
AC_SEARCH_LIBS([strerror],[cposix])
|
|
-AC_PROG_CC
|
|
+AC_PROG_CC_STDC
|
|
+AC_USE_SYSTEM_EXTENSIONS
|
|
AC_PROG_GCC_TRADITIONAL
|
|
AM_PROG_CC_C_O
|
|
|
|
@@ -320,7 +321,7 @@ dnl Check for termcap
|
|
if test "$with_readline" = yes; then
|
|
OLD_LIBS="$LIBS"
|
|
LIBS=""
|
|
- AC_SEARCH_LIBS([tgetent], [tinfo ncurses curses termcap termlib],
|
|
+ AC_SEARCH_LIBS([tgetent], [tinfo ncursesw curses termcap termlib],
|
|
[PARTED_LIBS="$PARTED_LIBS $LIBS"],
|
|
[AC_MSG_ERROR(dnl
|
|
[termcap could not be found which is required for the
|