diff options
author | Mark H Weaver <mhw@netris.org> | 2016-07-29 15:58:06 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2016-07-29 16:06:43 -0400 |
commit | ce290354ec4e97003be5f56042e55b36831818c1 (patch) | |
tree | 08deef478685ebac409d76ad4d68f3cef61d779a /gnu/packages/patches/gd-fix-gd2-read-test.patch | |
parent | 814572aff53ced7a4c92192f5e7e682d1900de51 (diff) | |
download | guix-ce290354ec4e97003be5f56042e55b36831818c1.tar guix-ce290354ec4e97003be5f56042e55b36831818c1.tar.gz |
gnu: gd: Add fix for gd2_read test.
* gnu/packages/patches/gd-fix-gd2-read-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gd.scm (gd)[source]: Add patch.
Diffstat (limited to 'gnu/packages/patches/gd-fix-gd2-read-test.patch')
-rw-r--r-- | gnu/packages/patches/gd-fix-gd2-read-test.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/gd-fix-gd2-read-test.patch b/gnu/packages/patches/gd-fix-gd2-read-test.patch new file mode 100644 index 0000000000..65f39e4426 --- /dev/null +++ b/gnu/packages/patches/gd-fix-gd2-read-test.patch @@ -0,0 +1,14 @@ +Fix a 'maybe-uninitialized' warning (turned error) +which occurs on non-Intel platforms. + +--- libgd-2.2.3/tests/gd2/gd2_read.c 2016-07-21 01:21:16.000000000 -0400 ++++ libgd-2.2.3/tests/gd2/gd2_read.c 2016-07-29 15:52:03.806405312 -0400 +@@ -5,7 +5,7 @@ + + int main(int argc, char *argv[]) + { +- int error, i = 0; ++ int error = 0, i = 0; + gdImagePtr im, exp; + FILE *fp; + char *path[] = { |