Skip to content
Snippets Groups Projects
Commit f44c689f authored by Willow's avatar Willow Committed by Patrycja Rosa
Browse files

community/wob: patch armv7 problem

This has been upstream:

https://github.com/francma/wob/pull/134
parent e49cc77c
No related branches found
No related tags found
1 merge request!53724community/wob: patch armv7 problem
Pipeline #188331 skipped
From 41aafe28d7843f482a7cbfc400415592e9cb4d97 Mon Sep 17 00:00:00 2001
From: Willow Barraco <contact@willowbarraco.fr>
Date: Sun, 15 Oct 2023 15:00:28 +0200
Subject: [PATCH] Fix pledge problem on armv7
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
---
src/pledge_seccomp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pledge_seccomp.c b/src/pledge_seccomp.c
index 995e7f4..7a2f5ce 100644
--- a/src/pledge_seccomp.c
+++ b/src/pledge_seccomp.c
@@ -22,6 +22,7 @@ wob_pledge(void)
SCMP_SYS(exit),
SCMP_SYS(exit_group),
SCMP_SYS(fcntl),
+ SCMP_SYS(fcntl64),
SCMP_SYS(gettimeofday),
SCMP_SYS(_llseek),
SCMP_SYS(lseek),
--
2.42.0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Galen Abell <galen@galenabell.com> # Maintainer: Galen Abell <galen@galenabell.com>
pkgname=wob pkgname=wob
pkgver=0.15.1 pkgver=0.15.1
pkgrel=0 pkgrel=1
pkgdesc="Lightweight overlay volume/backlight/progress/anything bar for Wayland" pkgdesc="Lightweight overlay volume/backlight/progress/anything bar for Wayland"
url="https://github.com/francma/wob" url="https://github.com/francma/wob"
arch="all" arch="all"
...@@ -10,7 +10,10 @@ license="ISC" ...@@ -10,7 +10,10 @@ license="ISC"
makedepends="meson git inih-dev libseccomp-dev wayland-protocols wayland-dev scdoc" makedepends="meson git inih-dev libseccomp-dev wayland-protocols wayland-dev scdoc"
checkdepends="cmocka-dev" checkdepends="cmocka-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://github.com/francma/wob/archive/$pkgver/wob-$pkgver.tar.gz" source="
https://github.com/francma/wob/archive/$pkgver/wob-$pkgver.tar.gz
0001-Fix-pledge-problem-on-armv7.patch
"
build() { build() {
abuild-meson . output abuild-meson . output
...@@ -27,4 +30,5 @@ package() { ...@@ -27,4 +30,5 @@ package() {
sha512sums=" sha512sums="
82cff4cb843ed2be7d47e6bc3d56b49242ddf76cd1c37aaba35d43ac22912b094bb213d7dc4ac49ef3862597b2f9ec3f07772c0d348c4e7f0afc961633aad2bb wob-0.15.1.tar.gz 82cff4cb843ed2be7d47e6bc3d56b49242ddf76cd1c37aaba35d43ac22912b094bb213d7dc4ac49ef3862597b2f9ec3f07772c0d348c4e7f0afc961633aad2bb wob-0.15.1.tar.gz
7a21f9526aa0bc00c092493fb2b8af09b9e0004ad8476be902821c134b7bee5e921e141cd4e11da78c321275a206c86d2a106f659fabecabfb7449e58bbfbaef 0001-Fix-pledge-problem-on-armv7.patch
" "
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