File xchat-gnome-perl-plugin.patch of Package xchat-gnome

commit fa86953132e7b9500430bd125276e755d963db01
Author: Dominique Leuenberger <dimstar@opensuse.org>
Date:   Wed Apr 17 21:33:18 2013 +0200

    plugin/perl: add function prototypes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698232

Index: xchat-gnome-0.26.1/plugins/perl/perl.c
===================================================================
--- xchat-gnome-0.26.1.orig/plugins/perl/perl.c
+++ xchat-gnome-0.26.1/plugins/perl/perl.c
@@ -37,7 +37,9 @@
 static xchat_plugin *ph;		  /* plugin handle */
 
 static int perl_load_file (char *script_name);
-
+void xchat_plugin_get_info   (char **plugin_name, char **plugin_desc, char **plugin_version, void **reserved);
+int  xchat_plugin_init       (xchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg);
+int  xchat_plugin_deinit     (xchat_plugin * plugin_handle);
 #ifdef WIN32
 
 static DWORD
openSUSE Build Service is sponsored by