Skip to content
Snippets Groups Projects
Commit ad2e13da authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by Michał Polański
Browse files

community/sway: fix segfault on start

The build of sway statically linked in libudev-zero, but it also links
against wlroots, which links dynamically against eudev-libs. As a
result, a call to udev_monitor_filter_update() in eudev-libs calls
while iterating a list into libudev-zero for udev_list_entry_get_next(),
which expects a different list format and results in iterating past the
end of the list.

This adds eudev-dev as an explicit dependency, to make sure that
libudev-zero doesn't get used in the build.
parent 595f1ffd
No related branches found
No related tags found
1 merge request!22056community/sway: fix segfault on start
Pipeline #83928 passed
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com> # Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sway pkgname=sway
pkgver=1.6 pkgver=1.6
pkgrel=0 pkgrel=1
pkgdesc="i3 compatible window manager for Wayland" pkgdesc="i3 compatible window manager for Wayland"
url="https://swaywm.org" url="https://swaywm.org"
arch="all" arch="all"
...@@ -25,10 +25,11 @@ makedepends="cairo-dev ...@@ -25,10 +25,11 @@ makedepends="cairo-dev
wayland-dev wayland-dev
wayland-protocols wayland-protocols
wlroots-dev wlroots-dev
eudev-dev
" "
subpackages=" subpackages="
$pkgname-doc
$pkgname-dbg $pkgname-dbg
$pkgname-doc
$pkgname-bash-completion $pkgname-bash-completion
$pkgname-zsh-completion $pkgname-zsh-completion
$pkgname-fish-completion $pkgname-fish-completion
......
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