diff --git a/openblas-0.1.1-libs.patch b/openblas-0.1.1-libs.patch new file mode 100644 index 0000000..1440a8b --- /dev/null +++ b/openblas-0.1.1-libs.patch @@ -0,0 +1,21 @@ +diff -ur xianyi-OpenBLAS-e6e87a2-orig//exports/Makefile xianyi-OpenBLAS-e6e87a2//exports/Makefile +--- xianyi-OpenBLAS-e6e87a2-orig//exports/Makefile 2012-04-30 07:07:14.000000000 +0200 ++++ xianyi-OpenBLAS-e6e87a2//exports/Makefile 2012-05-02 23:13:35.520485273 +0200 +@@ -18,17 +18,9 @@ + NO_LAPACKE = 0 + endif + +-ifeq ($(OSNAME), WINNT) + ifeq ($(F_COMPILER), GFORTRAN) + EXTRALIB += -lgfortran + endif +-endif +- +-ifeq ($(OSNAME), CYGWIN_NT) +-ifeq ($(F_COMPILER), GFORTRAN) +-EXTRALIB += -lgfortran +-endif +-endif + + all:: + diff --git a/openblas-libs.patch b/openblas-libs.patch deleted file mode 100644 index 0d4215b..0000000 --- a/openblas-libs.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up xianyi-OpenBLAS-92ba8a7/exports/Makefile.orig xianyi-OpenBLAS-92ba8a7/exports/Makefile ---- xianyi-OpenBLAS-92ba8a7/exports/Makefile.orig 2011-09-18 11:57:28.000000000 +0300 -+++ xianyi-OpenBLAS-92ba8a7/exports/Makefile 2011-09-18 18:12:39.348157211 +0300 -@@ -10,17 +10,9 @@ ifndef NO_CBLAS - NO_CBLAS = 0 - endif - --ifeq ($(OSNAME), WINNT) - ifeq ($(F_COMPILER), GFORTRAN) - EXTRALIB += -lgfortran - endif --endif -- --ifeq ($(OSNAME), CYGWIN_NT) --ifeq ($(F_COMPILER), GFORTRAN) --EXTRALIB += -lgfortran --endif --endif - - all:: - diff --git a/openblas.changes b/openblas.changes index bc6a8e8..4115def 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 2 21:16:16 UTC 2012 - scorot@free.fr + +- update patch0 + ------------------------------------------------------------------- Wed May 2 20:45:18 UTC 2012 - scorot@free.fr diff --git a/openblas.spec b/openblas.spec index f8dd3c7..d2bccaa 100644 --- a/openblas.spec +++ b/openblas.spec @@ -29,7 +29,7 @@ Source0: xianyi-OpenBLAS-v0.1.1-0-g5b7f443.tar.gz # LAPACK Source1: http://www.netlib.org/lapack/lapack-3.4.1.tgz # Link against libgfortran -Patch0: openblas-libs.patch +Patch0: openblas-0.1.1-libs.patch Patch1: c_xerbla_no-void-return.patch Patch2: openblas-0.1.0-soname.patch Patch3: openblas-0.1.0-noexecstack.patch