summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2016-07-29 16:17:35 -0400
committerMark H Weaver <mhw@netris.org>2016-07-29 16:17:35 -0400
commit31c995f8afbb3dc2913c9bfb17ea8de68cf804cb (patch)
tree37ebf2aae7ea46c0407ec47943234e4b21563948
parentce290354ec4e97003be5f56042e55b36831818c1 (diff)
Revert "gnu: gd: Add fix for gd2_read test."
This reverts commit ce290354ec4e97003be5f56042e55b36831818c1.
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/gd.scm3
-rw-r--r--gnu/packages/patches/gd-fix-gd2-read-test.patch14
3 files changed, 1 insertions, 17 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 473197078de..a0d9b8fe119 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -514,7 +514,6 @@ dist_patch_DATA = \
514 %D%/packages/patches/gcc-cross-environment-variables.patch \ 514 %D%/packages/patches/gcc-cross-environment-variables.patch \
515 %D%/packages/patches/gcc-libvtv-runpath.patch \ 515 %D%/packages/patches/gcc-libvtv-runpath.patch \
516 %D%/packages/patches/gcc-5.0-libvtv-runpath.patch \ 516 %D%/packages/patches/gcc-5.0-libvtv-runpath.patch \
517 %D%/packages/patches/gd-fix-gd2-read-test.patch \
518 %D%/packages/patches/gd-fix-tests-on-i686.patch \ 517 %D%/packages/patches/gd-fix-tests-on-i686.patch \
519 %D%/packages/patches/gegl-CVE-2012-4433.patch \ 518 %D%/packages/patches/gegl-CVE-2012-4433.patch \
520 %D%/packages/patches/geoclue-config.patch \ 519 %D%/packages/patches/geoclue-config.patch \
diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm
index b1bbc22cd71..153e1c7f8b6 100644
--- a/gnu/packages/gd.scm
+++ b/gnu/packages/gd.scm
@@ -50,8 +50,7 @@
50 (sha256 50 (sha256
51 (base32 51 (base32
52 "0g3xz8jpz1pl2zzmssglrpa9nxiaa7rmcmvgpbrjz8k9cyynqsvl")) 52 "0g3xz8jpz1pl2zzmssglrpa9nxiaa7rmcmvgpbrjz8k9cyynqsvl"))
53 (patches (search-patches "gd-fix-gd2-read-test.patch" 53 (patches (search-patches "gd-fix-tests-on-i686.patch"))))
54 "gd-fix-tests-on-i686.patch"))))
55 (build-system gnu-build-system) 54 (build-system gnu-build-system)
56 (native-inputs 55 (native-inputs
57 `(("pkg-config" ,pkg-config))) 56 `(("pkg-config" ,pkg-config)))
diff --git a/gnu/packages/patches/gd-fix-gd2-read-test.patch b/gnu/packages/patches/gd-fix-gd2-read-test.patch
deleted file mode 100644
index 65f39e44260..00000000000
--- a/gnu/packages/patches/gd-fix-gd2-read-test.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1Fix a 'maybe-uninitialized' warning (turned error)
2which occurs on non-Intel platforms.
3
4--- libgd-2.2.3/tests/gd2/gd2_read.c 2016-07-21 01:21:16.000000000 -0400
5+++ libgd-2.2.3/tests/gd2/gd2_read.c 2016-07-29 15:52:03.806405312 -0400
6@@ -5,7 +5,7 @@
7
8 int main(int argc, char *argv[])
9 {
10- int error, i = 0;
11+ int error = 0, i = 0;
12 gdImagePtr im, exp;
13 FILE *fp;
14 char *path[] = {