From 1a136774b674fd6eb237761252f5dcbb15bf9cb7 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Tue, 21 Aug 2001 01:30:32 +0000 Subject: Restore the ability to _read_ gif images, removed by the author due to fear of Unisys... Bump up PORTREVISION. Approved by: maintainer timeout :( (since July 27) --- graphics/gd2/files/patch-gif | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 graphics/gd2/files/patch-gif (limited to 'graphics/gd2/files/patch-gif') diff --git a/graphics/gd2/files/patch-gif b/graphics/gd2/files/patch-gif new file mode 100644 index 000000000000..e156fa2dd01f --- /dev/null +++ b/graphics/gd2/files/patch-gif @@ -0,0 +1,15 @@ +This patch together with the old implementation (from gd-1.5) of +gd_gif_in.c restore GD's ability to read GIF images. The writing of such +images is troubled because of Unisys' zeal in patent enforcement. + +--- gd.h Tue Feb 6 14:44:01 2001 ++++ gd.h Fri Jul 27 16:10:38 2001 +@@ -95,2 +95,4 @@ + gdImagePtr gdImageCreate(int sx, int sy); ++gdImagePtr gdImageCreateFromGif(FILE *fd); ++gdImagePtr gdImageCreateFromGifCtx(gdIOCtxPtr in); + gdImagePtr gdImageCreateFromPng(FILE *fd); +--- gd_gif_in.c Fri Jul 27 16:13:45 2001 ++++ gd_gif_in.c Fri Jul 27 16:14:46 2001 +@@ -6,1 +6,0 @@ +-#include "io.h" -- cgit v1.2.3