summaryrefslogtreecommitdiff
path: root/network/irssi_otr/irssi_abi_check.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-07-27 02:43:33 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commita1e310615835f1972488f442d068b76df04c3e47 (patch)
treee7721e72a7afd474e930510c6452fd32f6ec71e1 /network/irssi_otr/irssi_abi_check.diff
parent808480393e804d6ffcb304e70b1a30691d6e2d7b (diff)
downloadslackbuilds-a1e310615835f1972488f442d068b76df04c3e47.tar.gz
network/irssi_otr: Updated for version 1.0.1.
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 0000000000..cb5f990ff7
--- /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