aboutsummaryrefslogtreecommitdiff
path: root/network/irssi_otr/irssi_abi_check.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/irssi_otr/irssi_abi_check.diff')
-rw-r--r--network/irssi_otr/irssi_abi_check.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/network/irssi_otr/irssi_abi_check.diff b/network/irssi_otr/irssi_abi_check.diff
new file mode 100644
index 000000000000..cb5f990ff71f
--- /dev/null
+++ b/network/irssi_otr/irssi_abi_check.diff
@@ -0,0 +1,14 @@
+diff -Naur irssi-otr-1.0.1.orig/src/module.c irssi-otr-1.0.1/src/module.c
+--- irssi-otr-1.0.1.orig/src/module.c 2015-01-03 11:57:09.000000000 -0500
++++ irssi-otr-1.0.1/src/module.c 2016-07-27 02:34:27.505864619 -0400
+@@ -371,3 +371,10 @@
+
+ theme_unregister();
+ }
++
++#ifdef IRSSI_ABI_VERSION
++void otr_abicheck(int *version)
++{
++ *version = IRSSI_ABI_VERSION;
++}
++#endif