mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
9bdf56dc13
* 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.
14 lines
387 B
Diff
14 lines
387 B
Diff
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[] = {
|