From 06ef09943c33220e18d059a587a6f06ec69e86d4 Mon Sep 17 00:00:00 2001 From: Rakesh Pandit Date: Thu, 23 Oct 2008 10:18:16 +0000 Subject: [PATCH] patch for sh arch --- .cvsignore | 2 +- import.log | 1 + octave-sh-arch.patch | 12 ++++++++++++ octave.spec | 15 ++++++++++++--- sources | 2 +- 5 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 import.log create mode 100644 octave-sh-arch.patch diff --git a/.cvsignore b/.cvsignore index 13221e9..14c78e2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -octave-3.0.1.tar.bz2 +octave-3.0.2.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..451ede6 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +octave-3_0_2-2_fc10:F-9:octave-3.0.2-2.fc10.src.rpm:1224776575 diff --git a/octave-sh-arch.patch b/octave-sh-arch.patch new file mode 100644 index 0000000..e930538 --- /dev/null +++ b/octave-sh-arch.patch @@ -0,0 +1,12 @@ +diff -u octave-3.0.2.org/configure octave-3.0.2/configure +--- octave-3.0.2.org/configure 2008-10-23 20:03:19.000000000 +0530 ++++ octave-3.0.2/configure 2008-10-23 20:03:44.000000000 +0530 +@@ -11078,7 +11078,7 @@ + + ;; + # Ignore these flags. +- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) ++ -little| -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) + ;; + -lkernel32) + test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" diff --git a/octave.spec b/octave.spec index b5d59e2..d5add6b 100644 --- a/octave.spec +++ b/octave.spec @@ -2,14 +2,15 @@ %define octave_api api-v32 Name: octave -Version: 3.0.1 -Release: 1%{?dist} +Version: 3.0.2 +Release: 2%{?dist} Summary: A high-level language for numerical computations Epoch: 6 Group: Applications/Engineering License: GPLv3+ Source: ftp://ftp.octave.org/pub/octave/octave-%{version}.tar.bz2 +Patch1: octave-sh-arch.patch URL: http://www.octave.org Requires: gnuplot less info texinfo Requires(post): /sbin/install-info @@ -61,6 +62,8 @@ then exit 1 fi +# patch for sh arch +%patch1 -p1 -b .sh-arch %build %define enable64 no @@ -141,7 +144,13 @@ fi %changelog -* Tue Apr 22 2008 Quentin Spencer 3.0.1-1 +* Thu Oct 23 2008 Rakesh Pandit 3.0.2-2 +- patch for sh arch: it adds '-little' flag + +* Mon Sep 8 2008 Orion Poplawski 3.0.2-1 +- Update to 3.0.2 + +* Mon Apr 21 2008 Quentin Spencer 3.0.1-1 - New release of octave. Remove gcc 4.3 patch. * Mon Mar 3 2008 Alex Lancaster - 6:3.0.0-6 diff --git a/sources b/sources index 48143c7..1d22da5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -230f3895a42386ec625bf2593a44c441 octave-3.0.1.tar.bz2 +931e28ab1181018c8079fb8138971ab0 octave-3.0.2.tar.bz2