mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
loksh: update to 6.7.1
This commit is contained in:
parent
bd4d81f703
commit
98f94c5873
2 changed files with 4 additions and 21 deletions
|
@ -1,9 +0,0 @@
|
|||
--- include/sys/cdefs.h.orig 2020-05-22 21:05:19.805358049 -0700
|
||||
+++ include/sys/cdefs.h 2020-05-22 21:05:49.069119627 -0700
|
||||
@@ -53,4 +53,6 @@
|
||||
|
||||
#endif /* !_SYS_CDEFS_H_ */
|
||||
|
||||
+#ifdef __GLIBC__
|
||||
#include_next <sys/cdefs.h>
|
||||
+#endif
|
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'loksh'
|
||||
pkgname=loksh
|
||||
version=6.7
|
||||
version=6.7.1
|
||||
revision=1
|
||||
_lolibc_commit=f6bbd5bae97e58d0be6ea9fbbe5131853d5b0b70
|
||||
wrksrc=loksh
|
||||
build_style=meson
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="ncurses-devel"
|
||||
|
@ -10,10 +10,8 @@ short_desc="Linux port of OpenBSD's ksh"
|
|||
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
|
||||
license="custom:Public Domain"
|
||||
homepage="https://github.com/dimkr/loksh"
|
||||
distfiles="https://github.com/dimkr/loksh/archive/${version}.tar.gz
|
||||
https://github.com/dimkr/lolibc/archive/${_lolibc_commit}.tar.gz>lolibc.tar.gz"
|
||||
checksum="5e921bb740348eab670160f92ec0e959ff35b5ae36db9e9ed3a1b6de3e1d7551
|
||||
dec9c7d5759f3df1d4aeda419bd402a916b0c6681b114ea6899db78f20577cae"
|
||||
distfiles="https://github.com/dimkr/loksh/releases/download/${version}/src.tar.xz"
|
||||
checksum=b26419280d102a93cf0a5821f0c42b9c8a5850365f4a22435ff42f6c32d876f2
|
||||
register_shell="/bin/loksh"
|
||||
|
||||
alternatives="
|
||||
|
@ -23,12 +21,6 @@ alternatives="
|
|||
sh:sh.1:/usr/share/man/man1/loksh-sh.1
|
||||
"
|
||||
|
||||
post_extract() {
|
||||
patch -d "../lolibc-${_lolibc_commit}" -Np0 -i "${FILESDIR}/cdefs.patch"
|
||||
rmdir subprojects/lolibc
|
||||
ln -s "../../lolibc-${_lolibc_commit}" subprojects/lolibc
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LEGAL
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue