Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
9c906ae5
Verified
Commit
9c906ae5
authored
11 months ago
by
Patrycja Rosa
Browse files
Options
Downloads
Patches
Plain Diff
community/onboard: fix build with python 3.12
parent
1dc17a9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/onboard/APKBUILD
+4
-1
4 additions, 1 deletion
community/onboard/APKBUILD
community/onboard/no-werror.patch
+19
-0
19 additions, 0 deletions
community/onboard/no-werror.patch
with
23 additions
and
1 deletion
community/onboard/APKBUILD
+
4
−
1
View file @
9c906ae5
...
...
@@ -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
"
This diff is collapsed.
Click to expand it.
community/onboard/no-werror.patch
0 → 100644
+
19
−
0
View file @
9c906ae5
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"],
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment