diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/getopt/Makefile | 1 | ||||
-rw-r--r-- | misc/ggml/Makefile | 2 | ||||
-rw-r--r-- | misc/rump/Makefile | 4 | ||||
-rw-r--r-- | misc/rump/files/patch-src_lib_librumpuser_sp__common.c | 43 | ||||
-rw-r--r-- | misc/rump/files/patch-src_sys_kern_kern__hook.c | 56 |
5 files changed, 104 insertions, 2 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile index c443c45207ca..a5fdc59d8af2 100644 --- a/misc/getopt/Makefile +++ b/misc/getopt/Makefile @@ -19,6 +19,7 @@ CONFIGURE_ARGS= --disable-asciidoc \ --disable-nls \ --disable-makeinstall-chown \ --disable-makeinstall-setuid \ + --disable-year2038 \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig GNU_CONFIGURE= yes diff --git a/misc/ggml/Makefile b/misc/ggml/Makefile index b332c2d881c5..db050b78c558 100644 --- a/misc/ggml/Makefile +++ b/misc/ggml/Makefile @@ -12,6 +12,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:testing compiler:c++17-lang python:run shebangfix USE_LDCONFIG= yes +BROKEN_i386= compilation fails: LLVM ERROR: out of memory + USE_GITHUB= yes GH_ACCOUNT= ggerganov GH_TAGNAME= 83835ff diff --git a/misc/rump/Makefile b/misc/rump/Makefile index a74a651c2bfa..fbd18a09c008 100644 --- a/misc/rump/Makefile +++ b/misc/rump/Makefile @@ -1,6 +1,6 @@ PORTNAME= rump PORTVERSION= 20170822 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc MAINTAINER= vanilla@FreeBSD.org @@ -23,7 +23,7 @@ USES= compiler .include <bsd.port.pre.mk> .if ${OPSYS} == FreeBSD -CFLAGS+= -Wno-error=strict-prototypes -Wno-error=array-parameter +CFLAGS+= -Wno-error=strict-prototypes -Wno-error=array-parameter -Wno-error=cast-function-type-mismatch .endif .if ${ARCH} == amd64 || ${ARCH} == i386 diff --git a/misc/rump/files/patch-src_lib_librumpuser_sp__common.c b/misc/rump/files/patch-src_lib_librumpuser_sp__common.c new file mode 100644 index 000000000000..2ba3cefa3eab --- /dev/null +++ b/misc/rump/files/patch-src_lib_librumpuser_sp__common.c @@ -0,0 +1,43 @@ +--- src/lib/librumpuser/sp_common.c.orig 2025-09-09 03:27:37 UTC ++++ src/lib/librumpuser/sp_common.c +@@ -701,15 +701,21 @@ static int + + /*ARGSUSED*/ + static int +-notsupp(void) ++addrparse_notsupp(const char *addr __unused, struct sockaddr **sa __unused, ++ int allow_wildcard __unused) + { + + fprintf(stderr, "rump_sp: support not yet implemented\n"); + return EOPNOTSUPP; + } + ++static void ++cleanup_success(struct sockaddr *sa __unused) ++{ ++} ++ + static int +-success(void) ++connecthook_success(int s __unused) + { + + return 0; +@@ -724,12 +730,12 @@ static struct { + cleanup_fn cleanup; + } parsetab[] = { + { "tcp", PF_INET, sizeof(struct sockaddr_in), +- tcp_parse, tcp_connecthook, (cleanup_fn)success }, ++ tcp_parse, tcp_connecthook, cleanup_success }, + { "unix", PF_LOCAL, sizeof(struct sockaddr_un), +- unix_parse, (connecthook_fn)success, unix_cleanup }, ++ unix_parse, connecthook_success, unix_cleanup }, + { "tcp6", PF_INET6, sizeof(struct sockaddr_in6), +- (addrparse_fn)notsupp, (connecthook_fn)success, +- (cleanup_fn)success }, ++ addrparse_notsupp, connecthook_success, ++ cleanup_success }, + }; + #define NPARSE (sizeof(parsetab)/sizeof(parsetab[0])) + diff --git a/misc/rump/files/patch-src_sys_kern_kern__hook.c b/misc/rump/files/patch-src_sys_kern_kern__hook.c new file mode 100644 index 000000000000..965b8a46b4a1 --- /dev/null +++ b/misc/rump/files/patch-src_sys_kern_kern__hook.c @@ -0,0 +1,56 @@ +--- src/sys/kern/kern_hook.c.orig 2025-09-09 03:38:01 UTC ++++ src/sys/kern/kern_hook.c +@@ -102,7 +102,7 @@ hook_proc_run(hook_list_t *list, struct proc *p) + struct hook_desc *hd; + + LIST_FOREACH(hd, list, hk_list) +- ((void (*)(struct proc *, void *))*hd->hk_fn)(p, hd->hk_arg); ++ ((void (*)(struct proc *, void *))(void *)*hd->hk_fn)(p, hd->hk_arg); + } + + /* +@@ -168,7 +168,7 @@ mountroothook_establish(void (*fn)(device_t), device_t + void * + mountroothook_establish(void (*fn)(device_t), device_t dev) + { +- return hook_establish(&mountroothook_list, (void (*)(void *))fn, dev); ++ return hook_establish(&mountroothook_list, (void (*)(void *))(void *)fn, dev); + } + + void +@@ -201,7 +201,7 @@ exechook_establish(void (*fn)(struct proc *, void *), + void * + exechook_establish(void (*fn)(struct proc *, void *), void *arg) + { +- return hook_establish(&exechook_list, (void (*)(void *))fn, arg); ++ return hook_establish(&exechook_list, (void (*)(void *))(void *)fn, arg); + } + + void +@@ -228,7 +228,7 @@ exithook_establish(void (*fn)(struct proc *, void *), + void *rv; + + rw_enter(&exec_lock, RW_WRITER); +- rv = hook_establish(&exithook_list, (void (*)(void *))fn, arg); ++ rv = hook_establish(&exithook_list, (void (*)(void *))(void *)fn, arg); + rw_exit(&exec_lock); + return rv; + } +@@ -256,7 +256,7 @@ forkhook_establish(void (*fn)(struct proc *, struct pr + void * + forkhook_establish(void (*fn)(struct proc *, struct proc *)) + { +- return hook_establish(&forkhook_list, (void (*)(void *))fn, NULL); ++ return hook_establish(&forkhook_list, (void (*)(void *))(void *)fn, NULL); + } + + void +@@ -274,7 +274,7 @@ doforkhooks(struct proc *p2, struct proc *p1) + struct hook_desc *hd; + + LIST_FOREACH(hd, &forkhook_list, hk_list) { +- ((void (*)(struct proc *, struct proc *))*hd->hk_fn) ++ ((void (*)(struct proc *, struct proc *))(void *)*hd->hk_fn) + (p2, p1); + } + } |