Skip to content
Snippets Groups Projects
Verified Commit 9c906ae5 authored by Patrycja Rosa's avatar Patrycja Rosa :cat:
Browse files

community/onboard: fix build with python 3.12

parent 1dc17a9f
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,9 @@ makedepends="python3-dev py3-setuptools py3-distutils-extra
bash bash-dev gtk+3.0-dev libxkbfile-dev dconf-dev
libcanberra-dev hunspell-dev eudev-dev"
source="https://launchpad.net/onboard/${pkgver%.*}/$pkgver/+download/onboard-$pkgver.tar.gz
glibc-musl-error.patch"
glibc-musl-error.patch
no-werror.patch
"
options="!check" # cannot open display
subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
......@@ -28,4 +30,5 @@ package() {
sha512sums="
ed75c1dce893e3420ecf532faffb15efc9fba56cf6622b03fe5e1cebb88d32304636b0268e4b8b75dc0eb6d7bfc8602c4a93a90bdeb8cd960d3447d16acc7463 onboard-1.4.1.tar.gz
23742c38f877fc31260d4d7d3ff38c8d72541a77e099183d6633de74bcb223bbd34cedd88016f043867b2571f1196b59a3378a94186b468dbaa7a5d00661065a glibc-musl-error.patch
b6613340246ac3821e38850d3dbf05cd85cb42f7253416e9e524573d4839b0dc249c49adff61e4b2129f6ed1a34ba075b2b9b6d4da3820abe5aa38bb154787af no-werror.patch
"
i have no idea what upstream meant by [adding those][1],
and i'm not sure if they did either;
anyway, upstream is gone for over 6 years,
build now fails with python 3.12 headers, so let's remove it altogether
[1]: https://bazaar.launchpad.net/~onboard/onboard/trunk/revision/1883
diff --git a/setup.py b/setup.py
index 27000f3..76abe04 100755
--- a/setup.py
+++ b/setup.py
@@ -230,5 +230,3 @@ class Extension_osk(Extension):
extra_compile_args = [
- "-Wsign-compare",
- "-Wdeclaration-after-statement",
- "-Werror=declaration-after-statement"],
+ "-Wsign-compare"],
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment