Skip Menu |
 

This queue is for tickets about the Glib CPAN distribution.

Report information
The Basics
Id: 72830
Status: deleted
Priority: 0/
Queue: Glib

People
Owner: Nobody in particular
Requestors: sisyphus [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.241
Fixed in: (no value)



Subject: SvMAGIC_set not defined for perl-5.8.0
Download (untitled) / with headers
text/plain 668b
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:18:39 +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
Closing the bug here in favor of <https://bugzilla.gnome.org/show_bug.cgi?id=665266>.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.