Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 16:44:51 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-gecko@FreeBSD.org
Subject:   Re: Fwd: libxul update breaks gecko-mediaplayer
Message-ID:  <5050F443.6000607@FreeBSD.org>
In-Reply-To: <5050F3B9.8010309@FreeBSD.org>
References:  <504F8364.2030501@protected-networks.net> <504F852C.1030100@protected-networks.net> <5050F3B9.8010309@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Forgot to CC the list]
On 2012-09-12 16:42:33 -0400, Jung-uk Kim wrote:
>> Just a "heads up" ..
> 
>> Apparently, the recent update to libxul 10.0.7 introduced an ABI 
>> change that breaks gecko-mediaplayer "const gchar*" versus
>> "const gchar*&" :-(
> 
>> - From the compilation output:
> 
>> c++ -DHAVE_CONFIG_H -I. -I.. -fPIC 
>> -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" 
>> -DPACKAGE_SRC_DIR=\""."\" 
>> -DPACKAGE_DATA_DIR=\""/usr/local/share"\" 
>> -I/usr/local/include/libxul -fshort-wchar 
>> -I/usr/local/include/nspr -DMOZ_NO_MOZALLOC 
>> -I/usr/local/include/glib-2.0 -I/usr/local/include/dbus-1.0 
>> -I/usr/local/include/dbus-1.0/include -D_REENTRANT 
>> -I/usr/local/include/glib-2.0      -DMOZILLA_STRICT_API
>> -DXP_UNIX -I/usr/local/include  -O2 -pipe -march=prescott 
>> -fno-strict-aliasing -MT plugin.o -MD -MP -MF .deps/plugin.Tpo
>> -c -o plugin.o plugin.cpp
> 
>> plugin.cpp: In function 'void setPreference(CPlugin*, const 
>> gchar*, const gchar*)':
> 
>> plugin.cpp:206: error: no matching function for call to 
>> 'nsIPrefBranch::PrefHasUserValue(const gchar*&, PRBool*)' 
>> /usr/local/include/libxul/nsIPrefBranch.h:75: note: candidates 
>> are: virtual nsresult nsIPrefBranch::PrefHasUserValue(const
>> char*, bool*) *** [plugin.o] Error code 1
> 
>> Stop in 
>> /usr/ports/www/gecko-mediaplayer/work/gecko-mediaplayer-1.0.0/src.
>>  *** [all-recursive] Error code 1
> 
> I sent the attached patch to avl (maintainer).  Also available from
> here:
> 
> http://people.freebsd.org/~jkim/gecko-mediaplayer.diff
> 
> Jung-uk Kim

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBQ9EMACgkQmlay1b9qnVN+FwCdGZ9HRgie1UFSKRDynEziEDl6
214An1blQNauJxnr+Dl8JuflQ3Fsl+h0
=glNZ
-----END PGP SIGNATURE-----



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