Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 22:20:19 -0800 (PST)
From:      taguchi@tohoku.iij.ad.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17705: www/mozilla broken
Message-ID:  <200003310620.WAA03142@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         17705
>Category:       ports
>Synopsis:       www/mozilla broken
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 30 22:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Taguchi, Takeshi
>Release:        3.4-STABLE
>Organization:
IIJ
>Environment:
FreeBSD hirose.tohoku.iij.ad.jp 3.4-STABLE FreeBSD 3.4-STABLE #18: Tue Mar 21 08:41:56 JST 2000     root@hirose.tohoku.iij.ad.jp:/usr/src/sys/compile/HIROSE  i386
>Description:
www/mozilla is broken now.
>How-To-Repeat:
# cd ${PORTSDIR}/www/mozilla
# make
...
g++295 -o nsRenderingContextGTK.o -c -fno-rtti -fexceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -Wno-long-long -O2 -pipe -g -pthread -O -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/glib12 -DMOZILLA_CLIENT -include ../../../config-defs.h -DOSTYPE=\"FreeBSD3\" -DOJI -D_IMPL_NS_GFXNONXP  -I../../../dist/include -I../../../include  -I/usr/local/include -I/usr/local/include  -I./. -I./..  -I/usr/X11R6/include   -fPIC 
nsRenderingContextGTK.cpp: In method `nsresult nsRenderingContextGTK::SetLineStyle(nsLineStyle)':
nsRenderingContextGTK.cpp:583: passing `signed char *' as argument 3 of `gdk_gc_set_dashes(GdkGC *, int, char *, int)' changes signedness
nsRenderingContextGTK.cpp:592: passing `signed char *' as argument 3 of `gdk_gc_set_dashes(GdkGC *, int, char *, int)' changes signedness
gmake[3]: *** [nsRenderingContextGTK.o] Error 1
gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src/gtk'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx'
gmake: *** [libs] Error 2
*** Error code 2

Stop.
>Fix:
please apply following patch:
BEGIN>---8<CUT HERE>8---
diff -u patches/patch-al.orig patches/patch-al
--- patches/patch-al.orig	Fri Mar 31 15:15:03 2000
+++ patches/patch-al	Fri Mar 31 15:14:54 2000
@@ -1,11 +1,11 @@
---- gfx/src/gtk/nsRenderingContextGTK.cpp.orig	Sun Feb 20 17:01:23 2000
-+++ gfx/src/gtk/nsRenderingContextGTK.cpp	Sun Feb 20 17:03:11 2000
+--- gfx/src/gtk/nsRenderingContextGTK.cpp.orig	Fri Jan 14 17:01:47 2000
++++ gfx/src/gtk/nsRenderingContextGTK.cpp	Fri Mar 31 15:11:24 2000
 @@ -577,7 +577,7 @@
  
        case nsLineStyle_kDashed:
          {
 -          static char dashed[2] = {4,4};
-+          static signed char dashed[2] = {4,4};
++          static gchar dashed[2] = {4,4};
  
            ::gdk_gc_set_dashes(mSurface->GetGC(), 
                                0, dashed, 2);
@@ -14,7 +14,7 @@
        case nsLineStyle_kDotted:
          {
 -          static char dotted[2] = {3,1};
-+          static signed char dotted[2] = {3,1};
++          static gchar dotted[2] = {3,1};
  
            ::gdk_gc_set_dashes(mSurface->GetGC(), 
                                0, dotted, 2);
END>---8<CUT HERE>8---


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003310620.WAA03142>