[Rpm-maint] [PATCH 2/4] Fixes missing glob_pattern_p on mac.

Panu Matilainen pmatilai at laiskiainen.org
Thu Apr 29 07:13:40 UTC 2010


On Tue, 20 Apr 2010, Giulio Eulisse wrote:

> The weak_alias used to assign __glob_pattern_p to glob_pattern_p does not get
> executed on mac. I tried specifing #pragma weak but it does not work as well
> so in the end I solved the problem by duplicating the function where needed.

glob_pattern_p is a problem on all "non-gnu" systems, Solaris included. As 
the function is simple and small, I guess the easiest way is to just add a 
copy of it (reformatted to rpm style) to librpmio as rpmGlobPattern() or 
such and be done with it.

 	- Panu -


More information about the Rpm-maint mailing list