From owner-freebsd-gecko@FreeBSD.ORG Wed Jul 1 22:00:41 2009 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A10C21065673 for ; Wed, 1 Jul 2009 22:00:41 +0000 (UTC) (envelope-from zmetzing@pobox.com) Received: from sasl.smtp.pobox.com (a-sasl-quonix.sasl.smtp.pobox.com [208.72.237.25]) by mx1.freebsd.org (Postfix) with ESMTP id 779AC8FC15 for ; Wed, 1 Jul 2009 22:00:41 +0000 (UTC) (envelope-from zmetzing@pobox.com) Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id 6124321410 for ; Wed, 1 Jul 2009 17:41:39 -0400 (EDT) Received: from pobox.com (unknown [173.74.188.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPSA id E4E862140C for ; Wed, 1 Jul 2009 17:41:38 -0400 (EDT) Date: Wed, 1 Jul 2009 16:41:35 -0500 From: Zach Metzinger To: gecko@FreeBSD.org Message-ID: <20090701214135.GA95322@raster> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Pobox-Relay-ID: F5855AB6-6687-11DE-88CF-DC021A496417-19366360!a-sasl-quonix.pobox.com Cc: Subject: Firefox 3.5 patches 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, 01 Jul 2009 22:00:41 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Here ya go. I was able to build firefox-3.5 with these patches on a 7.0 box --- Zach --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="firefox-3.5-fbsd-patches" --- media/liboggplay/src/liboggplay/std_semaphore.h+ 2009-07-01 14:21:45.000000000 -0500 +++ media/liboggplay/src/liboggplay/std_semaphore.h 2009-07-01 14:22:04.000000000 -0500 @@ -74,7 +74,7 @@ * @retval non-zero on error */ -#if defined(linux) || defined(SOLARIS) +#if defined(linux) || defined(SOLARIS) || defined(__FreeBSD__) #include #define SEM_CREATE(p,s) sem_init(&(p), 1, s) #define SEM_SIGNAL(p) sem_post(&(p)) --- media/libsydneyaudio/src/Makefile.in+ 2009-07-01 15:05:24.000000000 -0500 +++ media/libsydneyaudio/src/Makefile.in 2009-07-01 15:05:49.000000000 -0500 @@ -45,6 +45,12 @@ LIBRARY_NAME = sydneyaudio FORCE_STATIC_LIB= 1 +ifeq ($(OS_ARCH),FreeBSD) +CSRCS = \ + sydney_audio_oss.c \ + $(NULL) +endif + ifeq ($(OS_ARCH),Linux) CSRCS = \ sydney_audio_alsa.c \ --- media/liboggz/include/oggz/oggz_off_t_generated.h+ 2009-07-01 16:37:12.000000000 -0500 +++ media/liboggz/include/oggz/oggz_off_t_generated.h 2009-07-01 16:37:38.000000000 -0500 @@ -59,7 +59,7 @@ #include -#if defined(__APPLE__) || defined(SOLARIS) +#if defined(__APPLE__) || defined(SOLARIS) || defined(__FreeBSD__) typedef off_t oggz_off_t; #else typedef loff_t oggz_off_t; --3MwIy2ne0vdjdPXF--