1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- add really the patch :P

This commit is contained in:
Martin Wilke 2008-11-15 22:57:32 +00:00
parent dcf0d02873
commit 21ab9ff3f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222902

View File

@ -0,0 +1,13 @@
--- modules/modperl.cpp.orig 2008-11-14 13:02:05.000000000 +0100
+++ modules/modperl.cpp 2008-11-14 13:03:02.000000000 +0100
@@ -984,8 +984,8 @@
bool CModPerl::OnLoad(const CString & sArgs, CString & sMessage)
{
int iArgc = 5;
- const char * pArgv[] = { "", "-e", "0", "-T", "-w", NULL };
- PERL_SYS_INIT3( &iArgc, (char ***)&pArgv, &environ );
+ char * pArgv[] = { "", "-e", "0", "-T", "-w", NULL };
+ PERL_SYS_INIT3( &iArgc, &pArgv, &environ );
m_pPerl = perl_alloc();
perl_construct(m_pPerl);