diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-09-06 10:26:44 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-09-06 10:26:44 +0200 |
commit | 922340e94d6d06b22ec06d318dcadcd8f9523bbe (patch) | |
tree | 513971c6130c9e3e7c2a4395a3a742cd427ebc53 /xchat-wdk.patch | |
parent | 2c758b2cfd324954ccec5c61f531b34294bcda94 (diff) |
fix perl plugin breakage
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r-- | xchat-wdk.patch | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch index 17f30238..b51b30d1 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -1,6 +1,6 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/perl/perl.c xchat-wdk/plugins/perl/perl.c --- xchat-wdk.orig/plugins/perl/perl.c 2010-08-26 04:18:04 +0200 -+++ xchat-wdk/plugins/perl/perl.c 2010-08-26 16:59:41 +0200 ++++ xchat-wdk/plugins/perl/perl.c 2010-09-06 10:25:57 +0200 @@ -22,12 +22,15 @@ #include <sys/types.h> #include <sys/stat.h> @@ -39,24 +39,6 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/perl/perl.c xchat-wdk/plugi "Make sure perl's bin directory is in your PATH."); } } -@@ -1461,7 +1468,7 @@ - { - *name = "Perl"; - *desc = "Perl scripting interface"; -- *version = PACKAGE_VERSION; -+ *version = strcat (PACKAGE_VERSION, "/"PERL_REQUIRED_VERSION); - if (reserved) - *reserved = NULL; - } -@@ -1487,7 +1494,7 @@ - - *plugin_name = "Perl"; - *plugin_desc = "Perl scripting interface"; -- *plugin_version = PACKAGE_VERSION; -+ *plugin_version = strcat (PACKAGE_VERSION, "/"PERL_REQUIRED_VERSION); - - xchat_hook_command (ph, "load", XCHAT_PRI_NORM, perl_command_load, 0, 0); - xchat_hook_command (ph, "unload", XCHAT_PRI_NORM, perl_command_unload, 0, diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/python/python.c xchat-wdk/plugins/python/python.c --- xchat-wdk.orig/plugins/python/python.c 2010-05-16 06:31:54 +0200 +++ xchat-wdk/plugins/python/python.c 2010-08-26 15:53:53 +0200 |