openbsd-ports/mail/mozilla-thunderbird/patches/patch-mozilla_build_unix_mozilla_in
landry d6fe9b934c Update to thunderbird 15.0/lightning 1.7b1/enigmail 1.4.4.
- see http://www.mozilla.org/en-US/thunderbird/15.0/releasenotes/
- garbage collect nsSound.cpp, the original one uses libcanberra
properly and thus sndio.
- remove patch from #750620, merged upstream (mfbt/double-conversion)
- remove patches from #691898, merged upstream (yarr jit ppc)
- remove useless crashreporter patch, we don't have breakpad
- garbage collect sunbird.desktop since it's unlikely sunbird will ever
build from tb again..
2012-09-01 14:22:45 +00:00

29 lines
683 B
Plaintext

$OpenBSD: patch-mozilla_build_unix_mozilla_in,v 1.4 2012/09/01 14:22:45 landry Exp $
--- mozilla/build/unix/mozilla.in.orig Sat Aug 25 02:30:58 2012
+++ mozilla/build/unix/mozilla.in Sat Sep 1 01:59:36 2012
@@ -18,6 +18,11 @@
#uncomment for debugging
#set -x
+LIMIT=`ulimit -n`
+if [ $LIMIT -lt 128 -a "${LIMIT}" != "unlimited" ]; then
+ ulimit -Sn 128
+fi
+
moz_libdir=%MOZAPPDIR%
# Use run-mozilla.sh in the current dir if it exists
@@ -99,6 +104,12 @@ do
;;
esac
done
+
+if [ `${X11BASE}/bin/fc-list | wc -l` -eq 0 ]; then
+ export GDK_USE_XFT=0
+fi
+
+export MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=${LOCALBASE}/lib/mozilla-plugins}
if [ $debugging = 1 ]
then