diff options
Diffstat (limited to 'sci-libs/blas-atlas/files/atlas-3.9.0-upstream-fixes.patch')
-rw-r--r-- | sci-libs/blas-atlas/files/atlas-3.9.0-upstream-fixes.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-libs/blas-atlas/files/atlas-3.9.0-upstream-fixes.patch b/sci-libs/blas-atlas/files/atlas-3.9.0-upstream-fixes.patch new file mode 100644 index 000000000000..a0e548f10d73 --- /dev/null +++ b/sci-libs/blas-atlas/files/atlas-3.9.0-upstream-fixes.patch @@ -0,0 +1,21 @@ +diff -Naur ATLAS/src/auxil/ATL_ptflushcache.c ATLAS.new/src/auxil/ATL_ptflushcache.c +--- ATLAS/src/auxil/ATL_ptflushcache.c 2008-07-17 21:24:53.000000000 -0400 ++++ ATLAS.new/src/auxil/ATL_ptflushcache.c 2008-07-18 18:40:37.000000000 -0400 +@@ -88,7 +88,7 @@ + } + fct[i].N = N; + fct[i].dp = cache+i*N; +- ATL_ptCF(fct+i); ++ ATL_ptCF(fct+i-1); + dret = fct[i].dret; + for (i=0; i < ATL_NTHREADS-1; i++) + { +@@ -133,7 +133,7 @@ + { + ATL_assert(!pthread_create(tp+i, &attr, ATL_ptCLF, fp)); + } +- ATL_FlushAreaByCL(fp); /* should be redundant, do to be safe */ ++ ATL_FlushAreasByCL(fp); /* should be redundant, do to be safe */ + for (i=0; i < ATL_NTHREADS; i++) + { + ATL_assert(!pthread_join(tp[i], NULL)); |