Accepting request 77672 from Base:System

- Use ncursesw6 instead of plain-old ncurses5 
- Disable automake silent rules (forwarded request 77489 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/77672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=62
This commit is contained in:
Sascha Peilicke 2011-08-02 12:56:00 +00:00 committed by Git OBS Bridge
commit 4fa33abfef
3 changed files with 33 additions and 3 deletions

View File

@ -0,0 +1,21 @@
--- configure.ac.orig
+++ configure.ac
@@ -178,7 +178,8 @@ AM_CPPFLAGS="$AM_CPPFLAGS -D_REENTRANT"
dnl Check for programs.
AC_ISC_POSIX
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
AC_PROG_GCC_TRADITIONAL
AM_PROG_CC_C_O
@@ -384,7 +385,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jul 31 01:50:07 UTC 2011 - crrodriguez@opensuse.org
- Use ncursesw6 instead of plain-old ncurses5
- Disable automake silent rules
-------------------------------------------------------------------
Thu May 19 13:05:08 UTC 2011 - puzel@novell.com

View File

@ -39,7 +39,7 @@ Patch10: fix-dm-partition-name.patch
Patch11: do-not-create-dm-nodes.patch
#PATCH-FEATURE-OPENSUSE more-reliable-informing-the-kernel.patch bnc#657360 petr.uzel@suse.cz
Patch12: more-reliable-informing-the-kernel.patch
Patch13: parted-2.4-ncursesw6.patch
Requires: /sbin/udevadm
BuildRequires: check-devel
BuildRequires: device-mapper-devel >= 1.02.33
@ -102,15 +102,18 @@ to develop applications that require these.
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13
%build
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
export LDFLAGS="`ncursesw6-config --libs`"
AUTOPOINT=true autoreconf --force --install
%configure --disable-static \
--with-pic \
--enable-device-mapper=yes \
--enable-dynamic-loading=no \
--enable-selinux \
--disable-Werror
--disable-Werror \
--disable-silent-rules
make %{?_smp_mflags}
%install