slackbuilds_ponce/network/irssi_otr/irssi_abi_check.diff
2016-08-13 07:22:55 +07:00

14 lines
376 B
Diff

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