Fwd: libxul update breaks gecko-mediaplayer
Jung-uk Kim
jkim at FreeBSD.org
Wed Sep 12 20:45:05 UTC 2012
-----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-----
More information about the freebsd-gecko
mailing list