diff options
author | mi <mi@FreeBSD.org> | 2001-08-21 09:32:30 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2001-08-21 09:32:30 +0800 |
commit | 522d5e90a857bafb7cac11d6ea2af33416055414 (patch) | |
tree | 1cf0701901deda7b397793275171242c52e70ef6 /graphics/gdtclft | |
parent | 849e03b8c7c46b60a9225960a9fef5335db45d94 (diff) | |
download | freebsd-ports-graphics-522d5e90a857bafb7cac11d6ea2af33416055414.tar.gz freebsd-ports-graphics-522d5e90a857bafb7cac11d6ea2af33416055414.tar.zst freebsd-ports-graphics-522d5e90a857bafb7cac11d6ea2af33416055414.zip |
Add back the ability to _read_ GIF images, now that our gd has it again.
Diffstat (limited to 'graphics/gdtclft')
-rw-r--r-- | graphics/gdtclft/Makefile | 2 | ||||
-rw-r--r-- | graphics/gdtclft/files/patch-gif | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/gdtclft/Makefile b/graphics/gdtclft/Makefile index 9342f0112d2..e5b3f4cd9a3 100644 --- a/graphics/gdtclft/Makefile +++ b/graphics/gdtclft/Makefile @@ -7,7 +7,7 @@ PORTNAME= Gdtclft PORTVERSION= 2.2.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics tcl${TCL_DVER} MASTER_SITES= ftp://ftp.graphviz.org/pub/ DISTNAME= ${PORTNAME}${PORTVERSION} diff --git a/graphics/gdtclft/files/patch-gif b/graphics/gdtclft/files/patch-gif new file mode 100644 index 00000000000..f7dbb16b5b6 --- /dev/null +++ b/graphics/gdtclft/files/patch-gif @@ -0,0 +1,16 @@ +--- gdCmd.c Fri Aug 4 17:11:05 2000 ++++ gdCmd.c Fri Jul 27 16:22:18 2001 +@@ -65,4 +65,6 @@ + {"createFromPNG", tclGdCreateCmd, 1, 1, 0, 0, + "filehandle"}, ++ {"createFromGIF", tclGdCreateCmd, 1, 1, 0, 0, ++ "filehandle"}, + {"createFromGD", tclGdCreateCmd, 1, 1, 0, 0, + "filehandle"}, +@@ -432,4 +434,6 @@ + } else if (cmd[10] == 'X') { + im = gdImageCreateFromXbm(filePtr); ++ } else if (cmd[11] == 'I') { ++ im = gdImageCreateFromGif(filePtr); + } else { + im = gdImageCreateFromGd(filePtr); |