Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
In order to fix #684823, which solution does the Release Team prefer: - unblock r-cran-pscl/1.03.10-1.1 which is currently in sid and contains the fix, - or me making an upload to t-p-u, with the attached patch? Thanks,
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 08:28:46.000000000 +0200 +++ r-cran-pscl-1.03.5/debian/changelog 2012-09-27 21:16:15.000000000 +0200 @@ -1,3 +1,10 @@ +r-cran-pscl (1.03.5-1+deb70u1) testing-proposed-updates; urgency=low + + * Non-maintainer upload. + * replace-obsolete-pythag.patch: new patch, fixes FTBFS (Closes: #684823) + + -- Sébastien Villemot <sebast...@debian.org> Thu, 27 Sep 2012 21:15:23 +0200 + 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 01:00:00.000000000 +0100 +++ r-cran-pscl-1.03.5/debian/patches/replace-obsolete-pythag.patch 2012-09-27 21:14:49.000000000 +0200 @@ -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 01:00:00.000000000 +0100 +++ r-cran-pscl-1.03.5/debian/patches/series 2012-09-27 21:14:49.000000000 +0200 @@ -0,0 +1 @@ +replace-obsolete-pythag.patch