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
b55b91d8
Commit
b55b91d8
authored
3 years ago
by
Stacy Harper
Committed by
Michał Polański
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/swayidle: upgrade to 1.7.1
parent
b59f5965
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!29590
community/swayidle: upgrade to 1.7.1
Pipeline
#106689
passed
3 years ago
Stage: lint
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/swayidle/0001-Fix-printf-using-size_t-lineno-variable.patch
+26
-0
26 additions, 0 deletions
...ayidle/0001-Fix-printf-using-size_t-lineno-variable.patch
community/swayidle/APKBUILD
+6
-3
6 additions, 3 deletions
community/swayidle/APKBUILD
with
32 additions
and
3 deletions
community/swayidle/0001-Fix-printf-using-size_t-lineno-variable.patch
0 → 100644
+
26
−
0
View file @
b55b91d8
From b0dcc6f6cd404d28836a852e53872200929efb7d Mon Sep 17 00:00:00 2001
From: Stacy Harper <contact@stacyharper.net>
Date: Sat, 15 Jan 2022 17:39:47 +0100
Subject: [PATCH] Fix printf using size_t lineno variable
Signed-off-by: Stacy Harper <contact@stacyharper.net>
---
main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
index 9ea3f0b..b524e73 100644
--- a/main.c
+++ b/main.c
@@ -1004,7 +1004,7 @@
static int load_config(const char *config_path) {
parse_idlehint(p.we_wordc, p.we_wordv);
} else {
line[i] = 0;
- swayidle_log(LOG_ERROR, "Unexpected keyword \"%s\" in line %lu", line, lineno);
+ swayidle_log(LOG_ERROR, "Unexpected keyword \"%s\" in line %zu", line, lineno);
free(line);
return -EINVAL;
}
--
2.34.1
This diff is collapsed.
Click to expand it.
community/swayidle/APKBUILD
+
6
−
3
View file @
b55b91d8
...
...
@@ -2,7 +2,7 @@
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname
=
swayidle
pkgver
=
1.7
pkgver
=
1.7
.1
pkgrel
=
0
pkgdesc
=
"Idle management daemon for Wayland"
url
=
"https://swaywm.org"
...
...
@@ -22,7 +22,9 @@ subpackages="
$pkgname
-fish-completion
$pkgname
-zsh-completion
"
source
=
"https://github.com/swaywm/swayidle/archive/
$pkgver
/swayidle-
$pkgver
.tar.gz"
source
=
"https://github.com/swaywm/swayidle/archive/
$pkgver
/swayidle-
$pkgver
.tar.gz
0001-Fix-printf-using-size_t-lineno-variable.patch
"
build
()
{
abuild-meson
\
...
...
@@ -39,5 +41,6 @@ package() {
}
sha512sums
=
"
26a48c510caaadb1ad694426e82880ab1547b7b0ef8ac62a2c2ee41c7b8cc0554f4925b0abdc6dc37f2501a171c0b6ae53c56b045b5c545093f3b0463aefcf24 swayidle-1.7.tar.gz
6e0a6eb3b99a415414cac04299392ede9a8263fa5f4a75815742f5fcd4a5badb3021a7ff699a476c04ca2256b85f4149f8c8dda0484306636ffbaccff615d9da swayidle-1.7.1.tar.gz
768dae9b6bd72637fee0820919e88ff0d045a8175fb24fda61aca2778981c989c21a1d789ee1bdc16b1ed3ae3fee8032a800b67589098fa8bf95ae3468541c49 0001-Fix-printf-using-size_t-lineno-variable.patch
"
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