Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-CC: hazel...@debian.org

Please unblock package petsc. The version currently in Sid fixes RC bug
#691307. The debdiff is attached.

unblock petsc/3.2.dfsg-6

Thanks,
diff -Nru petsc-3.2.dfsg/debian/changelog petsc-3.2.dfsg/debian/changelog
--- petsc-3.2.dfsg/debian/changelog	2012-01-26 21:02:15.000000000 +0100
+++ petsc-3.2.dfsg/debian/changelog	2012-11-11 16:33:10.000000000 +0100
@@ -1,3 +1,13 @@
+petsc (3.2.dfsg-6) unstable; urgency=low
+
+  * Team upload.
+  * Fix PETSC_CHECKS m4 macro so that it also detects static petsc library
+    - petsc.m4: add -lhdf5 and -lstdc++ to PETSC_EXTERNAL_LIBS
+    - d/rules: add g++ to petsc-compilers
+    Thanks to Anton Gladky for a first version of the patch. (Closes: #691307)
+
+ -- Sébastien Villemot <sebast...@debian.org>  Sun, 11 Nov 2012 16:26:06 +0100
+
 petsc (3.2.dfsg-5) unstable; urgency=low
 
   * Rebuild with newest version of HDF5, and force >= 1.8.8.
diff -Nru petsc-3.2.dfsg/debian/petsc.m4 petsc-3.2.dfsg/debian/petsc.m4
--- petsc-3.2.dfsg/debian/petsc.m4	2011-12-27 23:53:43.000000000 +0100
+++ petsc-3.2.dfsg/debian/petsc.m4	2012-11-11 16:22:08.000000000 +0100
@@ -39,7 +39,7 @@
 	dnl files; makefiles should include "$(PETSC_DIR)/conf/base"
 	dnl and use e.g. ${PETSC_DM_LIB} etc.
 	PETSC_LIBDIR="$PETSC_DIR/$PETSC_ARCH/lib"
-	PETSC_EXTERNAL_LIBS="$PETSC_MPI_LIBS $PETSC_X11_LIBS $BLASLAPACK_LIBS"
+	PETSC_EXTERNAL_LIBS="$PETSC_MPI_LIBS $PETSC_X11_LIBS $BLASLAPACK_LIBS -lhdf5 -lstdc++"
 
 	dnl Basic check
 	aLIBS="$LIBS"
diff -Nru petsc-3.2.dfsg/debian/rules petsc-3.2.dfsg/debian/rules
--- petsc-3.2.dfsg/debian/rules	2012-01-19 20:39:18.000000000 +0100
+++ petsc-3.2.dfsg/debian/rules	2012-11-11 16:20:19.000000000 +0100
@@ -434,7 +434,7 @@
 	  echo "petsc-compilers=ccc, cfal" >> debian/lib$(PETSC_NAME)-dev.substvars; \
 	else \
 	  echo "linear-algebra-dev=libblas-dev | libblas-3gf.so, liblapack-dev | liblapack-3gf.so" >> debian/lib$(PETSC_NAME)-dev.substvars; \
-	  echo "petsc-compilers=gfortran" >> debian/lib$(PETSC_NAME)-dev.substvars; \
+	  echo "petsc-compilers=gfortran, g++" >> debian/lib$(PETSC_NAME)-dev.substvars; \
 	fi
 	if [ "$(DEBIAN_DIST)" = "main" ]; then \
 	  echo "petsc-extra-dev=" >> debian/lib$(PETSC_NAME)-dev.substvars; \
-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

Attachment: pgpVTcUruy5FB.pgp
Description: PGP signature

Reply via email to