libedit: Update

This commit is contained in:
William A. Kennington III 2014-09-19 11:06:27 -07:00
parent a1d6c60e2d
commit a6a07b88ee

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses, groff }: { stdenv, fetchurl, ncurses, groff }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libedit-20130712-3.1"; name = "libedit-20140620-3.1";
src = fetchurl { src = fetchurl {
url = "http://www.thrysoee.dk/editline/${name}.tar.gz"; url = "http://www.thrysoee.dk/editline/${name}.tar.gz";
sha256 = "0dwav34041sariyl00nr106xmn123bnxir4qpn5y47vgssfim6sx"; sha256 = "1wnapwcpl4yq8p95j898jl0hsr39if28qzm5a7zwkbplihm9nax2";
}; };
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds. # Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
@ -15,10 +15,7 @@ stdenv.mkDerivation rec {
sed -i s/-lncurses/-lncursesw/g $out/lib/pkgconfig/libedit.pc sed -i s/-lncurses/-lncursesw/g $out/lib/pkgconfig/libedit.pc
''; '';
# taken from gentoo http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libedit/files/ configureFlags = [ "--enable-widec" ];
patches = [ ./freebsd.patch ./freebsd_weak_ref.patch ];
configureFlags = "--enable-widec";
propagatedBuildInputs = [ ncurses ]; propagatedBuildInputs = [ ncurses ];