summaryrefslogtreecommitdiff
path: root/devel/xulrunner17/patches/patch-mm
diff options
context:
space:
mode:
Diffstat (limited to 'devel/xulrunner17/patches/patch-mm')
-rw-r--r--devel/xulrunner17/patches/patch-mm30
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/xulrunner17/patches/patch-mm b/devel/xulrunner17/patches/patch-mm
new file mode 100644
index 00000000000..b990ade1ed0
--- /dev/null
+++ b/devel/xulrunner17/patches/patch-mm
@@ -0,0 +1,30 @@
+$NetBSD: patch-mm,v 1.1 2013/01/10 16:17:10 ryoon Exp $
+
+--- toolkit/library/Makefile.in.orig 2012-08-24 22:56:06.000000000 +0000
++++ toolkit/library/Makefile.in
+@@ -535,6 +535,25 @@ EXTRA_DSO_LDOPTS += -lelf -ldemangle
+ endif
+ endif
+
++ifneq (,$(filter DragonFly FreeBSD NetBSD OpenBSD,$(OS_ARCH)))
++OS_LIBS += $(call EXPAND_LIBNAME,kvm)
++# keep `environ' unresolved, see bug 14426 for binutils
++EXTRA_DSO_LDOPTS += -Wl,--warn-unresolved-symbols
++endif
++
++ifneq (,$(filter DragonFly FreeBSD,$(OS_ARCH)))
++EXTRA_DSO_LDOPTS += -lplc4 -lplds4 -lnspr4 -lnssutil3
++endif
++
++ifneq (,$(MOZ_CUBEB)$(MOZ_SYDNEYAUDIO))
++ifeq ($(OS_ARCH),NetBSD)
++EXTRA_DSO_LDOPTS += -lossaudio
++endif
++ifdef PKGSRC_PULSEAUDIO
++EXTRA_DSO_LDOPTS += -lpulse
++endif
++endif
++
+ ifeq ($(OS_ARCH),WINNT)
+ OS_LIBS += $(call EXPAND_LIBNAME,shell32 ole32 version winspool comdlg32 imm32 msimg32 shlwapi psapi ws2_32 dbghelp rasapi32 rasdlg iphlpapi uxtheme setupapi secur32 sensorsapi portabledeviceguids windowscodecs)
+ ifdef MOZ_CRASHREPORTER