From owner-freebsd-gecko@FreeBSD.ORG Wed Sep 12 20:45:05 2012 Return-Path: Delivered-To: freebsd-gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0F801065673 for ; Wed, 12 Sep 2012 20:45:04 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AE1958FC12 for ; Wed, 12 Sep 2012 20:45:04 +0000 (UTC) Message-ID: <5050F443.6000607@FreeBSD.org> Date: Wed, 12 Sep 2012 16:44:51 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-gecko@FreeBSD.org References: <504F8364.2030501@protected-networks.net> <504F852C.1030100@protected-networks.net> <5050F3B9.8010309@FreeBSD.org> In-Reply-To: <5050F3B9.8010309@FreeBSD.org> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Fwd: libxul update breaks gecko-mediaplayer X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2012 20:45:05 -0000 -----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-----