openbsd-ports/net/mlvpn/patches/patch-src_mlvpn_h
2022-03-11 19:45:43 +00:00

20 lines
462 B
Plaintext

From 58418fd847fe833d1e626d4b7d08f0e623756c5c Mon Sep 17 00:00:00 2001
From: Laurent Coustet <ed@zehome.com>
Date: Tue, 1 Sep 2020 18:48:19 +0200
Subject: [PATCH] Fix GCC 10 compilation issue
Index: src/mlvpn.h
--- src/mlvpn.h.orig
+++ src/mlvpn.h
@@ -130,7 +130,9 @@ enum chap_status {
MLVPN_LOSSY
};
-LIST_HEAD(rtunhead, mlvpn_tunnel_s) rtuns;
+LIST_HEAD(rtunhead, mlvpn_tunnel_s);
+
+extern struct rtunhead rtuns;
typedef struct mlvpn_tunnel_s
{