forked from pool/parted
Accepting request 77489 from home:elvigia:branches:Base:System
- Use ncursesw6 instead of plain-old ncurses5 - Disable automake silent rules OBS-URL: https://build.opensuse.org/request/show/77489 OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=41
This commit is contained in:
parent
897291a186
commit
a539958ebd
21
parted-2.4-ncursesw6.patch
Normal file
21
parted-2.4-ncursesw6.patch
Normal 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
|
@ -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
|
Thu May 19 13:05:08 UTC 2011 - puzel@novell.com
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Patch10: fix-dm-partition-name.patch
|
|||||||
Patch11: do-not-create-dm-nodes.patch
|
Patch11: do-not-create-dm-nodes.patch
|
||||||
#PATCH-FEATURE-OPENSUSE more-reliable-informing-the-kernel.patch bnc#657360 petr.uzel@suse.cz
|
#PATCH-FEATURE-OPENSUSE more-reliable-informing-the-kernel.patch bnc#657360 petr.uzel@suse.cz
|
||||||
Patch12: more-reliable-informing-the-kernel.patch
|
Patch12: more-reliable-informing-the-kernel.patch
|
||||||
|
Patch13: parted-2.4-ncursesw6.patch
|
||||||
Requires: /sbin/udevadm
|
Requires: /sbin/udevadm
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
BuildRequires: device-mapper-devel >= 1.02.33
|
BuildRequires: device-mapper-devel >= 1.02.33
|
||||||
@ -102,15 +102,18 @@ to develop applications that require these.
|
|||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
|
%patch13
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
||||||
|
export LDFLAGS="`ncursesw6-config --libs`"
|
||||||
AUTOPOINT=true autoreconf --force --install
|
AUTOPOINT=true autoreconf --force --install
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--enable-device-mapper=yes \
|
--enable-device-mapper=yes \
|
||||||
--enable-dynamic-loading=no \
|
--enable-dynamic-loading=no \
|
||||||
--enable-selinux \
|
--enable-selinux \
|
||||||
--disable-Werror
|
--disable-Werror \
|
||||||
|
--disable-silent-rules
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user