summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-05-13 12:39:55 -0400
committerMike Gilbert <floppym@gentoo.org>2023-05-13 12:41:22 -0400
commit37bf0bcab2e03c52555f54c4a9faffc7fda19d03 (patch)
tree0349326f9424a3977130f8b640d5104c9c6c2963 /net-vpn/networkmanager-sstp
parentnet-libs/nodejs: fix c-ares dependency (diff)
downloadgentoo-37bf0bcab2e03c52555f54c4a9faffc7fda19d03.tar.gz
gentoo-37bf0bcab2e03c52555f54c4a9faffc7fda19d03.tar.bz2
gentoo-37bf0bcab2e03c52555f54c4a9faffc7fda19d03.zip
net-vpn/networkmanager-sstp: fix for ppp-2.4.9
Closes: https://bugs.gentoo.org/906254 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-vpn/networkmanager-sstp')
-rw-r--r--net-vpn/networkmanager-sstp/files/networkmanager-sstp-1.3.1-ppp-2.4.9.patch30
-rw-r--r--net-vpn/networkmanager-sstp/networkmanager-sstp-1.3.1-r2.ebuild (renamed from net-vpn/networkmanager-sstp/networkmanager-sstp-1.3.1-r1.ebuild)1
2 files changed, 31 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-sstp/files/networkmanager-sstp-1.3.1-ppp-2.4.9.patch b/net-vpn/networkmanager-sstp/files/networkmanager-sstp-1.3.1-ppp-2.4.9.patch
new file mode 100644
index 000000000000..a504b60ce008
--- /dev/null
+++ b/net-vpn/networkmanager-sstp/files/networkmanager-sstp-1.3.1-ppp-2.4.9.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/906254
+https://gitlab.gnome.org/GNOME/network-manager-sstp/-/merge_requests/54
+
+From f4feed7431b1cf884bd3c1c10df795efaf8d149d Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Sat, 13 May 2023 12:19:44 -0400
+Subject: [PATCH] Compile nm-sstp-pppd-mppe.c when !WITH_PPP_MPPE_KEYS
+
+Bug: https://bugs.gentoo.org/906254
+Fixes: 4cd0ec66174011925c93aa04edccca92b4d1387f
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 3be01b6..770fc59 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -120,7 +120,7 @@ src_nm_sstp_pppd_plugin_la_SOURCES = \
+ src/nm-sstp-pppd-status.h
+ if !WITH_PPP_MPPE_KEYS
+ src_nm_sstp_pppd_plugin_la_SOURCES += \
+- src/nm-sstp-pppd-mppe.h
++ src/nm-sstp-pppd-mppe.c
+ endif
+ src_nm_sstp_pppd_plugin_la_CPPFLAGS = \
+ $(src_cppflags)
+--
+GitLab
+
diff --git a/net-vpn/networkmanager-sstp/networkmanager-sstp-1.3.1-r1.ebuild b/net-vpn/networkmanager-sstp/networkmanager-sstp-1.3.1-r2.ebuild
index 378579b00d87..f6a37a57f8f8 100644
--- a/net-vpn/networkmanager-sstp/networkmanager-sstp-1.3.1-r1.ebuild
+++ b/net-vpn/networkmanager-sstp/networkmanager-sstp-1.3.1-r2.ebuild
@@ -54,6 +54,7 @@ BDEPEND="
PATCHES=(
"${WORKDIR}"/${P}-ppp-2.5.0-patches
+ "${FILESDIR}"/networkmanager-sstp-1.3.1-ppp-2.4.9.patch
)
src_prepare() {