On Thu, Mar 02, 2017 at 05:37:07PM +0100, julien lepiller wrote: > From 10ab0fc95f83dbb291179cbf525d4bef196a827f Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Mon, 27 Feb 2017 11:09:11 +0100 > Subject: [PATCH 2/3] gnu: gd: Fix an issue with XBM decoding. > > * gnu/packages/patches/gd-php-73968-Fix-109-XBM-reading.patch: New file. > * gnu/local.scm (dist_patch_DATA): Add it. > * gnu/packages/gd.scm (gd)[source]: Use it. > diff --git a/gnu/packages/patches/gd-php-73968-Fix-109-XBM-reading.patch b/gnu/packages/patches/gd-php-73968-Fix-109-XBM-reading.patch > new file mode 100644 > index 0000000..c5c5022 > --- /dev/null > +++ b/gnu/packages/patches/gd-php-73968-Fix-109-XBM-reading.patch > @@ -0,0 +1,117 @@ Please include the actual link to the upstream commit: https://github.com/libgd/libgd/commit/082c5444838ea0d84f9fb6441aefdb44d78d9bba Including the link makes it *much* easier to review 3rd-party patches, whether are being submitted, or when we are trying to review them after they've been added (for example, when checking if an upstream update makes the patch redundant). Consider it a requirement if the upstream source control system makes it possible :) > +This bug was first reported to php on https://bugs.php.net/bug.php?id=73968. > +php then reported it to gd in https://github.com/libgd/libgd/issues/109. This > +patch is taken from commit 082c5444838ea0d84f9fb6441aefdb44d78d9bba of gd. > +Binary files have been removed from the patch because our patch procedure > +doesn't support that format.