xbindkeys: patch for guile3.

This commit is contained in:
Leah Neukirchen 2024-07-30 20:57:33 +02:00
parent 49eff6dd88
commit 7b34100052
2 changed files with 5 additions and 16 deletions

View File

@ -1,15 +0,0 @@
diff --git Makefile.in Makefile.in
index 7bb5cba..e557452 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -205,8 +205,8 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
@GUILE_FALSE@AM_CFLAGS = @CFLAGS@ @X_CFLAGS@ @FORK_FLAG@ @GUILE_FLAG@ -I. -Wall
@GUILE_TRUE@AM_CFLAGS = @CFLAGS@ @X_CFLAGS@ @FORK_FLAG@ @GUILE_FLAG@ @GUILE_CFLAGS@ -I. -Wall
-@GUILE_FALSE@xbindkeys_LDADD = @X_LIBS@
-@GUILE_TRUE@xbindkeys_LDADD = @X_LIBS@ @GUILE_LDFLAGS@
+@GUILE_FALSE@xbindkeys_LDADD = @X_LIBS@ -lguile-2.2 -lgc
+@GUILE_TRUE@xbindkeys_LDADD = @X_LIBS@ -lguile-2.2 -lgc
xbindkeys_SOURCES = xbindkeys.c xbindkeys.h \
keys.h keys.c \
options.c options.h \

View File

@ -1,7 +1,7 @@
# Template file for 'xbindkeys'
pkgname=xbindkeys
version=1.8.7
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libX11-devel guile-devel guile gc-devel"
@ -12,3 +12,7 @@ license="GPL-2.0-or-later"
homepage="http://www.nongnu.org/xbindkeys/xbindkeys.html"
distfiles="http://www.nongnu.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=a29b86a8ec91d4abc83b420e547da27470847d0efe808aa6e75147aa0adb82f2
pre_configure() {
vsed -i -e 's/_guile_versions_to_search="/& 3.0 /' configure
}