Subject: pkg/27369: mozilla-1.7.3 needs patch
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <makoto@ki.nu>
List: pkgsrc-bugs
Date: 10/23/2004 11:36:48
>Number:         27369
>Category:       pkg
>Synopsis:       undefined symbol: _Z16XineramaIsActiveP9_XDisplay
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 23 02:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Makoto Fujiwara
>Release:        NetBSD 2.99.10
>Organization:
KINU Corporation
Makoto Fujiwara
makoto@ki.nu
>Environment:
	
	
System: NetBSD st4200 2.99.10 NetBSD 2.99.10 (INSECURE) #0: Sat Oct 23 10:39:52 JST 2004 makoto@st4200:/export/20041017sys/arch/macppc/compile/INSECURE macppc
Architecture: powerpc
Machine: macppc
>Description:
	
mozilla made on www/mozilla gives following error on my machine.

undefined symbol: _Z16XineramaIsActiveP9_XDisplay

>How-To-Repeat:
	
	cd pkgsrc/www/mozilla
        make 
        make install
        rehash
        mozilla
>Fix:
	
--- mozilla/gfx/src/gtk/nsScreenGtk.h-orig	2004-04-21 02:14:31.000000000 +0900
+++ mozilla/gfx/src/gtk/nsScreenGtk.h	2004-10-23 11:04:45.000000000 +0900
@@ -44,7 +44,9 @@
 
 #ifdef MOZ_ENABLE_XINERAMA
 #include <X11/Xlib.h>
+extern "C" {
 #include <X11/extensions/Xinerama.h>
+}
 #endif // MOZ_ENABLE_XINERAMA
 
 //------------------------------------------------------------------------

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