summaryrefslogtreecommitdiffstats
path: root/gd-gdcalloc.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-04-21 17:03:17 +0200
committerRemi Collet <fedora@famillecollet.com>2013-04-21 17:03:17 +0200
commit64eeb5f34d30b45455fcc3b6c0314a45783b6784 (patch)
treeff5a75464769ecea1c924f235c14fb70e240c1ab /gd-gdcalloc.patch
parent6a715214dc1997c7e40ec98c1e103e554d50db7c (diff)
more work:
- gd-2.1.0-multilib.patch - refresh sources (for missing files) - upstream patch for gdCalloc in tests
Diffstat (limited to 'gd-gdcalloc.patch')
-rw-r--r--gd-gdcalloc.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/gd-gdcalloc.patch b/gd-gdcalloc.patch
deleted file mode 100644
index 00815ad..0000000
--- a/gd-gdcalloc.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/src/gd.h b/src/gd.h
-index 50dfe7f..1a33e98 100644
---- a/src/gd.h
-+++ b/src/gd.h
-@@ -729,6 +729,7 @@ BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * out, int level);
- BGD_DECLARE(void) gdImageWBMP (gdImagePtr image, int fg, FILE * out);
- BGD_DECLARE(void) gdImageWBMPCtx (gdImagePtr image, int fg, gdIOCtx * out);
-
-+BGD_DECLARE(void *) gdCalloc (size_t nmemb, size_t size);
- /* Guaranteed to correctly free memory returned by the gdImage*Ptr
- functions */
- BGD_DECLARE(void) gdFree (void *m);
-diff --git a/src/gdhelpers.c b/src/gdhelpers.c
-index 577e9d5..0e6cf61 100644
---- a/src/gdhelpers.c
-+++ b/src/gdhelpers.c
-@@ -61,7 +61,7 @@ gd_strtok_r (char *s, char *sep, char **state)
- return result;
- }
-
--void *
-+BGD_DECLARE(void *)
- gdCalloc (size_t nmemb, size_t size)
- {
- return calloc (nmemb, size);