Control: tags -1 + patch Dear Maintainer,
Please find attached a patch for this bug, for an upload to testing-proposed-updates. The alternative solution would be to get an unblock for the new upstream version currently in sid, but I guess this can be difficult to obtain. Regards,
diff -Nru r-cran-pscl-1.03.5/debian/changelog r-cran-pscl-1.03.5/debian/changelog --- r-cran-pscl-1.03.5/debian/changelog 2010-04-14 06:28:46.000000000 +0000 +++ r-cran-pscl-1.03.5/debian/changelog 2012-08-27 20:59:29.000000000 +0000 @@ -1,3 +1,10 @@ +r-cran-pscl (1.03.5-1+wheezy1) testing-proposed-updates; urgency=low + + * Non-maintainer upload. + * replace-obsolete-pythag.patch: new patch, fixes FTBFS (Closes: #684823) + + -- Sébastien Villemot <sebastien.ville...@ens.fr> Mon, 27 Aug 2012 20:30:59 +0000 + r-cran-pscl (1.03.5-1) unstable; urgency=low * New upstream release. diff -Nru r-cran-pscl-1.03.5/debian/patches/replace-obsolete-pythag.patch r-cran-pscl-1.03.5/debian/patches/replace-obsolete-pythag.patch --- r-cran-pscl-1.03.5/debian/patches/replace-obsolete-pythag.patch 1970-01-01 00:00:00.000000000 +0000 +++ r-cran-pscl-1.03.5/debian/patches/replace-obsolete-pythag.patch 2012-08-27 20:58:21.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Use hypot instead of pythag + The pythag function has been definitely abandoned in favor of hypot in + R 2.14.0, see /usr/share/doc/r-base-core/changelog.gz +Origin: upstream, version 1.03.10 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684823 +Last-Update: 2012-08-27 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/pi.c ++++ b/src/pi.c +@@ -13,7 +13,7 @@ + GetRNGstate(); + + for(i=0;i<*n;i++){ +- d = pythag(unif_rand(),unif_rand()); ++ d = hypot(unif_rand(),unif_rand()); + if(d<1.0) + (*z)++; + } diff -Nru r-cran-pscl-1.03.5/debian/patches/series r-cran-pscl-1.03.5/debian/patches/series --- r-cran-pscl-1.03.5/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ r-cran-pscl-1.03.5/debian/patches/series 2012-08-27 20:35:27.000000000 +0000 @@ -0,0 +1 @@ +replace-obsolete-pythag.patch
-- .''`. Sébastien Villemot : :' : Debian Maintainer `. `' http://www.dynare.org/sebastien `- GPG Key: 4096R/381A7594
pgpJFYGGLJu6p.pgp
Description: PGP signature