freebsd-ports/graphics/giflib/files/extra-patch-hide-reallocarray
Antoine Brodin c9c5c37375 - Update to 5.1.4
- Add LICENSE
- Add regression tests
2016-10-19 17:36:54 +00:00

24 lines
979 B
Text

--- lib/dgif_lib.c.orig 2016-04-02 15:34:00 UTC
+++ lib/dgif_lib.c
@@ -41,6 +41,9 @@ static int DGifDecompressInput(GifFileTy
static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf,
GifByteType *NextByte);
+extern void *
+reallocarray(void *optr, size_t nmemb, size_t size) __hidden;
+
/******************************************************************************
Open a new GIF file for read, given by its name.
Returns dynamically allocated GifFileType pointer which serves as the GIF
--- lib/gifalloc.c.orig 2015-07-13 04:05:46 UTC
+++ lib/gifalloc.c
@@ -12,6 +12,9 @@
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
+extern void *
+reallocarray(void *optr, size_t nmemb, size_t size) __hidden;
+
/******************************************************************************
Miscellaneous utility functions
******************************************************************************/