octave-octgpr (1.2.0-3) octave-octgpr_sh4_support.diff

Summary

 src/configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Subject: Change configure script to work on sh4 architecture
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;filename=octave-octgpr_sh4_support.diff;att=1;bug=560335
Bug-Debian: http://bugs.debian.org/560335
Description: The original configure script was generated with autotools 2.61,
 which doesn't take sh4 into account. Upstream code was changed to generate a a
 fresh configure script at release time, so this patch is vendor-specific and
 can be dropped with the next upstream release.
--- a/src/configure
+++ b/src/configure
@@ -4606,7 +4606,7 @@
 
           ;;
           # Ignore these flags.
-        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
+        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*)
           ;;
         -lkernel32)
           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"