Fwd: libxul update breaks gecko-mediaplayer

Michael Butler imb at protected-networks.net
Tue Sep 11 18:38:38 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

FYI


- -------- Original Message --------
Subject: libxul update breaks gecko-mediaplayer
Date: Tue, 11 Sep 2012 14:31:00 -0400
From: Michael Butler <imb at protected-networks.net>
To: avl at FreeBSD.org

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

	imb


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAlBPhSwACgkQQv9rrgRC1JKsVwCgoMhZqHvu6M9rGejQcL5Rf0wM
6J8AnjJq8yd4UMSmb0UrKiWpj8Eu1UiB
=R2+y
-----END PGP SIGNATURE-----


More information about the freebsd-gecko mailing list