aboutsummaryrefslogtreecommitdiff
path: root/www/libxul
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-04-03 20:27:48 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-04-03 20:27:48 +0000
commit513d21d8384e61cc02b820137587b3680ffbb51c (patch)
treefc7673f01258f369254c78eaa2111a667c2fd1f7 /www/libxul
parent7f2a857b2964490ac2c8b80ef6a315366e9bf55a (diff)
downloadports-513d21d8384e61cc02b820137587b3680ffbb51c.tar.gz
ports-513d21d8384e61cc02b820137587b3680ffbb51c.zip
Notes
Diffstat (limited to 'www/libxul')
-rw-r--r--www/libxul/Makefile11
-rw-r--r--www/libxul/files/patch-bug7530468
-rw-r--r--www/libxul/files/patch-js-src-configure.in10
3 files changed, 1 insertions, 28 deletions
diff --git a/www/libxul/Makefile b/www/libxul/Makefile
index f8b263dccbbc..7068f09755be 100644
--- a/www/libxul/Makefile
+++ b/www/libxul/Makefile
@@ -54,17 +54,6 @@ OPTIONS_DEFAULT=GIO
MOZ_PKGCONFIG_FILES+= mozilla-nss
.endif
-.if ${ARCH} == amd64
-CONFIGURE_TARGET=x86_64-portbld-freebsd${OSREL}
-.elif ${ARCH} == powerpc64
-.if ${OSVERSION} < 900033
-BROKEN= Needs binutils 2.17.50 to build
-.else
-MOZ_EXPORT+= UNAME_m="powerpc64"
-CFLAGS+= -mminimal-toc
-.endif
-.endif
-
.if !empty(CXX:M*clang++*) || (${CXX:Mc++} && ${OSVERSION} > 1000023)
CXXFLAGS+= -Wno-return-type-c-linkage
.endif
diff --git a/www/libxul/files/patch-bug753046 b/www/libxul/files/patch-bug753046
index c606ab1f58bc..eba92129f6cf 100644
--- a/www/libxul/files/patch-bug753046
+++ b/www/libxul/files/patch-bug753046
@@ -469,7 +469,7 @@ $NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.4 2012/04/01
--- ipc/chromium/src/base/platform_thread_posix.cc.orig 2012-03-13 01:36:53.000000000 +0000
+++ ipc/chromium/src/base/platform_thread_posix.cc
-@@ -9,9 +9,23 @@
+@@ -9,9 +9,17 @@
#if defined(OS_MACOSX)
#include <mach/mach.h>
@@ -482,13 +482,7 @@ $NetBSD: patch-ipc_chromium_src_base_platform__thread__posix.cc,v 1.4 2012/04/01
+#include <unistd.h>
+#elif defined(OS_FREEBSD)
+#include <sys/param.h>
-+#if __FreeBSD_version > 802500
+#include <sys/thr.h>
-+#else
-+_Pragma("GCC visibility push(default)")
-+extern "C" int thr_self(long *);
-+_Pragma("GCC visibility pop")
-+#endif
+#include <pthread_np.h>
#endif
diff --git a/www/libxul/files/patch-js-src-configure.in b/www/libxul/files/patch-js-src-configure.in
deleted file mode 100644
index fc8e66185a87..000000000000
--- a/www/libxul/files/patch-js-src-configure.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- js/src/configure.in.orig 2012-01-29 11:24:33.000000000 +0100
-+++ js/src/configure.in 2012-01-30 23:30:02.051087215 +0100
-@@ -5946,6 +5946,7 @@ _EGREP_PATTERN="${_EGREP_PATTERN}dummy_n
- * C++ implementations should define these macros only when __STDC_LIMIT_MACROS
- * is defined before <stdint.h> is included. */
- #define __STDC_LIMIT_MACROS
-+#define __STDC_CONSTANT_MACROS
-
- #endif /* _JS_CONFDEFS_H_ */
-