From kevin at powerset.com Tue Jun 26 18:57:35 2007 From: kevin at powerset.com (Kevin Clark) Date: Tue, 26 Jun 2007 15:57:35 -0700 Subject: [Ruby-rpm-devel] 4.4.x compat Message-ID: Hi guys, I'm working on making ruby-rpm 4.4.x compatable (I'm running 4.4.8-2), and I've hit a final snag. Most of my changes were just a matter of defining some symbols needed to get at internal data structures that ruby-rpm uses, but this one looks like it might be a bug: Line 662 (may have shifted slightly due to changes) reads: rpmInitMacros(NULL, macrofiles); macrofiles doesn't appear to show up anywhere else in the extension. Is that supposed to be a NULL? >From rpmmacro.h:152: * @param macrofiles colon separated list of macro files (NULL does nothing) I'll have my patch against svn back into you as soon as I get things running. Kev From kevin at powerset.com Tue Jun 26 19:34:08 2007 From: kevin at powerset.com (Kevin Clark) Date: Tue, 26 Jun 2007 16:34:08 -0700 Subject: [Ruby-rpm-devel] 4.4.x compat In-Reply-To: Message-ID: Wow, 4.4.2 seems to be incompatable with 4.4.8. I think this is going to have to be a 4.4.8 compat thing until someone can verify it works for lower versions. Spec_s::buildRootURL seems to be missing in 4.4.8 On 6/26/07 3:57 PM, "Kevin Clark" wrote: > Hi guys, > I'm working on making ruby-rpm 4.4.x compatable (I'm running 4.4.8-2), and > I've hit a final snag. Most of my changes were just a matter of defining > some symbols needed to get at internal data structures that ruby-rpm uses, > but this one looks like it might be a bug: > > Line 662 (may have shifted slightly due to changes) reads: > > rpmInitMacros(NULL, macrofiles); > > macrofiles doesn't appear to show up anywhere else in the extension. Is that > supposed to be a NULL? > >> From rpmmacro.h:152: > * @param macrofiles colon separated list of macro files (NULL does > nothing) > > I'll have my patch against svn back into you as soon as I get things > running. > > Kev > > _______________________________________________ > Ruby-rpm-devel mailing list > Ruby-rpm-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/ruby-rpm-devel