Author: tille Date: 2016-10-19 03:32:40 +0000 (Wed, 19 Oct 2016) New Revision: 22848
Added: trunk/packages/R/r-cran-curl/trunk/debian/patches/ trunk/packages/R/r-cran-curl/trunk/debian/patches/byteswap.patch trunk/packages/R/r-cran-curl/trunk/debian/patches/series Modified: trunk/packages/R/r-cran-curl/trunk/debian/changelog Log: Fix FTBFS on big-endian architectures Modified: trunk/packages/R/r-cran-curl/trunk/debian/changelog =================================================================== --- trunk/packages/R/r-cran-curl/trunk/debian/changelog 2016-10-19 03:28:53 UTC (rev 22847) +++ trunk/packages/R/r-cran-curl/trunk/debian/changelog 2016-10-19 03:32:40 UTC (rev 22848) @@ -1,6 +1,9 @@ r-cran-curl (2.1-1) UNRELEASED; urgency=medium * New upstream version + * Fix FTBFS on big-endian architectures (thanks for the patch to Aurelien + Jarno <aure...@debian.org>) + Closes: #841210 -- Andreas Tille <ti...@debian.org> Wed, 19 Oct 2016 05:28:00 +0200 Added: trunk/packages/R/r-cran-curl/trunk/debian/patches/byteswap.patch =================================================================== --- trunk/packages/R/r-cran-curl/trunk/debian/patches/byteswap.patch (rev 0) +++ trunk/packages/R/r-cran-curl/trunk/debian/patches/byteswap.patch 2016-10-19 03:32:40 UTC (rev 22848) @@ -0,0 +1,17 @@ +Author: Aurelien Jarno <aure...@debian.org> +Bug-Debian: https://bugs.debian.org/841210 +Last-Update: Tue, 18 Oct 2016 16:17:52 +0200 +Description: BSWAP_32 is only defined for Sun, Apple or OpenBSD + +--- a/src/curl.c ++++ b/src/curl.c +@@ -23,6 +23,9 @@ + #define BSWAP_32 OSSwapInt32 + #elif (defined(__OpenBSD__)) + #define BSWAP_32(x) swap32(x) ++#elif (defined(__GLIBC__)) ++#include <byteswap.h> ++#define BSWAP_32(x) bswap_32(x) + #endif + + /* the RConnection API is experimental and subject to change */ Added: trunk/packages/R/r-cran-curl/trunk/debian/patches/series =================================================================== --- trunk/packages/R/r-cran-curl/trunk/debian/patches/series (rev 0) +++ trunk/packages/R/r-cran-curl/trunk/debian/patches/series 2016-10-19 03:32:40 UTC (rev 22848) @@ -0,0 +1 @@ +byteswap.patch _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit