You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
searchfs: update to 0.4.0
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
|
||||
github.setup sveinbjornt searchfs 0.3.0
|
||||
github.setup sveinbjornt searchfs 0.4.0
|
||||
revision 0
|
||||
checksums rmd160 38aab99fa0e7fcf82fa8d2fc7753d58e05c97395 \
|
||||
sha256 b0073b865e66399fd1100efad8cb4f821db65ef5ae61d78ba7918c3c8b68fcb7 \
|
||||
size 56363
|
||||
checksums rmd160 a7cde71eca4536a0e8e4f06b108d5156a43d0310 \
|
||||
sha256 9bb00135181ba684c9548541aca912632dbf9533f1f9db7ca95595701930b2d9 \
|
||||
size 59748
|
||||
|
||||
categories sysutils
|
||||
platforms darwin
|
||||
platforms {darwin >= 20}
|
||||
maintainers {gmail.com:srirangav @srirangav}
|
||||
license BSD
|
||||
|
||||
@@ -25,11 +25,12 @@ variant universal {}
|
||||
|
||||
use_configure no
|
||||
|
||||
# this patch should be upstreamed
|
||||
patchfiles patch-searchfs-fsgetpath-availability.diff
|
||||
|
||||
build.args CC="${configure.cc} [get_canonical_archflags cc]"
|
||||
|
||||
test.run yes
|
||||
depends_test-append port:python313
|
||||
test.cmd python3.13 test.py
|
||||
|
||||
destroot {
|
||||
xinstall -m 0755 ${worksrcpath}/${name} \
|
||||
${destroot}${prefix}/bin/
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
--- main.m.orig 2019-09-28 16:15:32.000000000 -0700
|
||||
+++ main.m 2019-09-28 16:16:19.000000000 -0700
|
||||
@@ -43,7 +43,13 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/attr.h>
|
||||
#include <sys/vnode.h>
|
||||
+
|
||||
+#if defined(__has_include)
|
||||
+#if __has_include(<sys/fsgetpath.h>)
|
||||
#include <sys/fsgetpath.h>
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
#include <sys/mount.h>
|
||||
|
||||
struct packed_name_attr {
|
||||
--- main.m.orig 2019-09-28 16:23:18.000000000 -0700
|
||||
+++ main.m 2019-09-28 16:26:51.000000000 -0700
|
||||
@@ -471,6 +471,7 @@
|
||||
static ssize_t fsgetpath_compat(char *buf, size_t buflen, fsid_t *fsid, uint64_t obj_id) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wpartial-availability"
|
||||
+#pragma clang diagnostic ignored "-Wimplicit-function-declaration"
|
||||
if (fsgetpathAvailable) {
|
||||
ssize_t size = fsgetpath(buf, buflen, fsid, obj_id);
|
||||
if (size > -1) {
|
||||
Reference in New Issue
Block a user