libedit: update to 20180525.3.1.

Closes #14712.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-05-25 19:45:18 -03:00 committed by Enno Boland
parent bdf8bc5257
commit 8133b9b362
2 changed files with 4 additions and 15 deletions

View file

@ -1,11 +0,0 @@
--- 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

View file

@ -1,18 +1,18 @@
# Template file for 'libedit'
pkgname=libedit
_datever=20170329
_datever=20180525
_distver=3.1
version=${_datever}.${_distver}
revision=2
revision=1
wrksrc="${pkgname}-${_datever}-${_distver}"
build_style=gnu-configure
makedepends="ncurses-devel"
short_desc="Port of the NetBSD Command Line Editor Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
license="BSD-2-Clause"
homepage="http://www.thrysoee.dk/editline/"
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
checksum=91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be
checksum=c41bea8fd140fb57ba67a98ec1d8ae0b8ffa82f4aba9c35a87e5a9499e653116
post_install() {
vlicense COPYING