From 58b71c192642dfcef1d245a3d529dd39fc444cc6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Jun 2016 07:43:21 +0200 Subject: [PATCH] libedit: update to 20160618.3.1. --- srcpkgs/libedit/patches/musl.patch | 11 +++++++++++ srcpkgs/libedit/template | 10 +++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/libedit/patches/musl.patch diff --git a/srcpkgs/libedit/patches/musl.patch b/srcpkgs/libedit/patches/musl.patch new file mode 100644 index 00000000000..0357ad208f2 --- /dev/null +++ b/srcpkgs/libedit/patches/musl.patch @@ -0,0 +1,11 @@ +--- src/chartype.h.orig 2016-06-21 07:40:21.355084769 +0200 ++++ src/chartype.h 2016-06-21 07:40:54.315758800 +0200 +@@ -33,7 +33,7 @@ + * supports non-BMP code points without requiring UTF-16, but nothing + * seems to actually advertise this properly, despite Unicode 3.1 having + * been around since 2001... */ +-#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__) ++#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && (defined(__linux__) && defined(__GLIBC__)) + #ifndef __STDC_ISO_10646__ + /* In many places it is assumed that the first 127 code points are ASCII + * compatible, so ensure wchar_t indeed does ISO 10646 and not some other diff --git a/srcpkgs/libedit/template b/srcpkgs/libedit/template index d99df395a91..f9e67537ddc 100644 --- a/srcpkgs/libedit/template +++ b/srcpkgs/libedit/template @@ -1,6 +1,6 @@ # Template file for 'libedit' pkgname=libedit -_datever=20150325 +_datever=20160618 _distver=3.1 version=${_datever}.${_distver} wrksrc="${pkgname}-${_datever}-${_distver}" @@ -12,10 +12,14 @@ maintainer="Juan RP " license="2-clause-BSD" homepage="http://www.thrysoee.dk/editline/" distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz" -checksum=c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5 +checksum=b6b159c0c6ec8a7f349ea2a75d8b960efa346c462c1ac4921f1ac0de85a9f5d6 + +post_install() { + vlicense COPYING +} libedit-devel_package() { - depends="ncurses-devel ${sourcepkg}>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include