On Tue, Aug 19, 2008 at 6:46 PM, Marcelo H Majczak <marcelo at randomwork.com> wrote: > After a few greps I found HAVE_LOCALE_H in src/i18n.h isn't tested/defined > anywhere while configuring... A clean solution was to define it in > dirmngr.pspc. This is valid for snv_95; could someone test it on the target > versions of solaris/opensolaris? > > Index: dirmngr.pspc > =================================================================== > --- dirmngr.pspc (revision 2592) > +++ dirmngr.pspc (working copy) > @@ -10,7 +10,7 @@ > %define requires FOSSlibgpg-error FOSSgettext FOSSlibiconv > FOSSlibassuan FOSSlibksba FOSSlibgcrypt FOSSgnupth FOSScurl FOSSopenldap > FOSSreadline > # maybe we should have own libusb, beacuse libusb isn't in 64bit version in > Solaris > # > -%define CPPFLAGS %CPPFLAGS_C > +%define CPPFLAGS %CPPFLAGS_C -DHAVE_LOCALE_H > %define LDFLAGS %LDFLAGS_C > %define LIBS %LIBS_C
I can confirm this fixed my dirmngr build on B95 with SunStudioExpress as well as B95 with SS12. Ben
