pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Building firefox on 2015Q1 with fixes
Hello
I just built Firefox 36 from 2015Q1 and ran into a pair of problems:
1) JPEG_DEFAULT=libjpeg-turbo in mk.conf seems required, otherwise
configure will complain
I suspect this is because we have in pkgsrc/www/firefox/mozilla-common.mk:
CONFIGURE_ARGS+= --disable-libjpeg-turbo
While the configure script uses --enable-libjpeg_turbo (note the underscore
instead of the dash).
2) I had to apply this patch to build because pthread_condattr_setclock()
is not defined:
--- ipc/chromium/src/base/condition_variable_posix.cc.orig
+++ ipc/chromium/src/base/condition_variable_posix.cc
@@ -17,9 +17,9 @@
ConditionVariable::ConditionVariable(Lock* user_lock)
: user_mutex_(user_lock->lock_impl()->os_lock()) {
int rv = 0;
-#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
+#if !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(__NetBSD__)
pthread_condattr_t attrs;
rv = pthread_condattr_init(&attrs);
DCHECK_EQ(0, rv);
pthread_condattr_setclock(&attrs, CLOCK_MONOTONIC);
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index