- update patch0

OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=8
This commit is contained in:
Corot Sebastien 2012-05-02 21:17:24 +00:00 committed by Git OBS Bridge
parent d5e71933f9
commit 2dd3b55b65
4 changed files with 27 additions and 22 deletions

21
openblas-0.1.1-libs.patch Normal file
View File

@ -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::

View File

@ -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::

View File

@ -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

View File

@ -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