Add back the ability to _read_ GIF images, now that our gd has it again.
This commit is contained in:
parent
1a136774b6
commit
f5dc836a7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46569
@ -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}
|
||||
|
16
graphics/gdtclft/files/patch-gif
Normal file
16
graphics/gdtclft/files/patch-gif
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user