[Varnish] #464: Varnish won't build on solaris

Varnish varnish-bugs at projects.linpro.no
Sat Mar 14 07:52:05 CET 2009


#464: Varnish won't build on solaris
-----------------------+----------------------------------------------------
 Reporter:  joevandyk  |        Owner:       
     Type:  defect     |       Status:  new  
 Priority:  normal     |    Milestone:       
Component:  build      |      Version:  trunk
 Severity:  normal     |   Resolution:       
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by IgorMinar):

 oh and I also had to apply this patch:

 {{{
 --- config.h.in    Fri Feb 13 16:38:45 2009
 +++ config.h.in Fri Feb 13 14:25:47 2009
 @@ -222,3 +222,10 @@

  /* Define to `unsigned int' if <sys/types.h> does not define. */
  /* #undef size_t */
 +
 +# ifndef NAN
 +# define NAN (0.0/0.0)
 +# endif
 +
 +# define __BEGIN_DECLS /* empty */
 +# define __END_DECLS /* empty */
 }}}

 I see that `__BEGIN_DECLS` was removed from the trunk, I wonder if
 something can be done about NAN too. Maybe there is a more suitable
 solution than the one in my patch.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/464#comment:3>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list