[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#166311: roxen2: Roxen2 don't work with pike7.2



Quoting Andrew Shirrayev <andrews@temphost.ort.spb.ru>:

> 15:42:35  : ----------------------------------------------------------
>  0m 0.0s  : Pike v7.2 release 340, Roxen WebServer 2.1.265_Debian-6
>           : Loading pike modules ... Done [54.5ms]
>           : Loading roxen ... etc/modules/RXML.pmod/module.pmod:3049:Illegal
> to redefine variable "flags" as constant.

I _MIGHT_ have found a solution to this, and if I do, the rest should be ok
to... Try applying the enclosed patch on the RXML.pmod/module.pmod file.

----- s n i p -----
cd /usr/lib/roxen2/etc/modules/RXML.pmod
cat /tmp/RXML-Module.patch | patch
----- s n i p -----

Save the patch you receive in /tmp...

Unfortunatly I don't have a development system where I can try
out this myself...

--- module.pmod~	Thu May 17 04:34:25 2001
+++ module.pmod	Fri Nov 29 14:46:12 2002
@@ -3046,7 +3046,7 @@
 //! according to the type (which typically has a parser set).
 {
   inherit Frame;
-  constant flags = FLAG_UNPARSED;
+  Type flags = FLAG_UNPARSED;
   mapping(string:mixed) args = ([]);
 
   void create (Type type, string to_parse)

Reply to: