mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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
3 changed files with 19 additions and 5 deletions
14
srcpkgs/libedit/patches/no-cdefs-include.patch
Normal file
14
srcpkgs/libedit/patches/no-cdefs-include.patch
Normal file
|
@ -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'
|
# Template file for 'libedit'
|
||||||
pkgname=libedit
|
pkgname=libedit
|
||||||
version=20210910.3.1
|
version=20221009.3.1
|
||||||
revision=1
|
revision=1
|
||||||
_distver="${version%%.*}-${version#*.}"
|
_distver="${version%%.*}-${version#*.}"
|
||||||
wrksrc="${pkgname}-${_distver}"
|
wrksrc="${pkgname}-${_distver}"
|
||||||
|
@ -9,9 +9,9 @@ makedepends="ncurses-devel"
|
||||||
short_desc="Port of the NetBSD Command Line Editor Library"
|
short_desc="Port of the NetBSD Command Line Editor Library"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="http://www.thrysoee.dk/editline/"
|
homepage="https://www.thrysoee.dk/editline/"
|
||||||
distfiles="http://www.thrysoee.dk/editline/libedit-${_distver}.tar.gz"
|
distfiles="https://www.thrysoee.dk/editline/libedit-${_distver}.tar.gz"
|
||||||
checksum=6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5
|
checksum=b7b135a5112ce4344c9ac3dff57cc057b2b0e1b912619a36cf1d13fce8e88626
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
version=${_datever}
|
version=${version%%.*}
|
||||||
pattern="${pkgname}-\K\d{8}(?=-[\d.]+\.tar)"
|
pattern="${pkgname}-\K\d{8}(?=-[\d.]+\.tar)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue