summaryrefslogtreecommitdiff
path: root/graphics/gd/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd/files')
-rw-r--r--graphics/gd/files/patch-ac2
-rw-r--r--graphics/gd/files/patch-gif15
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/gd/files/patch-ac b/graphics/gd/files/patch-ac
index 415662373e4c..8ddd65b3acd2 100644
--- a/graphics/gd/files/patch-ac
+++ b/graphics/gd/files/patch-ac
@@ -156,7 +156,7 @@
gd_io_ss.o gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o gdfontmb.o gdfontl.o \
gdfontg.o gdtables.o gdft.o gdttf.o gdcache.o gdkanji.o wbmp.o \
- gd_wbmp.o gdhelpers.o gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
-+ gd_wbmp.o gdhelpers.o
++ gd_wbmp.o gdhelpers.o gd_gif_in.o
+INCS= gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h \
gdfontg.h gdhelpers.h
+
diff --git a/graphics/gd/files/patch-gif b/graphics/gd/files/patch-gif
new file mode 100644
index 000000000000..e156fa2dd01f
--- /dev/null
+++ b/graphics/gd/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"