libedit: update to 20221009.3.1.
Patch out unnecessary sys/cdefs.h include to fix building with musl
This commit is contained in:
parent
b2d8efb816
commit
ff3fa3df6f
|
@ -0,0 +1,14 @@
|
|||
fixes musl build
|
||||
|
||||
diff --git a/src/reallocarr.c b/src/reallocarr.c
|
||||
index c637ab4..549573a 100644
|
||||
--- a/src/reallocarr.c
|
||||
+++ b/src/reallocarr.c
|
||||
@@ -37,7 +37,6 @@
|
||||
#include "nbtool_config.h"
|
||||
#endif
|
||||
|
||||
-#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: reallocarr.c,v 1.5 2015/08/20 22:27:49 kamil Exp $");
|
||||
|
||||
#include <errno.h>
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'libedit'
|
||||
pkgname=libedit
|
||||
version=20210910.3.1
|
||||
version=20221009.3.1
|
||||
revision=1
|
||||
_distver="${version%%.*}-${version#*.}"
|
||||
wrksrc="${pkgname}-${_distver}"
|
||||
|
@ -9,9 +9,9 @@ makedepends="ncurses-devel"
|
|||
short_desc="Port of the NetBSD Command Line Editor Library"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://www.thrysoee.dk/editline/"
|
||||
distfiles="http://www.thrysoee.dk/editline/libedit-${_distver}.tar.gz"
|
||||
checksum=6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5
|
||||
homepage="https://www.thrysoee.dk/editline/"
|
||||
distfiles="https://www.thrysoee.dk/editline/libedit-${_distver}.tar.gz"
|
||||
checksum=b7b135a5112ce4344c9ac3dff57cc057b2b0e1b912619a36cf1d13fce8e88626
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
version=${_datever}
|
||||
version=${version%%.*}
|
||||
pattern="${pkgname}-\K\d{8}(?=-[\d.]+\.tar)"
|
||||
|
|
Loading…
Reference in New Issue