[Midnightbsd-cvs] mports [21209] trunk/graphics/giflib/files: add patchset

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 15 18:12:03 EDT 2016


Revision: 21209
          http://svnweb.midnightbsd.org/mports/?rev=21209
Author:   laffer1
Date:     2016-03-15 18:12:02 -0400 (Tue, 15 Mar 2016)
Log Message:
-----------
add patchset

Added Paths:
-----------
    trunk/graphics/giflib/files/
    trunk/graphics/giflib/files/patch-hide-reallocarray

Added: trunk/graphics/giflib/files/patch-hide-reallocarray
===================================================================
--- trunk/graphics/giflib/files/patch-hide-reallocarray	                        (rev 0)
+++ trunk/graphics/giflib/files/patch-hide-reallocarray	2016-03-15 22:12:02 UTC (rev 21209)
@@ -0,0 +1,24 @@
+--- lib/dgif_lib.c.orig	2016-01-07 10:44:44 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                          
+ ******************************************************************************/


Property changes on: trunk/graphics/giflib/files/patch-hide-reallocarray
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list