Date: Sun, 02 May 2010 14:14:09 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/146231: [feature request] www/firefox: use port libs Message-ID: <86d3xey5ji.fsf@gmail.com> Resent-Message-ID: <201005021020.o42AK9E7014283@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146231 >Category: ports >Synopsis: [feature request] www/firefox: use port libs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 02 10:20:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: I'd like that there is an option to use png, jpeg, nss, sqlite3, et al. dynamically linked from system. These libs are usually newer than bundled with firefox. >How-To-Repeat: >Fix: USE_MOZILLA doesn't like being under bsd.port.pre.mk section. So, smth like this, but done less crudely. --- a.diff begins here --- Index: www/firefox/Makefile =================================================================== RCS file: /a/.cvsup/ports/www/firefox/Makefile,v retrieving revision 1.223 diff -u -p -r1.223 Makefile --- www/firefox/Makefile 6 Apr 2010 08:14:01 -0000 1.223 +++ www/firefox/Makefile 2 May 2010 10:01:20 -0000 @@ -56,6 +56,11 @@ OPTIONS= DBUS "Enable D-BUS support" on NEWTAB "Open external links in a new tab" on \ SMB "Enable smb:// URI support using gnomevfs" off +.if defined(WITH_PORT_LIBS) +USE_MOZILLA= -dbm -xft +MOZ_OPTIONS+= --enable-system-sqlite +.endif + .include <bsd.port.pre.mk> .if ${OSVERSION} < 700000 Index: www/firefox/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp =================================================================== RCS file: www/firefox/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp diff -N www/firefox/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/firefox/files/patch-modules-libpr0n-encoders-png-nsPNGEncoder.cpp 2 May 2010 09:39:02 -0000 @@ -0,0 +1,11 @@ +--- modules/libpr0n/encoders/png/nsPNGEncoder.cpp~ ++++ modules/libpr0n/encoders/png/nsPNGEncoder.cpp +@@ -135,7 +135,7 @@ NS_IMETHODIMP nsPNGEncoder::StartImageEn + + // initialize + mPNG = png_create_write_struct(PNG_LIBPNG_VER_STRING, +- png_voidp_NULL, ++ 0, + ErrorCallback, + ErrorCallback); + if (! mPNG) --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d3xey5ji.fsf>