]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - mozilla-nocross.patch
- updated to 8.0
[packages/thunderbird.git] / mozilla-nocross.patch
index 7a5025608454c9a49648a2c50446129bc660651c..0a69a701cebc2a959123037fda95073a2657d73d 100644 (file)
@@ -1,6 +1,6 @@
---- mozilla/configure.in~      2009-07-29 22:40:48.000000000 +0300
-+++ mozilla/configure.in       2009-07-29 22:41:17.255773820 +0300
-@@ -250,98 +250,8 @@
+--- icedove-3.1/mozilla/configure.in~  2010-07-23 12:04:13.419122641 +0300
++++ icedove-3.1/mozilla/configure.in   2010-07-23 12:05:09.659376310 +0300
+@@ -341,105 +341,8 @@
  esac
  
  if test -n "$CROSS_COMPILE" && test "$target" != "$host"; then
 -        dnl checks will fail.  Fake a working SDK in that case.
 -        _SAVE_CFLAGS=$CFLAGS
 -        _SAVE_CXXFLAGS=$CXXLAGS
+-        dnl 1.9.2 support 10.4, 1.9.3 and later don't.
+-        if test "$MOZILLA_1_9_2_BRANCH" = "1";
+-        then
 -        CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CFLAGS"
 -        CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CXXFLAGS"
+-        else
+-        CFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk $CFLAGS"
+-        CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk $CXXFLAGS"
+-        fi
 -        ;;
 -    esac
 -
 -
 -    AC_CHECK_PROGS(RANLIB, $RANLIB "${target_alias}-ranlib" "${target}-ranlib", :)
 -    AC_CHECK_PROGS(AR, $AR "${target_alias}-ar" "${target}-ar", :)
--    AC_PATH_PROGS(AS, $AS "${target_alias}-as" "${target}-as", :)
+-    MOZ_PATH_PROGS(AS, $AS "${target_alias}-as" "${target}-as", :)
 -    AC_CHECK_PROGS(LD, $LD "${target_alias}-ld" "${target}-ld", :)
 -    AC_CHECK_PROGS(STRIP, $STRIP "${target_alias}-strip" "${target}-strip", :)
 -    AC_CHECK_PROGS(WINDRES, $WINDRES "${target_alias}-windres" "${target}-windres", :)
 -    AC_DEFINE(CROSS_COMPILE)
-+    echo >&2 Cross compile block breaks whole configure script
++    echo >&2 Cross compile block breaks whole configure script, be first to figure it out and fix it
 +    exit 1
  else
      AC_PROG_CC
This page took 0.052796 seconds and 4 git commands to generate.