Skip to content
Snippets Groups Projects
Commit 399fed27 authored by Timo Teräs's avatar Timo Teräs
Browse files

community/xfwm4: fix xi2 mask length

This fixes breakage uncovered by musl 1.1.20 upgrade.
parent df0474aa
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfwm4
pkgver=4.13.1
pkgrel=1
pkgrel=2
pkgdesc="Xfce window manager, compatible with Gnome, Gnome2, KDE2, and KDE3"
url="https://xfce.org/"
arch="all"
......@@ -13,7 +13,9 @@ makedepends="libxfce4ui-dev libwnck3-dev libxrandr-dev libxcomposite-dev
libxfixes-dev libxdamage-dev libxrender-dev libepoxy-dev dbus-glib-dev
libxpresent-dev"
install=
source="http://archive.xfce.org/src/xfce/xfwm4/${pkgver%.*}/xfwm4-$pkgver.tar.bz2"
source="http://archive.xfce.org/src/xfce/xfwm4/${pkgver%.*}/xfwm4-$pkgver.tar.bz2
fix-mask-length.patch
"
build () {
cd "$builddir"
......@@ -41,4 +43,5 @@ package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="2ac5acdefff3a89b8525719b345dfeb2dc71104b4da341afe99d7c57c049753c4cdb81a512d1f344e5fb463c7143673e83316b63888777bdcf254c4a07ca8320 xfwm4-4.13.1.tar.bz2"
sha512sums="2ac5acdefff3a89b8525719b345dfeb2dc71104b4da341afe99d7c57c049753c4cdb81a512d1f344e5fb463c7143673e83316b63888777bdcf254c4a07ca8320 xfwm4-4.13.1.tar.bz2
88733a4d69b58b0c98f2f46694ccc8bda4e5bc1b565d952123cee466b3f89f95d72fc28c8e9c173dcc0aee606c9f4b085d891004d769b74ad0c7084d8dec00a9 fix-mask-length.patch"
diff -ru xfwm4-4.13.1.orig/src/device.c xfwm4-4.13.1/src/device.c
--- xfwm4-4.13.1.orig/src/device.c 2018-07-29 16:08:54.000000000 +0300
+++ xfwm4-4.13.1/src/device.c 2018-09-12 08:49:18.130254993 +0300
@@ -301,7 +301,7 @@
guint i;
xievent_mask->deviceid = XIAllMasterDevices;
- xievent_mask->mask_len = sizeof (mask);
+ xievent_mask->mask_len = len;
xievent_mask->mask = mask;
for (i = 0; i < G_N_ELEMENTS (core_to_xi2); i++)
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