From efb928619b234d49b326a13f59a6e2ee354bf902 Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Mon, 18 Aug 2003 16:15:10 +0000 Subject: o Main modification graphics/gd(based on 1.8.4) -> graphics/gd1 graphics/gd2(based on 2.0.15) -> graphics/gd graphics/p5-GD(based on 1.41) -> graphics/p5-GD1 graphics/p5-GD2(based on 2.07) -> graphics/p5-GD japanese/gd -> japanese/gd1 japanese/gd2 -> japanese/gd o Include some feature WITH_XPM(w/, w/o WITHOUT_X11) o Chase this modification o Fix build error [1] PR: ports/54540 Submitted by: Ports Fury Approved by: maintainer (blanket) Reported by: bento via kris [1] --- graphics/gd/files/patch-gd.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 graphics/gd/files/patch-gd.h (limited to 'graphics/gd/files/patch-gd.h') diff --git a/graphics/gd/files/patch-gd.h b/graphics/gd/files/patch-gd.h new file mode 100644 index 000000000000..026f87b14b30 --- /dev/null +++ b/graphics/gd/files/patch-gd.h @@ -0,0 +1,41 @@ +--- gd.h Thu Jan 16 11:28:09 2003 ++++ gd.h Mon Mar 24 16:26:14 2003 +@@ -209,4 +209,8 @@ + gdImagePtr gdImageCreateFromPngSource (gdSourcePtr in); + ++ gdImagePtr gdImageCreateFromGif(FILE *fd); ++ gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr in); ++ gdImagePtr gdImageCreateFromGifSource(gdSourcePtr in); ++ + gdImagePtr gdImageCreateFromGd (FILE * in); + gdImagePtr gdImageCreateFromGdCtx (gdIOCtxPtr in); +@@ -300,4 +304,5 @@ + + void gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c); ++ void gdImageOpenPolygon(gdImagePtr im, gdPointPtr p, int n, int c); + void gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c); + +@@ -395,4 +400,13 @@ + void *gdImageJpegPtr (gdImagePtr im, int *size, int quality); + ++ void gdImageLzw(gdImagePtr im, FILE *out); ++ void* gdImageLzwPtr(gdImagePtr im, int *size); ++ void gdImageLzwCtx(gdImagePtr im, gdIOCtxPtr out); ++ ++ void gdImageBigGif(gdImagePtr im, FILE *out); ++ void* gdImageBigGifPtr(gdImagePtr im, int *size); ++ void gdImageBigGifCtx(gdImagePtr im, gdIOCtxPtr out); ++ ++ + /* A custom data sink. For backwards compatibility. Use + gdIOCtx instead. */ +@@ -408,4 +422,9 @@ + + void gdImagePngToSink (gdImagePtr im, gdSinkPtr out); ++ ++ void gdImageGif(gdImagePtr im, FILE *out); ++ void* gdImageGifPtr(gdImagePtr im, int *size); ++ void gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out); ++ void gdImageGifToSink(gdImagePtr im, gdSinkPtr out); + + void gdImageGd (gdImagePtr im, FILE * out); -- cgit v1.2.3