wbg: update to 1.2.0

This commit is contained in:
Marcin Puc 2024-04-30 00:42:06 +02:00 committed by cinerea0
parent c6be82b453
commit 9d25146c15
2 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,20 @@
From dd36cce8c47bb0e17a789cf2bd95a51e29b59e78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= <daniel@ekloef.se>
Date: Tue, 30 Apr 2024 08:47:19 +0200
Subject: [PATCH] shm: MFD_NOEXEC_SEAL is not defined by musl libc
---
diff --git a/shm.c b/shm.c
index bd4ce26..c0fe0bc 100644
--- a/shm.c
+++ b/shm.c
@@ -19,6 +19,10 @@
#define MAP_UNINITIALIZED 0
#endif
+#if !defined(MFD_NOEXEC_SEAL)
+ #define MFD_NOEXEC_SEAL 0
+#endif
+
static void
buffer_destroy(struct buffer *buf)
{

View file

@ -1,6 +1,6 @@
# Template file for 'wbg'
pkgname=wbg
version=1.1.0
version=1.2.0
revision=1
build_style=meson
hostmakedepends="pkg-config wayland-devel"
@ -12,7 +12,7 @@ license="MIT"
homepage="https://codeberg.org/dnkl/wbg"
changelog="https://codeberg.org/dnkl/wbg/raw/branch/master/CHANGELOG.md"
distfiles="https://codeberg.org/dnkl/wbg/archive/${version}.tar.gz"
checksum=3f7844914c8a53fababa5df3575a9adb06026932bdd359664077ffdf19aae917
checksum=f9d051882f089621da6fbb2074a587456941c9f723151fe4fefd67d19a306d76
post_install() {
vlicense LICENSE