Subject: problems building galeon12
To: None <tech-pkg@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-pkg
Date: 01/01/2005 20:35:18
With up-to-date pkgsrc:

In file included from /usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/nspr/prtypes.h:55,
                 from /usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/xpcom/nscore.h:51,
                 from mozilla.h:297,
                 from ContentHandler.cpp:149:
/usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/nspr/prcpucfg.h:53:1: warning: "HAVE_LONG_LONG" redefined
In file included from ../../src/galeon.h:30,
                 from ContentHandler.cpp:146:
../../config.h:132:1: warning: this is the location of the previous definition
ContentHandler.cpp: In member function `virtual nsresult 
   GContentHandler::PromptForSaveToFile(nsIHelperAppLauncher*, nsISupports*, 
   const PRUnichar*, const PRUnichar*, nsILocalFile**)':
ContentHandler.cpp:382: error: no matching function for call to `
   nsDerivedSafe<nsIFilePicker>::Init(nsCOMPtr<nsIDOMWindowInternal>&, const 
   PRUnichar*, nsIFilePicker::<anonymous enum>)'
/usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/widget/nsIFilePicker.h:76: error: candidates
   are: virtual nsresult nsIFilePicker::Init(nsIDOMWindow*, const nsAString&, 
   short int)
ContentHandler.cpp:383: error: no matching function for call to `
   nsDerivedSafe<nsIFilePicker>::SetDefaultString(const PRUnichar*&)'
/usr/pkgsrc/www/galeon12/work/.buildlink/include/mozilla/widget/nsIFilePicker.h:104: error: candidates
   are: virtual nsresult nsIFilePicker::SetDefaultString(const nsAString&)
gmake[4]: *** [ContentHandler.o] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/www/galeon12/work/galeon-1.2.14/src/mozilla'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/www/galeon12/work/galeon-1.2.14/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/www/galeon12/work/galeon-1.2.14/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/www/galeon12/work/galeon-1.2.14'
gmake: *** [all] Error 2
*** Error code 2


		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb