Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: r-cran-lwgeom

r-cran-lwgeom (0.1-7-1ubuntu3) groovy; urgency=medium * No-change rebuild against r-api-4.0 -- Graham Inggs <ginggs@ubuntu.com> Sun, 31 May 2020 05:52:31 +0000 r-cran-lwgeom (0.1-7-1ubuntu2) groovy; urgency=medium * debian/patches/fix-autopkgtest: a simple patch to fix the autopkgtest failure we're currently seeing for now, hopefully the bug in the new upstream version can be figured out soon. -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 27 May 2020 20:58:52 +1200 r-cran-lwgeom (0.1-7-1ubuntu1) groovy; urgency=medium * debian/patches/proj_gt_6.patch: support build against proj > 6. * Rebuild against proj 7. -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 26 May 2020 13:32:56 -0700 r-cran-lwgeom (0.1-7-1build1) focal; urgency=medium * Rebuild against new libproj15. -- Gianfranco Costamagna <locutusofborg@debian.org> Sat, 26 Oct 2019 13:58:51 +0200

Modifications :
  1. Download patch debian/patches/fix-autopkgtest

    --- 0.1-7-1/debian/patches/fix-autopkgtest 1970-01-01 00:00:00.000000000 +0000 +++ 0.1-7-1ubuntu3/debian/patches/fix-autopkgtest 2020-05-27 08:49:06.000000000 +0000 @@ -0,0 +1,45 @@ +--- a/src/liblwgeom/lwgeom_transform.c ++++ b/src/liblwgeom/lwgeom_transform.c +@@ -143,25 +143,26 @@ + LWDEBUGF(4, "transforming POINT(%f %f) from '%s' to '%s'", orig_pt.x, orig_pt.y, pj_get_def(srcpj,0), pj_get_def(dstpj,0)); + + /* Perform the transform */ +- pj_transform(srcpj, dstpj, 1, 0, &(pt->x), &(pt->y), &(pt->z)); ++ if (pj_transform(srcpj, dstpj, 1, 0, &(pt->x), &(pt->y), &(pt->z)) != 0) { + +- /* For NAD grid-shift errors, display an error message with an additional hint */ +- pj_errno_ref = pj_get_errno_ref(); ++ /* For NAD grid-shift errors, display an error message with an additional hint */ ++ pj_errno_ref = pj_get_errno_ref(); + +- if (*pj_errno_ref != 0) +- { +- if (*pj_errno_ref == -38) ++ if (*pj_errno_ref != 0) + { +- lwnotice("PostGIS was unable to transform the point because either no grid shift files were found, or the point does not lie within the range for which the grid shift is defined. Refer to the ST_Transform() section of the PostGIS manual for details on how to configure PostGIS to alter this behaviour."); +- lwerror("transform: couldn't project point (%g %g %g): %s (%d)", +- orig_pt.x, orig_pt.y, orig_pt.z, pj_strerrno(*pj_errno_ref), *pj_errno_ref); +- return 0; +- } +- else +- { +- lwerror("transform: couldn't project point (%g %g %g): %s (%d)", +- orig_pt.x, orig_pt.y, orig_pt.z, pj_strerrno(*pj_errno_ref), *pj_errno_ref); +- return 0; ++ if (*pj_errno_ref == -38) ++ { ++ lwnotice("PostGIS was unable to transform the point because either no grid shift files were found, or the point does not lie within the range for which the grid shift is defined. Refer to the ST_Transform() section of the PostGIS manual for details on how to configure PostGIS to alter this behaviour."); ++ lwerror("transform: couldn't project point (%g %g %g): %s (%d)", ++ orig_pt.x, orig_pt.y, orig_pt.z, pj_strerrno(*pj_errno_ref), *pj_errno_ref); ++ return 0; ++ } ++ else ++ { ++ lwerror("transform: couldn't project point (%g %g %g): %s (%d)", ++ orig_pt.x, orig_pt.y, orig_pt.z, pj_strerrno(*pj_errno_ref), *pj_errno_ref); ++ return 0; ++ } + } + } +
  2. Download patch debian/control

    --- 0.1-7-1/debian/control 2019-07-15 18:58:31.000000000 +0000 +++ 0.1-7-1ubuntu3/debian/control 2020-05-26 20:32:53.000000000 +0000 @@ -1,5 +1,6 @@ Source: r-cran-lwgeom -Maintainer: Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian R Packages Maintainers <r-pkg-team@alioth-lists.debian.net> Uploaders: Andreas Tille <tille@debian.org> Section: gnu-r Testsuite: autopkgtest-pkg-r
  3. Download patch debian/patches/proj_gt_6.patch

    --- 0.1-7-1/debian/patches/proj_gt_6.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.1-7-1ubuntu3/debian/patches/proj_gt_6.patch 2020-05-26 20:32:20.000000000 +0000 @@ -0,0 +1,22 @@ +Description: support build against proj > 6 + The configure script includes code to make it compatible with proj 6, but + we're now at proj 7. There is a newer upstream version of rcran-lwgeom + that supports proj 7, but it has regressed s390x support so do just this + for now. +Author: Steve Langasek <steve.langasek@ubuntu.com> +Last-Update: 2020-05-26 +Forwarded: not-needed + +Index: r-cran-lwgeom-0.1-7/configure.ac +=================================================================== +--- r-cran-lwgeom-0.1-7.orig/configure.ac ++++ r-cran-lwgeom-0.1-7/configure.ac +@@ -56,7 +56,7 @@ + if test "${proj_config_ok}" = yes; then + PROJ_VERSION=`${PROJ_CONFIG} --modversion` + PROJV1=`echo "${PROJ_VERSION}" | cut -c 1` +- if test "${PROJV1}" = "6"; then ++ if test "${PROJV1}" -ge "6"; then + AC_MSG_NOTICE([Support for PROJ >= 6.0.0 not yet available, deprecated API defined]) + PROJ_CPPFLAGS="${PROJ_CPPFLAGS} -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" + PROJ6="yes"
  4. Download patch debian/patches/series

    --- 0.1-7-1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ 0.1-7-1ubuntu3/debian/patches/series 2020-05-27 08:48:12.000000000 +0000 @@ -0,0 +1,2 @@ +proj_gt_6.patch +fix-autopkgtest
  1. r-cran-lwgeom