summaryrefslogtreecommitdiff
path: root/dev-tools/reformat-patches
diff options
context:
space:
mode:
authorBernhard Schmidt <berni@debian.org>2020-09-01 16:52:17 +0200
committerBernhard Schmidt <berni@debian.org>2020-09-01 16:52:17 +0200
commit9fc3b98112217f2d92a67977dbde0987cc7a1803 (patch)
tree29fcc8654ee65d9dd89ade797bea2f3d9dfd9cfd /dev-tools/reformat-patches
parenta8758c0e03eed188dcb9da0e4fd781a67c25bf1e (diff)
parent69b02b1f7fd609d84ace13ab04697158de2418a9 (diff)
Merge branch 'debian/experimental-2.5'
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