From owner-cvs-all@FreeBSD.ORG Tue Nov 4 07:15:51 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD6991065670; Tue, 4 Nov 2008 07:15:51 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CC10F8FC12; Tue, 4 Nov 2008 07:15:51 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mA47FpXK039666; Tue, 4 Nov 2008 07:15:51 GMT (envelope-from ed@repoman.freebsd.org) Received: (from ed@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mA47FpMV039665; Tue, 4 Nov 2008 07:15:51 GMT (envelope-from ed) Message-Id: <200811040715.mA47FpMV039665@repoman.freebsd.org> From: Ed Schouten Date: Tue, 4 Nov 2008 07:15:51 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/www/firefox3 Makefile ports/www/firefox3/files patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 07:15:52 -0000 ed 2008-11-04 07:15:51 UTC FreeBSD ports repository (src committer) Modified files: www/firefox3 Makefile www/firefox3/files patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in Log: Make www/firefox3 work on PowerPC. There were two things that prevented this port from compiling properly on PowerPC: - The `pthread hack' (GECKO_PTHREAD_LIBS) tried to obtain -lpthread from the gcc dumpspecs output. It expects these compiler flags to be on the first line of output, while on PowerPC the flags are on the second line. - On FreeBSD/powerpc it needs to use the Linux xptcall wrappers. I am not entirely convinced that it works properly, though. I've seen Firefox crash inside pthread_mutex_lock during shutdown. I'm committing these patches anyway, because getting it to compile is already a step forward. Approved by: marcus Revision Changes Path 1.7 +1 -1 ports/www/firefox3/Makefile 1.2 +24 -15 ports/www/firefox3/files/patch-xpcom_reflect_xptcall_src_md_unix_Makefile.in