package/sway: needs pcre2 instead of pcre

Buildroot commit 0645cb39e0 bumped the
package from 1.7 to 1.8.1.

Upstream included commit
f614f35e73
in version 1.8 to switch from pcre to pcre2 but the buildroot package
was not updated accordingly.

Pcre2 was already selected by pango -> libglib2 -> pcre2 so this bug was
never noticed.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-04-03 20:28:06 +02:00
committed by Julien Olivain
parent 5bd1973ef0
commit e8466476c4
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ config BR2_PACKAGE_SWAY
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
select BR2_PACKAGE_WLROOTS
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_PCRE
select BR2_PACKAGE_PCRE2
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_CAIRO_PNG
select BR2_PACKAGE_PANGO

View File

@@ -8,7 +8,7 @@ SWAY_VERSION = 1.11
SWAY_SITE = https://github.com/swaywm/sway/releases/download/$(SWAY_VERSION)
SWAY_LICENSE = MIT
SWAY_LICENSE_FILES = LICENSE
SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre cairo pango
SWAY_DEPENDENCIES = systemd host-pkgconf wlroots json-c pcre2 cairo pango
SWAY_CONF_OPTS = \
-Dwerror=false \
-Dzsh-completions=false \