diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-05-26 15:36:24 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-05-26 15:36:24 +0800 |
commit | 734700d58220106b168cb1c4adb8d380e7bb6de0 (patch) | |
tree | ef081908e4eb9e289f4a504a53e55375189ab913 /graphics/gd/files | |
parent | 1295c51a3d29a2f5d55fccfacf25ae6d705374a6 (diff) | |
download | freebsd-ports-gnome-734700d58220106b168cb1c4adb8d380e7bb6de0.tar.gz freebsd-ports-gnome-734700d58220106b168cb1c4adb8d380e7bb6de0.tar.zst freebsd-ports-gnome-734700d58220106b168cb1c4adb8d380e7bb6de0.zip |
- update to 2.0.24
67144
Dan Lukes
- update to 2.0.25
Diffstat (limited to 'graphics/gd/files')
-rw-r--r-- | graphics/gd/files/patch-gd.h | 61 |
1 files changed, 30 insertions, 31 deletions
diff --git a/graphics/gd/files/patch-gd.h b/graphics/gd/files/patch-gd.h index ffd6e24ab637..0d28a17a9fdc 100644 --- a/graphics/gd/files/patch-gd.h +++ b/graphics/gd/files/patch-gd.h @@ -1,57 +1,56 @@ ---- gd.h.orig Thu Jan 15 18:42:10 2004 -+++ gd.h Wed Mar 17 16:52:30 2004 -@@ -273,6 +273,12 @@ +--- gd.h.orig Tue May 25 13:05:50 2004 ++++ gd.h Wed May 26 09:30:23 2004 +@@ -283,6 +283,12 @@ /* Deprecated in favor of gdImageCreateFromPngCtx */ - BGD_EXPORT gdImagePtr gdImageCreateFromPngSource (gdSourcePtr in); + BGD_DECLARE(gdImagePtr) gdImageCreateFromPngSource (gdSourcePtr in); +#ifdef __FreeBSD__ -+ BGD_EXPORT gdImagePtr gdImageCreateFromGif(FILE *fd); -+ BGD_EXPORT gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr in); -+ BGD_EXPORT gdImagePtr gdImageCreateFromGifSource(gdSourcePtr in); ++BGD_DECLARE(gdImagePtr) gdImageCreateFromGif(FILE *fd); ++BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr in); ++BGD_DECLARE(gdImagePtr) gdImageCreateFromGifSource(gdSourcePtr in); +#endif + - BGD_EXPORT gdImagePtr gdImageCreateFromGd (FILE * in); - BGD_EXPORT gdImagePtr gdImageCreateFromGdCtx (gdIOCtxPtr in); - BGD_EXPORT gdImagePtr gdImageCreateFromGdPtr (int size, void *data); -@@ -397,6 +403,9 @@ + BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * in); + BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx (gdIOCtxPtr in); + BGD_DECLARE(gdImagePtr) gdImageCreateFromGdPtr (int size, void *data); +@@ -411,6 +417,9 @@ gdPoint, *gdPointPtr; - BGD_EXPORT void gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c); + BGD_DECLARE(void) gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c); +#ifdef __FreeBSD__ -+ BGD_EXPORT void gdImageOpenPolygon(gdImagePtr im, gdPointPtr p, int n, int c); ++BGD_DECLARE(void) gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c); +#endif - BGD_EXPORT void gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c); + BGD_DECLARE(void) gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c); /* These functions still work with truecolor images, -@@ -498,6 +507,17 @@ +@@ -512,6 +521,16 @@ /* Best to free this memory with gdFree(), not free() */ - BGD_EXPORT void *gdImageJpegPtr (gdImagePtr im, int *size, int quality); + BGD_DECLARE(void *) gdImageJpegPtr (gdImagePtr im, int *size, int quality); +#ifdef __FreeBSD__ -+ BGD_EXPORT void gdImageLzw(gdImagePtr im, FILE *out); -+ BGD_EXPORT void* gdImageLzwPtr(gdImagePtr im, int *size); -+ BGD_EXPORT void gdImageLzwCtx(gdImagePtr im, gdIOCtxPtr out); ++BGD_DECLARE(void) gdImageLzw(gdImagePtr im, FILE *out); ++BGD_DECLARE(void *) gdImageLzwPtr(gdImagePtr im, int *size); ++BGD_DECLARE(void) gdImageLzwCtx(gdImagePtr im, gdIOCtxPtr out); + -+ BGD_EXPORT void gdImageBigGif(gdImagePtr im, FILE *out); -+ BGD_EXPORT void* gdImageBigGifPtr(gdImagePtr im, int *size); -+ BGD_EXPORT void gdImageBigGifCtx(gdImagePtr im, gdIOCtxPtr out); ++BGD_DECLARE(void) gdImageBigGif(gdImagePtr im, FILE *out); ++BGD_DECLARE(void *) gdImageBigGifPtr(gdImagePtr im, int *size); ++BGD_DECLARE(void) gdImageBigGifCtx(gdImagePtr im, gdIOCtxPtr out); +#endif + -+ /* A custom data sink. For backwards compatibility. Use gdIOCtx instead. */ /* The sink function must return -1 on error, otherwise the number -@@ -511,6 +531,13 @@ +@@ -525,6 +544,13 @@ gdSink, *gdSinkPtr; - BGD_EXPORT void gdImagePngToSink (gdImagePtr im, gdSinkPtr out); + BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr out); + +#ifdef __FreeBSD__ -+ BGD_EXPORT void gdImageGif(gdImagePtr im, FILE *out); -+ BGD_EXPORT void* gdImageGifPtr(gdImagePtr im, int *size); -+ BGD_EXPORT void gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out); -+ BGD_EXPORT void gdImageGifToSink(gdImagePtr im, gdSinkPtr out); ++BGD_DECLARE(void) gdImageGif(gdImagePtr im, FILE *out); ++BGD_DECLARE(void *) gdImageGifPtr(gdImagePtr im, int *size); ++BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out); ++BGD_DECLARE(void) gdImageGifToSink(gdImagePtr im, gdSinkPtr out); +#endif - BGD_EXPORT void gdImageGd (gdImagePtr im, FILE * out); - BGD_EXPORT void gdImageGd2 (gdImagePtr im, FILE * out, int cs, int fmt); + BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * out); + BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * out, int cs, int fmt); |