commit:     6eb1cccd1b7165e4708372833e0779a3d2ad795f
Author:     Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Tue Oct 17 05:50:56 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 06:37:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eb1cccd

x11-wm/fvwm3: add 1.0.8

- add python 3.12

Closes: https://bugs.gentoo.org/915473
Bug: https://bugs.gentoo.org/901275
Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-wm/fvwm3/Manifest                                  |  1 +
 .../fvwm3-1.0.8-implicit-function-decl-configure.patch | 18 ++++++++++++++++++
 x11-wm/fvwm3/{fvwm3-9999.ebuild => fvwm3-1.0.8.ebuild} |  6 +++++-
 x11-wm/fvwm3/fvwm3-9999.ebuild                         |  2 +-
 4 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/x11-wm/fvwm3/Manifest b/x11-wm/fvwm3/Manifest
index a7170599e5f2..86b92f252746 100644
--- a/x11-wm/fvwm3/Manifest
+++ b/x11-wm/fvwm3/Manifest
@@ -1 +1,2 @@
 DIST fvwm3-1.0.7.tar.gz 4512128 BLAKE2B 
9e7363355f3d3221dc72175c6ff449a476a32020248dc580c4b73687759c49b255bab8b7e29440fa1473153459ef984369e88d331a0b55154114e3c901867003
 SHA512 
91973abb7b3f79cec4fba28d9aa071923aa975eae3f3e00257e8633e2d376732cd5db7e42a4330bc849f807fc149abfbeef6100fe2ca6c05c847b61ee48236ed
+DIST fvwm3-1.0.8.tar.gz 5644021 BLAKE2B 
c2a0a4953f556f86128452c8b42d8f86e2a02c9314cca17688987a51ed91bb3ecccf29e77f2b01c7ed444b54f45e402859ed1cce39714ad6d47860f639509b80
 SHA512 
fef69b6d97b3533e6722b48336aa8904b399c42437c4adcab756edf55cf839126002255dfa268bf7159d3bb9caf4d44c43a9217c9df5dc6224cef8461ecf2c34

diff --git 
a/x11-wm/fvwm3/files/fvwm3-1.0.8-implicit-function-decl-configure.patch 
b/x11-wm/fvwm3/files/fvwm3-1.0.8-implicit-function-decl-configure.patch
new file mode 100644
index 000000000000..374afddcd6e4
--- /dev/null
+++ b/x11-wm/fvwm3/files/fvwm3-1.0.8-implicit-function-decl-configure.patch
@@ -0,0 +1,18 @@
+https://github.com/fvwmorg/fvwm3/pull/914
+From: Matt Jolly <[email protected]>
+Date: Tue, 17 Oct 2023 16:01:33 +1000
+Subject: [PATCH] Fix implicit function declaration in configure
+
+Missing unistd.h include for `close` and `unlink`
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -996,6 +996,7 @@ AC_DEFUN([AM_SAFETY_CHECK_MKSTEMP],[
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ int main(void)
+ {
+   char template[128];
+-- 
+2.42.0

diff --git a/x11-wm/fvwm3/fvwm3-9999.ebuild b/x11-wm/fvwm3/fvwm3-1.0.8.ebuild
similarity index 97%
copy from x11-wm/fvwm3/fvwm3-9999.ebuild
copy to x11-wm/fvwm3/fvwm3-1.0.8.ebuild
index 897728504f51..3cbbc80a0860 100644
--- a/x11-wm/fvwm3/fvwm3-9999.ebuild
+++ b/x11-wm/fvwm3/fvwm3-1.0.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 GO_OPTIONAL=1
 inherit autotools desktop flag-o-matic go-module python-single-r1 
toolchain-funcs
 
@@ -92,6 +92,10 @@ RDEPEND="${PYTHON_DEPS}
 DEPEND="${COMMON_DEPEND}
        x11-base/xorg-proto"
 
+PATCHES=(
+       "${FILESDIR}/${P}-implicit-function-decl-configure.patch"
+)
+
 src_prepare() {
        default
        use go && ( sed -e 's/GOFLAGS=-ldflags="-s -w"/GOFLAGS=/' \

diff --git a/x11-wm/fvwm3/fvwm3-9999.ebuild b/x11-wm/fvwm3/fvwm3-9999.ebuild
index 897728504f51..8bc78a359bc5 100644
--- a/x11-wm/fvwm3/fvwm3-9999.ebuild
+++ b/x11-wm/fvwm3/fvwm3-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 GO_OPTIONAL=1
 inherit autotools desktop flag-o-matic go-module python-single-r1 
toolchain-funcs
 

Reply via email to