Package: inkscape
Version: 0.44-1
Severity: important
Tags: patch

Fixing bug #274738 for binutils allows to build inkscape without the
xgot hack on mips/mipsel. Since this may also break the existing xgot
support, a rebuild with the appended patch is needed.


Thiemo


--- debian/rules.old    2006-07-05 17:20:56.000000000 +0100
+++ debian/rules        2006-07-05 17:21:12.000000000 +0100
@@ -28,10 +28,6 @@ endif
 ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
   INSTALL_PROGRAM += -s
 endif
-ifneq (,$(findstring $(DEB_HOST_ARCH),mips mipsel))
-  MIPS_CXXFLAGS=-Wa,-xgot
-  MIPS_CFLAGS=-Wa,-xgot
-endif
 ifneq (,$(findstring $(DEB_HOST_ARCH),alpha))
   ALPHA_CXXFLAGS=-mieee
   ALPHA_CFLAGS=-mieee
--- configure.old       2006-07-05 17:20:29.000000000 +0100
+++ configure   2006-07-05 17:20:44.000000000 +0100
@@ -29508,13 +29508,6 @@ rm -f conftest.err conftest.$ac_objext c
   # as a callback or similar function pointer use).
 
   CXXFLAGS="-Wall -W -Wpointer-arith -Wcast-align -Wsign-compare 
-Woverloaded-virtual -Wswitch  $CXXFLAGS"
-
-    case "$host_cpu" in
-    mips|mipsel)
-                  CXXFLAGS="$CXXFLAGS -Wa,-xgot"
-      CFLAGS="$CFLAGS -Wa,-xgot"
-      ;;
-  esac
 fi
 
 
--- configure.ac.old    2006-07-05 17:19:18.000000000 +0100
+++ configure.ac        2006-07-05 17:21:15.000000000 +0100
@@ -655,16 +655,6 @@ if test "$GXX" = "yes"; then
   # as a callback or similar function pointer use).
 
   CXXFLAGS="-Wall -W -Wpointer-arith -Wcast-align -Wsign-compare 
-Woverloaded-virtual -Wswitch  $CXXFLAGS"
-
-  dnl Test for arch-specific situations.
-  case "$host_cpu" in
-    mips|mipsel)
-      dnl Symbol tables can get too large: this uses alternate tables
-      dnl See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=283476
-      CXXFLAGS="$CXXFLAGS -Wa,-xgot"
-      CFLAGS="$CFLAGS -Wa,-xgot"
-      ;;
-  esac
 fi
 
 dnl ******************************


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to