[PATCH] ports/www/galeon Werror problem

Joe Marcus Clarke marcus at marcuscom.com
Sat Apr 5 09:14:21 PST 2003


On Sat, 2003-04-05 at 04:43, Dirk Meyer wrote:
> Joe Marcus Clarke wrote:
> 
> > On Sat, 2003-04-05 at 01:20, Dirk Meyer wrote:
> > > galeon compiles here only with "--disable-werror"
> > Do you mean on -STABLE?
> 
> yes but only if you have extra Warnings enabled. e.G.: -Wcast-qual
> /usr/X11R6/include/mozilla/string/nsStringFragment.h:81: warning: cast discards qualifiers from pointer target type
> 
> might this patch be applied to galeon2 too?

Yeah, the same thing would be needed for galeon2.  Thanks.

Joe

> 
> kind regards Dirk
> 
> - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
> - [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]
> 
> > > --- Makefile	4 Apr 2003 07:07:47 -0000	1.96
> > > +++ Makefile	5 Apr 2003 05:56:03 -0000
> > > @@ -75,6 +75,10 @@
> > >  .if ${OSVERSION} > 500000
> > >  # Galeon does not build correctly in -CURRENT if -Werror is passed
> > >  # to the compiler.
> > > +NO_WERROR=3D	yes
> > > +.endif
> > > +# allow build with more warnings enabled
> > > +.if defined(NO_WERROR)
> > >  CONFIGURE_ARGS+=3D	--disable-werror
> > >  .endif
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030405/b46e933d/attachment.bin


More information about the freebsd-gnome mailing list