diff options
author | Mike Gilbert <floppym@gentoo.org> | 2023-04-23 12:27:02 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2023-04-23 12:28:41 -0400 |
commit | 2a7e9cefaa79179e8953c4a826428d12ed638527 (patch) | |
tree | 7599e95818ac044db78c49556c873dc6f266b573 /net-misc | |
parent | sys-fs/lvm2: add 2.03.21 (diff) | |
download | gentoo-2a7e9cefaa79179e8953c4a826428d12ed638527.tar.gz gentoo-2a7e9cefaa79179e8953c4a826428d12ed638527.tar.bz2 gentoo-2a7e9cefaa79179e8953c4a826428d12ed638527.zip |
net-misc/sstp-client: fix build with <net-dialup/ppp-2.5.0
Closes: https://bugs.gentoo.org/904874
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/sstp-client/files/sstp-client-1.0.18-sstp-mppe.patch | 30 | ||||
-rw-r--r-- | net-misc/sstp-client/sstp-client-1.0.18-r2.ebuild | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/sstp-client/files/sstp-client-1.0.18-sstp-mppe.patch b/net-misc/sstp-client/files/sstp-client-1.0.18-sstp-mppe.patch new file mode 100644 index 000000000000..a9842f6f23dd --- /dev/null +++ b/net-misc/sstp-client/files/sstp-client-1.0.18-sstp-mppe.patch @@ -0,0 +1,30 @@ +https://bugs.gentoo.org/904874 +https://gitlab.com/sstp-project/sstp-client/-/merge_requests/11 + +From e902ce947eaccdbd0399c42371934e16d3737f35 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Sun, 23 Apr 2023 12:14:21 -0400 +Subject: [PATCH] Replace sstp-mppe.h with sstp-pppd-compat.h + +Fixes: 3f7835df9ac5e84729903ca536cf65e4a7b04c6c +Signed-off-by: Mike Gilbert <floppym@gentoo.org> +--- + src/pppd-plugin/sstp-mppe.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/pppd-plugin/sstp-mppe.c b/src/pppd-plugin/sstp-mppe.c +index 7c7c7c2..207e283 100644 +--- a/src/pppd-plugin/sstp-mppe.c ++++ b/src/pppd-plugin/sstp-mppe.c +@@ -27,7 +27,7 @@ + #include <string.h> + #include <stdarg.h> + #include <pppd/pppd.h> +-#include <sstp-mppe.h> ++#include <sstp-pppd-compat.h> + + #ifndef HAVE_MPPE_KEYS_FUNCTIONS + +-- +GitLab + diff --git a/net-misc/sstp-client/sstp-client-1.0.18-r2.ebuild b/net-misc/sstp-client/sstp-client-1.0.18-r2.ebuild index d3fbceca2f8f..3c2af86605a0 100644 --- a/net-misc/sstp-client/sstp-client-1.0.18-r2.ebuild +++ b/net-misc/sstp-client/sstp-client-1.0.18-r2.ebuild @@ -33,6 +33,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.0.18-includes.patch" "${WORKDIR}/${P}-ppp-2.5.0-patches" + "${FILESDIR}/sstp-client-1.0.18-sstp-mppe.patch" ) src_prepare() { |