From 3f8323cd1345662580b27dc67b477cb4ab31cfe9 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 23 Sep 2023 21:03:41 -0400 Subject: [PATCH] onboard: rebuild for Python 3.12 --- srcpkgs/onboard/patches/disable-gcc-warnings.patch | 14 ++++++++++++++ srcpkgs/onboard/template | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/onboard/patches/disable-gcc-warnings.patch diff --git a/srcpkgs/onboard/patches/disable-gcc-warnings.patch b/srcpkgs/onboard/patches/disable-gcc-warnings.patch new file mode 100644 index 00000000000..57bda368386 --- /dev/null +++ b/srcpkgs/onboard/patches/disable-gcc-warnings.patch @@ -0,0 +1,14 @@ +--- ./setup.py.orig 2023-09-29 13:54:18.617944942 -0400 ++++ ./setup.py 2023-09-29 13:54:29.783017589 -0400 +@@ -227,11 +227,6 @@ + sources = sources, + depends = depends, + define_macros = defines, +- extra_compile_args = [ +- "-Wsign-compare", +- "-Wdeclaration-after-statement", +- "-Werror=declaration-after-statement"], +- + **pkgconfig('gdk-3.0', 'x11', 'xi', 'xtst', 'xkbfile', + 'dconf', 'libcanberra', 'hunspell', + 'libudev') diff --git a/srcpkgs/onboard/template b/srcpkgs/onboard/template index 55aba665ed2..3243a078312 100644 --- a/srcpkgs/onboard/template +++ b/srcpkgs/onboard/template @@ -1,9 +1,9 @@ # Template file for 'onboard' pkgname=onboard version=1.4.1 -revision=11 +revision=12 build_style=python3-module -hostmakedepends="intltool pkg-config python3-distutils-extra" +hostmakedepends="intltool pkg-config python3-distutils-extra python3-setuptools" makedepends="dconf-devel eudev-libudev-devel gtk+3-devel hunspell-devel libcanberra-devel libX11-devel libXi-devel libXtst-devel libxkbfile-devel python3-devel"