git: b1cdfe21d8df - main - graphics/fotoxx: update the port to version 22.31

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 05 Sep 2022 16:47:25 UTC
The branch main has been updated by danfe:

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

commit b1cdfe21d8df0710f678a17b7b28721c444aef3f
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-09-05 16:46:26 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-09-05 16:46:26 +0000

    graphics/fotoxx: update the port to version 22.31
    
    Reported by:    portscout
---
 graphics/fotoxx/Makefile              | 2 +-
 graphics/fotoxx/distinfo              | 6 +++---
 graphics/fotoxx/files/patch-zfuncs.cc | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/graphics/fotoxx/Makefile b/graphics/fotoxx/Makefile
index 3b6ab195f9f0..b455fd8c107c 100644
--- a/graphics/fotoxx/Makefile
+++ b/graphics/fotoxx/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fotoxx
-PORTVERSION=	22.30
+PORTVERSION=	22.31
 CATEGORIES=	graphics
 MASTER_SITES=	https://kornelix.net/downloads/downloads/
 
diff --git a/graphics/fotoxx/distinfo b/graphics/fotoxx/distinfo
index 68b32c0559ab..b1d3ad902d74 100644
--- a/graphics/fotoxx/distinfo
+++ b/graphics/fotoxx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659358768
-SHA256 (fotoxx-22.30.tar.gz) = 418e56bdb4fab90681495859a2c601ddf093a5b194f16e56fc697e256a722788
-SIZE (fotoxx-22.30.tar.gz) = 8692758
+TIMESTAMP = 1662025429
+SHA256 (fotoxx-22.31.tar.gz) = e378a495d346dfe764bb5c56325cec13ea4997b54b996ef13889f5735a60893f
+SIZE (fotoxx-22.31.tar.gz) = 8647063
diff --git a/graphics/fotoxx/files/patch-zfuncs.cc b/graphics/fotoxx/files/patch-zfuncs.cc
index 53a47b39738e..41359635fad6 100644
--- a/graphics/fotoxx/files/patch-zfuncs.cc
+++ b/graphics/fotoxx/files/patch-zfuncs.cc
@@ -120,7 +120,7 @@
 -   err = sched_setaffinity(0,sizeof(cpuset),&cpuset);
 +   err = cpuset_setaffinity(CPU_LEVEL_WHICH,CPU_WHICH_PID,0,
 +      sizeof(cpuset),&cpuset);
-    if (err) Plog(1,"set_cpu_affinity() %s \n",strerror(errno));
+    if (err) Plog(2,"set_cpu_affinity() %s \n",strerror(errno));
     return;
  }
 @@ -2234,7 +2275,7 @@ int diskspace(cchar *file)