summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-21 23:45:47 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-22 00:54:00 +0100
commit5c573a6e251628f75892e0363b0b2f9ec14f49d2 (patch)
tree2947f631c034e6297c8d4687b1afaaccd6c27bea
parentsci-mathematics/stp: update PYTHON_COMPAT; add help2man to BDEPEND (diff)
downloadgentoo-5c573a6e251628f75892e0363b0b2f9ec14f49d2.tar.gz
gentoo-5c573a6e251628f75892e0363b0b2f9ec14f49d2.tar.bz2
gentoo-5c573a6e251628f75892e0363b0b2f9ec14f49d2.zip
dev-scheme/guile-ssh: fix build on musl
Closes: https://bugs.gentoo.org/877721 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--dev-scheme/guile-ssh/files/guile-ssh-0.16.0-musl.patch12
-rw-r--r--dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild8
-rw-r--r--dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild5
-rw-r--r--dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild5
4 files changed, 26 insertions, 4 deletions
diff --git a/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-musl.patch b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-musl.patch
new file mode 100644
index 000000000000..3f8c7d2eee42
--- /dev/null
+++ b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-musl.patch
@@ -0,0 +1,12 @@
+diff --git a/libguile-ssh/log.c b/libguile-ssh/log.c_
+index e0c7ac9..820871c 100644
+--- a/libguile-ssh/log.c
++++ b/libguile-ssh/log.c_
+@@ -29,7 +29,6 @@
+ #include <stdio.h> /* DEBUG */
+ #include <unistd.h> /* DEBUG */
+
+-#include <execinfo.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+
diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild
index fe67b2f16774..009a47427955 100644
--- a/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild
+++ b/dev-scheme/guile-ssh/guile-ssh-0.16.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,6 +14,7 @@ SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+RESTRICT="strip"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
@@ -22,7 +23,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.16.0-musl.patch
+ "${FILESDIR}"/${P}-tests.patch
+)
# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild
index 3852b3ec27fc..009a47427955 100644
--- a/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild
+++ b/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild
@@ -23,7 +23,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.16.0-musl.patch
+ "${FILESDIR}"/${P}-tests.patch
+)
# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild
index 2ca0c04b0260..08853faeea69 100644
--- a/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild
+++ b/dev-scheme/guile-ssh/guile-ssh-0.16.3.ebuild
@@ -23,7 +23,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-PATCHES=( "${FILESDIR}"/${PN}-0.16.2-tests.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.16.0-musl.patch
+ "${FILESDIR}"/${PN}-0.16.2-tests.patch
+)
# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600