mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
emulators/qemu-user-static: fix build on main
Call __sys___readlinkat() rather than the now removed __readlinkeat(). Neither are public interfaces, but __sys___readlinkat is somewhat more so and is declared in libsys.h. Reported by: cperciva MFH: 2025Q1 Sponsored by: DARPA, AFRL
This commit is contained in:
parent
b2d39efa84
commit
4afa6308d1
2 changed files with 12 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= qemu
|
||||
PORTVERSION= 3.1.0
|
||||
PORTREVISION= 14
|
||||
PORTREVISION= 15
|
||||
CATEGORIES= emulators
|
||||
PKGNAMESUFFIX= -user-static
|
||||
DIST_SUBDIR= qemu/${PORTVERSION}
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- bsd-user/freebsd/os-stat.h.orig
|
||||
+++ bsd-user/freebsd/os-stat.h
|
||||
@@ -702,7 +702,7 @@
|
||||
return -TARGET_EFAULT;
|
||||
}
|
||||
|
||||
- ret = get_errno(__realpathat(arg1, p, b, arg4, arg5));
|
||||
+ ret = get_errno(__sys___realpathat(arg1, p, b, arg4, arg5));
|
||||
UNLOCK_PATH(p, arg2);
|
||||
unlock_user(b, arg3, ret);
|
||||
|
Loading…
Add table
Reference in a new issue