summaryrefslogtreecommitdiffstats
path: root/firefox4-build-macos.patch
blob: 14c9903ceeed0fafe7a18be057a6677160b02054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
See https://bugzilla.mozilla.org/591152

diff -up mozilla-central/configure.in.orig mozilla-central/configure.in
--- mozilla-central/configure.in.orig	2010-09-14 21:41:14.883579761 +0200
+++ mozilla-central/configure.in	2010-09-14 21:42:23.976579149 +0200
@@ -3787,7 +3787,7 @@ fi
 
 dnl check for wcrtomb/mbrtowc
 dnl =======================================================================
-if test -z "$MACOS_DEPLOYMENT_TARGET" -o "$MACOS_DEPLOYMENT_TARGET" -ge "100300"; then
+if test "${MACOS_DEPLOYMENT_TARGET:-999999}" -ge "100300"; then
 AC_LANG_SAVE
 AC_LANG_CPLUSPLUS
 AC_CACHE_CHECK(for wcrtomb,
diff -up mozilla-central/configure.orig mozilla-central/configure
--- mozilla-central/configure.orig	2010-09-14 21:41:09.557839675 +0200
+++ mozilla-central/configure	2010-09-14 21:42:10.369954678 +0200
@@ -11978,7 +11978,7 @@ EOF
     
 fi
 
-if test -z "$MACOS_DEPLOYMENT_TARGET" -o "$MACOS_DEPLOYMENT_TARGET" -ge "100300"; then
+if test "${MACOS_DEPLOYMENT_TARGET:-999999}" -ge "100300"; then
 
 ac_ext=C
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
diff -up mozilla-central/js/src/configure.in.orig mozilla-central/js/src/configure.in
--- mozilla-central/js/src/configure.in.orig	2010-09-14 21:41:24.605579748 +0200
+++ mozilla-central/js/src/configure.in	2010-09-14 21:42:49.229954365 +0200
@@ -3309,7 +3309,7 @@ fi
 
 dnl check for wcrtomb/mbrtowc
 dnl =======================================================================
-if test -z "$MACOS_DEPLOYMENT_TARGET" -o "$MACOS_DEPLOYMENT_TARGET" -ge "100300"; then
+if test "${MACOS_DEPLOYMENT_TARGET:-999999}" -ge "100300"; then
 AC_LANG_SAVE
 AC_LANG_CPLUSPLUS
 AC_CACHE_CHECK(for wcrtomb,
diff -up mozilla-central/js/src/configure.orig mozilla-central/js/src/configure
--- mozilla-central/js/src/configure.orig	2010-09-14 21:41:20.036829607 +0200
+++ mozilla-central/js/src/configure	2010-09-14 21:42:42.767876525 +0200
@@ -10234,7 +10234,7 @@ EOF
 
 fi
 
-if test -z "$MACOS_DEPLOYMENT_TARGET" -o "$MACOS_DEPLOYMENT_TARGET" -ge "100300"; then
+if test "${MACOS_DEPLOYMENT_TARGET:-999999}" -ge "100300"; then
 
 ac_ext=C
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.