From: Luis Medinas Date: Mon, 5 Sep 2005 11:30:40 +0000 (+0000) Subject: Add missing patch X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=119322ab3d1202f1598ea38f7c3f0cc1d2ed5321;p=gentoo.git Add missing patch --- diff --git a/app-text/xpdf/files/xpdf-3.00-64bit.patch b/app-text/xpdf/files/xpdf-3.00-64bit.patch new file mode 100644 index 000000000000..ec13b7bb261f --- /dev/null +++ b/app-text/xpdf/files/xpdf-3.00-64bit.patch @@ -0,0 +1,55 @@ +--- xpdf-3.00/goo/gmem.h.me 2005-07-25 10:47:46.000000000 +0200 ++++ xpdf-3.00/goo/gmem.h 2005-07-25 10:49:55.000000000 +0200 +@@ -19,13 +19,13 @@ + * Same as malloc, but prints error message and exits if malloc() + * returns NULL. + */ +-extern void *gmalloc(int size); ++extern void *gmalloc(size_t size); + + /* + * Same as realloc, but prints error message and exits if realloc() + * returns NULL. If

is NULL, calls malloc instead of realloc(). + */ +-extern void *grealloc(void *p, int size); ++extern void *grealloc(void *p, size_t size); + + /* + * Same as free, but checks for and ignores NULL pointers. +--- xpdf-3.00/goo/gmem.c.me 2005-07-25 10:47:51.000000000 +0200 ++++ xpdf-3.00/goo/gmem.c 2005-07-25 10:49:30.000000000 +0200 +@@ -53,9 +53,9 @@ + + #endif /* DEBUG_MEM */ + +-void *gmalloc(int size) { ++void *gmalloc(size_t size) { + #ifdef DEBUG_MEM +- int size1; ++ size_t size1; + char *mem; + GMemHdr *hdr; + void *data; +@@ -94,11 +94,11 @@ + #endif + } + +-void *grealloc(void *p, int size) { ++void *grealloc(void *p, size_t size) { + #ifdef DEBUG_MEM + GMemHdr *hdr; + void *q; +- int oldSize; ++ size_t oldSize; + + if (size == 0) { + if (p) +@@ -137,7 +137,7 @@ + + void gfree(void *p) { + #ifdef DEBUG_MEM +- int size; ++ size_t size; + GMemHdr *hdr; + GMemHdr *prevHdr, *q; + int lst;