diff --git a/srcpkgs/httpdirfs/patches/musl.patch b/srcpkgs/httpdirfs/patches/musl.patch index a2a95b3d8f9af7..8492d68a802875 100644 --- a/srcpkgs/httpdirfs/patches/musl.patch +++ b/srcpkgs/httpdirfs/patches/musl.patch @@ -10,11 +10,14 @@ #include #include #include -@@ -79,12 +81,15 @@ +@@ -76,15 +78,18 @@ void PTHREAD_MUTEX_LOCK(pthread_mutex_t *x) + + void exit_failure(void) + { ++#ifdef __GLIBC__ int nptrs; void *buffer[BT_BUF_SIZE]; -+#ifdef __GLIBC__ nptrs = backtrace(buffer, BT_BUF_SIZE); +#endif fprintf(stderr, "\nOops! HTTPDirFS crashed! :(\n"); @@ -26,3 +29,4 @@ +#endif exit(EXIT_FAILURE); } + diff --git a/srcpkgs/httpdirfs/template b/srcpkgs/httpdirfs/template index 829b4b63c67ded..22aae115857eee 100644 --- a/srcpkgs/httpdirfs/template +++ b/srcpkgs/httpdirfs/template @@ -1,22 +1,15 @@ # Template file for 'httpdirfs' pkgname=httpdirfs -version=1.2.5 -revision=2 -build_style=gnu-makefile -make_use_env=yes -hostmakedepends="pkg-config help2man" -makedepends="libcurl-devel fuse-devel gumbo-parser-devel - libuuid-devel expat-devel" +version=1.2.7 +revision=1 +build_style=meson +hostmakedepends="pkg-config help2man ninja" +makedepends="libcurl-devel fuse3-devel gumbo-parser-devel + libuuid-devel expat-devel util-linux-libs openssl-devel" short_desc="Mount HTTP directory listings, with a permanent cache" maintainer="Orphaned " license="GPL-3.0-only" homepage="https://github.com/fangfufu/httpdirfs" changelog="https://raw.githubusercontent.com/fangfufu/httpdirfs/master/CHANGELOG.md" distfiles="https://github.com/fangfufu/httpdirfs/archive/refs/tags/${version}.tar.gz" -checksum=d0a85600c3813064ba3cad9491b66fcf458151a49d3926818f5458ab6f615038 - -CFLAGS="-D_FILE_OFFSET_BITS=64" - -post_build() { - make man -} +checksum=c7de6851aaef3132971b9add4a1ed235777db0316f48414ff9d93a316055e9f3