plan9port: update to 20200927.

This commit is contained in:
Leah Neukirchen 2020-11-18 13:48:26 +01:00
parent 720ec899c0
commit efc4ca5672
2 changed files with 4 additions and 26 deletions

View file

@ -1,22 +0,0 @@
diff --git src/lib9/dirread.c src/lib9/dirread.c
index 40fbe3c7..9e77eac8 100644
--- src/lib9/dirread.c
+++ src/lib9/dirread.c
@@ -10,6 +10,7 @@ extern int _p9dir(struct stat*, struct stat*, char*, Dir*, char**, char*);
static int
mygetdents(int fd, struct dirent *buf, int n)
{
+#if defined(__GLIBC__)
off_t off;
int nn;
@@ -17,6 +18,9 @@ mygetdents(int fd, struct dirent *buf, int n)
off = p9seek(fd, 0, 1);
nn = getdirentries(fd, (void*)buf, n, &off);
return nn;
+#else
+ return getdents(fd, (void*)buf, n);
+#endif
}
#elif defined(__APPLE__)
static int

View file

@ -1,8 +1,8 @@
# Template file for 'plan9port'
pkgname=plan9port
version=20200222
revision=3
_githash=92aa0e13ad8cec37936998a66eb728bfca88d689
version=20200927
revision=1
_githash=291f7411783bf6871b253f3b15ce691eea7a257e
archs="i686* x86_64* ppc*"
wrksrc="${pkgname}-${_githash}"
hostmakedepends="perl which"
@ -12,7 +12,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LPL-1.02"
homepage="https://9fans.github.io/plan9port/"
distfiles="https://github.com/9fans/plan9port/archive/${_githash}.tar.gz"
checksum=606840c59de9a3a6c447f381df21eeba57d3a6c9799af83877d43541a372497c
checksum=4db90ed7859066d26a424ebde38b318bb6030ad9209cdbfb4f5fb32fb486a659
nocross=yes
if [[ $XBPS_TARGET_MACHINE == *-musl ]]; then