From efc4ca5672a21dea7f3d251a779184ef3ff14a71 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 18 Nov 2020 13:48:26 +0100 Subject: [PATCH] plan9port: update to 20200927. --- srcpkgs/plan9port/patches/musl_getdents.patch | 22 ------------------- srcpkgs/plan9port/template | 8 +++---- 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/plan9port/patches/musl_getdents.patch diff --git a/srcpkgs/plan9port/patches/musl_getdents.patch b/srcpkgs/plan9port/patches/musl_getdents.patch deleted file mode 100644 index 381631d6c5a..00000000000 --- a/srcpkgs/plan9port/patches/musl_getdents.patch +++ /dev/null @@ -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 diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template index 5b3e2789e95..99af118cbc9 100644 --- a/srcpkgs/plan9port/template +++ b/srcpkgs/plan9port/template @@ -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 " 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