From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2011-12-01 06:33:58
|
https://bugzilla.gnome.org/show_bug.cgi?id=665266 gnome-perl | Glib | unspecified Summary: SvMAGIC_set not defined for perl-5.8.0 Classification: Bindings Product: gnome-perl Version: unspecified OS/Version: Windows Status: UNCONFIRMED Severity: normal Priority: Normal Component: Glib AssignedTo: gtk...@li... ReportedBy: sis...@op... QAContact: gtk...@li... GNOME version: --- This report also filed at https://rt.cpan.org/Ticket/Display.html?id=72830 (by mistake). Hi, Not sure when that symbol first arrived on the scene (5.009003 perhaps ?), but it's not be found in my build of perl-5.8.0. Therefore, if we really want Glib to be buildable using 5.8.0 we need the following patch to gperl.h (or something similar). --- gperl.h_orig 2011-11-30 19:15:41 +1100 +++ gperl.h 2011-11-30 19:33:25 +1100 @@ -36,6 +36,13 @@ #include <glib-object.h> +/* copied from ppport.h */ +#ifndef SvMAGIC_set +# define SvMAGIC_set(sv, val) \ + STMT_START { assert(SvTYPE(sv) >= SVt_PVMG); \ + (((XPVMG*) SvANY(sv))->xmg_magic = (val)); } STMT_END +#endif + /* * filenames */ Cheers, Rob -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |