npth: update to 1.8.

This commit is contained in:
Leah Neukirchen 2024-11-13 13:01:21 +01:00
parent e390321ce9
commit 93b453a45c
1 changed files with 3 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'npth' # Template file for 'npth'
pkgname=npth pkgname=npth
version=1.7 version=1.8
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-install-npth-config" configure_args="--enable-install-npth-config"
short_desc="New portable threads library" short_desc="New portable threads library"
@ -9,12 +9,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git" homepage="http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
distfiles="https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2" distfiles="https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=8589f56937b75ce33b28d312fccbf302b3b71ec3f3945fde6aaa74027914ad05 checksum=8bd24b4f23a3065d6e5b26e98aba9ce783ea4fd781069c1b35d149694e90ca3e
post_configure() {
# don't depend on silly glibc internals
vsed -i -e 's/defined(__USE_UNIX98) || defined(__USE_XOPEN2K)/1/' src/npth.h
}
npth-devel_package() { npth-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"