fix perl plugin breakage

This commit is contained in:
berkeviktor@aol.com 2010-09-06 10:26:44 +02:00
parent 2c758b2cfd
commit 922340e94d
3 changed files with 6 additions and 24 deletions

View File

@ -1,9 +1,9 @@
[Setup] [Setup]
AppName=XChat-WDK AppName=XChat-WDK
AppVerName=XChat-WDK 1464-5 AppVerName=XChat-WDK 1464-6
AppVersion=14.64.5 AppVersion=14.64.6
VersionInfoVersion=14.64.5 VersionInfoVersion=14.64.6
OutputBaseFilename=XChat-WDK 1464-5 OutputBaseFilename=XChat-WDK 1464-6
AppPublisher=XChat-WDK AppPublisher=XChat-WDK
AppPublisherURL=http://code.google.com/p/xchat-wdk/ AppPublisherURL=http://code.google.com/p/xchat-wdk/
AppCopyright=Copyright (C) 1998-2010 Peter Zelezny AppCopyright=Copyright (C) 1998-2010 Peter Zelezny

View File

@ -6,7 +6,7 @@
#define USE_GTKSPELL #define USE_GTKSPELL
#endif*/ #endif*/
#define PACKAGE_NAME "xchat" #define PACKAGE_NAME "xchat"
#define PACKAGE_VERSION "1464-5" #define PACKAGE_VERSION "1464-6"
#define XCHATLIBDIR "." #define XCHATLIBDIR "."
#define XCHATSHAREDIR "." #define XCHATSHAREDIR "."
#define OLD_PERL #define OLD_PERL

View File

@ -1,6 +1,6 @@
diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/perl/perl.c xchat-wdk/plugins/perl/perl.c 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.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 @@ @@ -22,12 +22,15 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.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."); "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 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.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 +++ xchat-wdk/plugins/python/python.c 2010-08-26 15:53:53 +0200