summaryrefslogtreecommitdiff
path: root/dev-tools/reformat-patches
diff options
context:
space:
mode:
authorBernhard Schmidt <berni@debian.org>2020-08-15 21:29:50 +0200
committerBernhard Schmidt <berni@debian.org>2020-08-15 21:29:50 +0200
commit1079962e4c06f88a54e50d997c1b7e84303d30b4 (patch)
tree4d019426928435425214ccedd6f89b70dbdf035d /dev-tools/reformat-patches
parent620785fe268a1221c1ba7a9cb5a70f3140a4f1ca (diff)
New upstream version 2.5~beta1upstream/2.5_beta1
Diffstat (limited to 'dev-tools/reformat-patches')
-rw-r--r--dev-tools/reformat-patches/after_include_openvpn-plugin.h.in.patch13
-rw-r--r--dev-tools/reformat-patches/before_include_openvpn-plugin.h.in.patch13
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-tools/reformat-patches/after_include_openvpn-plugin.h.in.patch b/dev-tools/reformat-patches/after_include_openvpn-plugin.h.in.patch
new file mode 100644
index 0000000..100da07
--- /dev/null
+++ b/dev-tools/reformat-patches/after_include_openvpn-plugin.h.in.patch
@@ -0,0 +1,13 @@
+diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in
+index 05bffab..05b4b6a 100644
+--- a/include/openvpn-plugin.h.in
++++ b/include/openvpn-plugin.h.in
+@@ -169,7 +169,7 @@ typedef void *openvpn_plugin_handle_t;
+ /*
+ * We are compiling OpenVPN.
+ */
+-/* #define OPENVPN_PLUGIN_DEF typedef */
++#define OPENVPN_PLUGIN_DEF typedef
+ #define OPENVPN_PLUGIN_FUNC(name) (*name)
+
+ #else /* ifdef OPENVPN_PLUGIN_H */
diff --git a/dev-tools/reformat-patches/before_include_openvpn-plugin.h.in.patch b/dev-tools/reformat-patches/before_include_openvpn-plugin.h.in.patch
new file mode 100644
index 0000000..679c414
--- /dev/null
+++ b/dev-tools/reformat-patches/before_include_openvpn-plugin.h.in.patch
@@ -0,0 +1,13 @@
+diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in
+index 34ad18b..f4c5472 100644
+--- a/include/openvpn-plugin.h.in
++++ b/include/openvpn-plugin.h.in
+@@ -169,7 +169,7 @@ typedef void *openvpn_plugin_handle_t;
+ /*
+ * We are compiling OpenVPN.
+ */
+-#define OPENVPN_PLUGIN_DEF typedef
++// #define OPENVPN_PLUGIN_DEF typedef
+ #define OPENVPN_PLUGIN_FUNC(name) (*name)
+
+ #else