Update to webp 0.0.4

This commit is contained in:
Johan van Selst 2010-11-23 20:46:13 +00:00
parent 26f82f9fb8
commit ad671cd382
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265025
3 changed files with 13 additions and 3 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= webp
PORTVERSION= 0.0.3
PORTVERSION= 0.0.4
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-leptonica-${PORTVERSION}

View file

@ -1,2 +1,2 @@
SHA256 (webp-leptonica-0.0.3.tar.gz) = 150e61b55fdff1ca32df6c685586765c04366d01b88c2d20ec7246152730a14c
SIZE (webp-leptonica-0.0.3.tar.gz) = 1323724
SHA256 (webp-leptonica-0.0.4.tar.gz) = 4afcd2fe9395074a74f590f0417b2d054c6dbca8fdbcd183e39d16f46c68c19f
SIZE (webp-leptonica-0.0.4.tar.gz) = 1355152

View file

@ -0,0 +1,10 @@
--- leptonlib-1.066/src/environ.h.orig 2010-11-23 12:47:09.000000000 +0100
+++ leptonlib-1.066/src/environ.h 2010-11-23 12:45:55.000000000 +0100
@@ -205,6 +205,7 @@ enum {
* on all heap data except for Pix. Memory management for Pix
* also defaults to malloc and free. See pix1.c for details.
*------------------------------------------------------------------------*/
+#include <stdlib.h>
#define MALLOC(blocksize) malloc(blocksize)
#define CALLOC(numelem, elemsize) calloc(numelem, elemsize)
#define REALLOC(ptr, blocksize) realloc(ptr, blocksize)