From 5fd86aff6cc9b9907b1762533927245d6c2bf736 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 22 Feb 2009 09:41:46 +0000 Subject: [PATCH] upgpkg: 5.7-2.1 x86_64 only rebuild Increased compatibility with some binary blobs (FS#13351) --- ChangeLog | 6 ++++++ PKGBUILD | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f52c19c..3c802fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-01-22 Allan McRae + * ncurses-5.7-2.1 + * x86_64 only build + * compile non-wide charater library with chtype=long + for compatibility with binary blobs (FS#13351) + 2008-11-15 Allan McRae * ncurses-5.7-2 * fix installation of non-wide charater libraries (FS#12124) diff --git a/PKGBUILD b/PKGBUILD index e411582..4b50d4c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ncurses pkgver=5.7 -pkgrel=2 +pkgrel=2.1 pkgdesc="System V Release 4.0 curses emulation library" arch=('i686' 'x86_64') url="http://www.gnu.org/software/ncurses/" @@ -47,9 +47,10 @@ build() { ln -sf libncurses.a ${pkgdir}/usr/lib/libcurses.a # Install libncurses.so.5 for external binary support + [ $CARCH = "x86_64" ] && CONFIGFLAG="--with-chtype=long" ./configure --prefix=/usr \ --with-shared --with-normal --without-debug --without-ada \ - --with-install-prefix=${pkgdir} + --with-install-prefix=${pkgdir} $CONFIGFLAG make || return 1 install -Dm755 lib/libncurses.so.${pkgver} ${pkgdir}/usr/lib/libncurses.so.${pkgver}