]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/blobdiff - patches/patch-ab
More patches
[pkgsrc-firefox3.git] / patches / patch-ab
index 12e23040813a1a8652badfe556fe7edb2b2c6e17..1881b53a76df04ccd7795fbbfce794672f503893 100644 (file)
@@ -15,7 +15,7 @@ $NetBSD: patch-ab,v 1.2 2008/09/16 11:24:58 tnn Exp $
      ;;
  
  *-linux*|*-kfreebsd*-gnu)
-@@ -1670,10 +1668,10 @@ case "$target" in
+@@ -1670,13 +1668,12 @@ case "$target" in
      MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
      MOZ_OPTIMIZE_FLAGS="-O2"
      _PEDANTIC=
@@ -28,8 +28,11 @@ $NetBSD: patch-ab,v 1.2 2008/09/16 11:24:58 tnn Exp $
 +    DSO_LDOPTS='-framework CoreFoundation'
      STRIP="$STRIP -x -S"
      _PLATFORM_DEFAULT_TOOLKIT='cairo-cocoa'
-     MOZ_ENABLE_POSTSCRIPT=
-@@ -1700,7 +1698,7 @@ case "$target" in
+-    MOZ_ENABLE_POSTSCRIPT=
+     TARGET_NSPR_MDCPUCFG='\"md/_darwin.cfg\"'
+     LDFLAGS="$LDFLAGS -framework Cocoa"
+     # The ExceptionHandling framework is needed for Objective-C exception
+@@ -1700,7 +1697,7 @@ case "$target" in
      LDFLAGS=$_SAVE_LDFLAGS
      ;;
  
@@ -38,7 +41,7 @@ $NetBSD: patch-ab,v 1.2 2008/09/16 11:24:58 tnn Exp $
      if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` != "elf"; then
        DLL_SUFFIX=".so.1.0"
        DSO_LDOPTS="-shared"
-@@ -1714,6 +1712,9 @@ case "$target" in
+@@ -1714,6 +1711,9 @@ case "$target" in
  #     MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive'
  #     MKSHLIB_UNFORCE_ALL=''
  #    fi
@@ -48,7 +51,7 @@ $NetBSD: patch-ab,v 1.2 2008/09/16 11:24:58 tnn Exp $
      ;; 
  
  *-hpux*)
-@@ -2230,8 +2231,15 @@ case "$target" in
+@@ -2230,7 +2230,14 @@ case "$target" in
      if test "$LIBRUNPATH"; then
        DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
      fi
@@ -56,15 +59,24 @@ $NetBSD: patch-ab,v 1.2 2008/09/16 11:24:58 tnn Exp $
 +    alpha*)
 +       CFLAGS="$CFLAGS -mieee"
 +       CXXFLAGS="$CXXFLAGS -mieee"
-+    ;;
-+    esac
      ;;
++    esac
++    ;;
 +
  *-openvms*) 
      AC_DEFINE(NO_PW_GECOS)
-     AC_DEFINE(NO_UDSOCK)
-@@ -6142,7 +6150,7 @@ dnl ====================================
+@@ -4361,9 +4368,6 @@ XPC_IDISPATCH_SUPPORT=
+ case "$target_os" in
+-darwin*)
+-    ACCESSIBILITY=
+-    ;;
+ *)
+     ACCESSIBILITY=1
+     ;;
+@@ -6142,7 +6146,7 @@ dnl ====================================
  dnl = Enable code optimization. ON by default.
  dnl ========================================================
  if test -z "$MOZ_OPTIMIZE_FLAGS"; then