Firefox 3.5 patches
Zach Metzinger
zmetzing at pobox.com
Wed Jul 1 22:00:41 UTC 2009
Here ya go. I was able to build firefox-3.5 with these patches on a 7.0 box
--- Zach
-------------- next part --------------
--- 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 <semaphore.h>
#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 <sys/types.h>
-#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;
More information about the freebsd-gecko
mailing list