summaryrefslogtreecommitdiff
path: root/graphics/gd/patches
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2000-03-21 11:10:39 +0000
committerhe <he@pkgsrc.org>2000-03-21 11:10:39 +0000
commit23caf7beba3fd86009512bbcc327619148048523 (patch)
tree3c24d7968f3dd90ff313531036d58a4b9a6fcb78 /graphics/gd/patches
parent9d21aec5b71a60dc5a1050d230e916ced849085f (diff)
downloadpkgsrc-23caf7beba3fd86009512bbcc327619148048523.tar.gz
Add prototype for gdImageCreateFromXpm in gd.h.
Patch originally (a small) part of GD-1.26.
Diffstat (limited to 'graphics/gd/patches')
-rw-r--r--graphics/gd/patches/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/gd/patches/patch-ab b/graphics/gd/patches/patch-ab
new file mode 100644
index 00000000000..028e062c1fd
--- /dev/null
+++ b/graphics/gd/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.3 2000/03/21 11:10:39 he Exp $
+
+--- gd.h.dist Mon Mar 13 19:25:57 2000
++++ gd.h Tue Mar 21 11:32:30 2000
+@@ -114,6 +114,7 @@
+ gdImagePtr gdImageCreateFromGd2PartCtx(gdIOCtxPtr in, int srcx, int srcy, int w, int h);
+
+ gdImagePtr gdImageCreateFromXbm(FILE *fd);
++gdImagePtr gdImageCreateFromXpm(char *filename);
+
+ void gdImageDestroy(gdImagePtr im);
+ void gdImageSetPixel(gdImagePtr im, int x, int y, int color);