r44514 - in /packages/atlas/trunk/debian: changelog libatlas3gf-base.prerm patches/23_fix_unresolvable_on_sh4.diff

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Mon Feb 20 19:04:24 UTC 2012


Author: sylvestre
Date: Mon Feb 20 19:04:23 2012
New Revision: 44514

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44514
Log:
Fix a FTBFS under sh4. Thanks to Nobuhiro Iwamatsu for the patch
(Closes: #605650)

Added:
    packages/atlas/trunk/debian/libatlas3gf-base.prerm
    packages/atlas/trunk/debian/patches/23_fix_unresolvable_on_sh4.diff
Modified:
    packages/atlas/trunk/debian/changelog

Modified: packages/atlas/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/atlas/trunk/debian/changelog?rev=44514&op=diff
==============================================================================
--- packages/atlas/trunk/debian/changelog (original)
+++ packages/atlas/trunk/debian/changelog Mon Feb 20 19:04:23 2012
@@ -7,6 +7,8 @@
     fixed
   * copyright-refers-to-deprecated-bsd-license-file fixed
   * libatlas3gf-base is now a transitional package to libatlas3-base
+  * Fix a FTBFS under sh4. Thanks to Nobuhiro Iwamatsu for the patch
+    (Closes: #605650)
 
  -- Sylvestre Ledru <sylvestre at debian.org>  Mon, 20 Feb 2012 18:58:04 +0100
 

Added: packages/atlas/trunk/debian/libatlas3gf-base.prerm
URL: http://svn.debian.org/wsvn/debian-science/packages/atlas/trunk/debian/libatlas3gf-base.prerm?rev=44514&op=file
==============================================================================
--- packages/atlas/trunk/debian/libatlas3gf-base.prerm (added)
+++ packages/atlas/trunk/debian/libatlas3gf-base.prerm Mon Feb 20 19:04:23 2012
@@ -1,0 +1,28 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "upgrade" ]
+then
+# Remove the old declaration
+    update-alternatives --remove-all libblas.so.3gf
+    update-alternatives --remove-all liblapack.so.3gf
+fi
+
+if [ "$1" != "upgrade" ]
+then
+# For the transition libblas3gf => libblas3
+    update-alternatives --remove  libblas.so.3gf     \
+    /usr/lib/atlas-base/atlas/libblas.so.3gf
+
+# For the transition liblapack3gf => liblapack3
+    update-alternatives --remove  liblapack.so.3gf     \
+    /usr/lib/atlas-base/atlas/liblapack.so.3gf
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Added: packages/atlas/trunk/debian/patches/23_fix_unresolvable_on_sh4.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/atlas/trunk/debian/patches/23_fix_unresolvable_on_sh4.diff?rev=44514&op=file
==============================================================================
--- packages/atlas/trunk/debian/patches/23_fix_unresolvable_on_sh4.diff (added)
+++ packages/atlas/trunk/debian/patches/23_fix_unresolvable_on_sh4.diff Mon Feb 20 19:04:23 2012
@@ -1,0 +1,11 @@
+--- a/makes/Make.lib	2010-12-01 11:24:41.000000000 +0900
++++ b/makes/Make.lib	2010-12-01 11:25:06.000000000 +0900
+@@ -101,7 +101,7 @@
+ 
+ libatlas.so.3gf.0 : libatlas.a
+ 	ld $(LDFLAGS) -shared -soname libatlas.so.3gf -o $@ \
+-        --whole-archive libatlas.a --no-whole-archive -lc $(LIBS)
++        --whole-archive libatlas.a --no-whole-archive -lc $(LIBS) $(F77SYSLIB)
+ liblapack_atlas.so.3gf.0 : liblapack_atlas.a libatlas.so libcblas.so libf77blas.so
+ 	ld $(LDFLAGS) -shared -soname liblapack_atlas.so.3gf -o $@ \
+ 	  --whole-archive liblapack_atlas.a  \




More information about the debian-science-commits mailing list