summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'time/sunbird/patches/patch-ab')
-rw-r--r--time/sunbird/patches/patch-ab77
1 files changed, 77 insertions, 0 deletions
diff --git a/time/sunbird/patches/patch-ab b/time/sunbird/patches/patch-ab
new file mode 100644
index 00000000000..e3b52867f76
--- /dev/null
+++ b/time/sunbird/patches/patch-ab
@@ -0,0 +1,77 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/02/05 21:56:24 ghen Exp $
+
+--- configure.in.orig 2006-02-02 16:55:58.000000000 +0100
++++ configure.in
+@@ -1359,7 +1359,6 @@ case "$target" in
+ DSO_LDOPTS=''
+ STRIP="$STRIP -x -S"
+ _PLATFORM_DEFAULT_TOOLKIT='mac'
+- MOZ_ENABLE_POSTSCRIPT=
+ # set MACOSX to generate lib/mac/MoreFiles/Makefile
+ MACOSX=1
+
+@@ -1400,6 +1399,9 @@ case "$target" in
+ # MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive'
+ # MKSHLIB_UNFORCE_ALL=''
+ # fi
++ if test "$LIBRUNPATH"; then
++ DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
++ fi
+ ;;
+
+ *-hpux*)
+@@ -1583,7 +1585,6 @@ case "$target" in
+ BIN_SUFFIX='.exe'
+ USE_SHORT_LIBNAME=1
+ MOZ_ENABLE_COREXFONTS=
+- MOZ_ENABLE_POSTSCRIPT=
+ MOZ_USER_DIR="Mozilla"
+ ;;
+
+@@ -1801,6 +1802,14 @@ case "$target" in
+ fi
+ MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-soname,lib$(LIBRARY_NAME)$(DLL_SUFFIX) -o $@'
+ MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-soname,lib$(LIBRARY_NAME)$(DLL_SUFFIX) -o $@'
++
++ case "${target_cpu}" in
++ alpha*)
++ CFLAGS="$CFLAGS -mieee"
++ CXXFLAGS="$CXXFLAGS -mieee"
++ ;;
++ esac
++
+ ;;
+
+ *-nto*)
+@@ -1841,6 +1850,13 @@ case "$target" in
+ if test "$LIBRUNPATH"; then
+ DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
+ fi
++
++ case "${target_cpu}" in
++ alpha*)
++ CFLAGS="$CFLAGS -mieee"
++ CXXFLAGS="$CXXFLAGS -mieee"
++ ;;
++ esac
+ ;;
+
+ *-openvms*)
+@@ -2032,7 +2048,7 @@ dnl the qsort routine under solaris is f
+ MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -h $@ -o $@'
+ MKSHLIB_FORCE_ALL='-Qoption ld -z,allextract'
+ MKSHLIB_UNFORCE_ALL=''
+- DSO_LDOPTS='-G -Qoption ld -z,muldefs'
++ DSO_LDOPTS='-G -z muldefs'
+ AR_LIST="$AR t"
+ AR_EXTRACT="$AR x"
+ AR_DELETE="$AR d"
+@@ -5369,7 +5385,7 @@ dnl ====================================
+ dnl = Enable code optimization. ON by default.
+ dnl ========================================================
+ if test -z "$MOZ_OPTIMIZE_FLAGS"; then
+- MOZ_OPTIMIZE_FLAGS="-O"
++ MOZ_OPTIMIZE_FLAGS=""
+ fi
+
+ MOZ_ARG_ENABLE_STRING(optimize,