Page MenuHomeFreeBSD

emulators/qemu-user-static: Fix build on main
ClosedPublic

Authored by des on Fri, Jul 10, 1:04 PM.
Tags
None
Referenced Files
F162427561: D58153.diff
Mon, Jul 13, 3:57 AM
Unknown Object (File)
Sun, Jul 12, 1:10 AM
Unknown Object (File)
Sun, Jul 12, 1:02 AM
Unknown Object (File)
Sun, Jul 12, 12:08 AM
Subscribers

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Fri, Jul 10, 1:04 PM
des created this revision.

(posted to the wrong review)

These are already in 3.1-rebase branch:

commit f7eaacf0bd63f1955a357e46e0b6e3de749da74c (HEAD, bsd-user/bsd-user-rebase-3.1, bsd-user/HEAD)
Author: Siva Mahadevan <me@svmhdvn.name>
Date:   Sat Apr 11 13:46:42 2026 -0400

    freebsd/os-ioctl-cmds.h: remove SIOCSVH

    Needed after https://cgit.freebsd.org/src/commit/?id=72472e52e310ec348949a3a67d3fa17e33fb8e50

commit c592ddd2058dbe9b84c36dbd1d25ec99a50f8ecf
Author: Meowthink <meowthink@googlemail.com>
Date:   Mon Feb 10 21:44:24 2025 +0800

    bsd-user: freebsd: fix getdents(2)

commit 1f063dd685091924407947e282f52d0dfedd93af
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date:   Thu Feb 20 22:07:42 2025 +0000

    fix realpathat on FreeBSD main

    Call __sys___realpathat() rather than the now removed __readlinkeat().
    Neither are public interfaces, but __sys___realpathat is somewhat more
    so.
diff --git a/emulators/qemu-user-static/Makefile b/emulators/qemu-user-static/Makefile
index 9521422f9f6b..8b51fb5cba46 100644
--- a/emulators/qemu-user-static/Makefile
+++ b/emulators/qemu-user-static/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=      qemu
 PORTVERSION=   3.1.0
-PORTREVISION=  15
+PORTREVISION=  16
 CATEGORIES=    emulators
 PKGNAMESUFFIX= -user-static
 DIST_SUBDIR=   qemu/${PORTVERSION}
@@ -17,7 +17,7 @@ CONFLICTS_INSTALL=    qemu-user-static-devel

 USES=          bison compiler:c11 cpe elfctl gmake perl5 pkgconfig python:build
 USE_GITHUB=    yes
-GH_TUPLE=      qemu-bsd-user:qemu-bsd-user:527096e0c8  \
+GH_TUPLE=      qemu-bsd-user:qemu-bsd-user:f7eaacf0bd \
                qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb
 HAS_CONFIGURE= yes
 USE_PERL5=     build

might do the trick as well.

get patches from upstream instead

This revision is now accepted and ready to land.Fri, Jul 10, 1:49 PM