Package: enigmail Version: 0.94-4 Severity: important Tags: patch Fixing bug #274738 for binutils allows to build enigmail without the xgot hack on mips/mipsel. Since this may also break the existing xgot support, at minimum a rebuild with the attached patch is needed.
Convincing the thunderbird maintainer to provide the sdk as a regular .deb and build-depending on a recent version of it would be preferable IMHO. Thiemo
#!/bin/sh -e ## debian/patches/30_mips-noxgot.dpatch by Thiemo Seufer <[EMAIL PROTECTED]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Remove -Wa,xgot from CFLAGS for mips/mipsel if [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="-d build-dir/mozilla -p1 -f --no-backup-if-mismatch" case "$1" in -patch) patch $patch_opts < $0;; -unpatch) patch $patch_opts -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 @DPATCH@ --- mozilla/config/rules.mk 2006-07-09 14:57:27.000000000 +0100 +++ mozilla/config/rules.mk 2006-07-09 14:57:49.000000000 +0100 @@ -456,15 +456,6 @@ endif endif endif -ifeq ($(OS_ARCH),Linux) -ifneq (,$(filter mips mipsel,$(OS_TEST))) -ifeq ($(MODULE),layout) -OS_CFLAGS += -Wa,-xgot -OS_CXXFLAGS += -Wa,-xgot -endif -endif -endif - # # HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag # which uses internal symbols first --- mozilla/configure.in 2006-07-09 14:57:06.000000000 +0100 +++ mozilla/configure.in 2006-07-09 14:57:17.000000000 +0100 @@ -1469,10 +1469,6 @@ case "$target" in USE_ELF_DYNSTR_GC=1 MOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1 ;; - mips*) - CFLAGS="$CFLAGS -Wa,-xgot" - CXXFLAGS="$CXXFLAGS -Wa,-xgot" - ;; esac ;;