Fwd: git: 688bd028652d - main - emulators/qemu-user-static: Fix build on recent FreeBSD

From: Colin Percival <cperciva_at_freebsd.org>
Date: Fri, 07 Jan 2022 04:37:26 UTC
I'm not sure if the emulators/qemu-user-static-devel port needs a similar
update or if Warner's fix was just for qemu-user-static, so I figured I
should just update the one I was sure about.

-------- Forwarded Message --------
Subject: git: 688bd028652d - main - emulators/qemu-user-static: Fix build on 
recent FreeBSD
Date: Fri, 7 Jan 2022 04:32:51 GMT
From: Colin Percival <cperciva@FreeBSD.org>
To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, 
dev-commits-ports-main@FreeBSD.org

The branch main has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/ports/commit/?id=688bd028652dc3c6bfe606fd690359060bbd949d

commit 688bd028652dc3c6bfe606fd690359060bbd949d
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2022-01-07 04:27:11 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2022-01-07 04:32:45 +0000

     emulators/qemu-user-static: Fix build on recent FreeBSD
         The swapoff(2) syscall recently changed from taking a single
     argument to taking two (adding a field used for a "force" flag);
     this broke qemu-user, since it translates system calls from
     guest to host architecture.
         Thanks to:      imp
     With hat:       re@
     Sponsored by:   https://www.patreon.com/cperciva
---
  emulators/qemu-user-static/Makefile | 4 ++--
  emulators/qemu-user-static/distinfo | 6 +++---
  2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/emulators/qemu-user-static/Makefile 
b/emulators/qemu-user-static/Makefile
index bbaa9372d044..971a7dc861c1 100644
--- a/emulators/qemu-user-static/Makefile
+++ b/emulators/qemu-user-static/Makefile
@@ -1,6 +1,6 @@
  PORTNAME=	qemu
  PORTVERSION=	3.1.0
-PORTREVISION=	12
+PORTREVISION=	13
  CATEGORIES=	emulators
  PKGNAMESUFFIX=	-user-static
  DIST_SUBDIR=	qemu/${PORTVERSION}
@@ -16,7 +16,7 @@ CONFLICTS_INSTALL=	qemu-user-static-devel
   USES=		bison compiler:c11 cpe gmake perl5 pkgconfig python:build
  USE_GITHUB=	yes
-GH_TUPLE=	qemu-bsd-user:qemu-bsd-user:6ffee39fe2e4	\
+GH_TUPLE=	qemu-bsd-user:qemu-bsd-user:8da6544c36c5	\
  		qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb
  HAS_CONFIGURE=	yes
  USE_PERL5=	build
diff --git a/emulators/qemu-user-static/distinfo 
b/emulators/qemu-user-static/distinfo
index cc50fc1d6398..71955d8fa722 100644
--- a/emulators/qemu-user-static/distinfo
+++ b/emulators/qemu-user-static/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1620780144
-SHA256 (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-6ffee39fe2e4_GH0.tar.gz) 
= 8fa9f6b6641e8e9b926c1078f8e7e3442eea4f9600d65f803dfe4ed891dab4ec
-SIZE (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-6ffee39fe2e4_GH0.tar.gz) = 
16907391
+TIMESTAMP = 1641529130
+SHA256 (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-8da6544c36c5_GH0.tar.gz) 
= 49de25ceb210c544f6c5a6ca62f0e572ed6f97a7c7461bb4a82022a10cafc2de
+SIZE (qemu/3.1.0/qemu-bsd-user-qemu-bsd-user-3.1.0-8da6544c36c5_GH0.tar.gz) = 
16906324
  SHA256 (qemu/3.1.0/qemu-keycodemapdb-10739aa_GH0.tar.gz) = 
ae43fb1e2b07b78be88a7882306b6e71383eb77472a35d7d78fed21e345d134a
  SIZE (qemu/3.1.0/qemu-keycodemapdb-10739aa_GH0.tar.gz) = 47895