summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-06-04 07:34:17 +0000
committerasami <asami@FreeBSD.org>1997-06-04 07:34:17 +0000
commitf7d55f72b07bb8d793cfeaab92aad7e440183f5b (patch)
tree6c8139fba5079cb8b1c562d9ef9c23e440e22cb3 /graphics
parentbb4ab4beec3d4df77df3ac6973eeb6cfbe9da13f (diff)
downloadFreeBSD-ports-f7d55f72b07bb8d793cfeaab92aad7e440183f5b.zip
FreeBSD-ports-f7d55f72b07bb8d793cfeaab92aad7e440183f5b.tar.gz
Upgrade to 1.0.
PR: 3772 Submitted by: Yukihiro Nakai Nakai@Mlab.t.u-tokyo.ac.jp
Diffstat (limited to 'graphics')
-rw-r--r--graphics/giftool/files/extra-patch-aa27
-rw-r--r--graphics/giftool/files/extra-patch-ab19
2 files changed, 46 insertions, 0 deletions
diff --git a/graphics/giftool/files/extra-patch-aa b/graphics/giftool/files/extra-patch-aa
new file mode 100644
index 0000000..3946877
--- /dev/null
+++ b/graphics/giftool/files/extra-patch-aa
@@ -0,0 +1,27 @@
+*** main.c.orig Sat Mar 8 06:34:28 1997
+--- main.c Sat Mar 8 06:37:33 1997
+***************
+*** 1275,1281 ****
+ exit(1);
+ }
+
+! main(int argc, char *argv[])
+ {
+ int c, i;
+ int batchMode = 0;
+--- 1275,1281 ----
+ exit(1);
+ }
+
+! int main(int argc, char *argv[])
+ {
+ int c, i;
+ int batchMode = 0;
+***************
+*** 1410,1413 ****
+--- 1410,1414 ----
+ GIFFree(stream);
+ }
+ }
++ return 0;
+ }
diff --git a/graphics/giftool/files/extra-patch-ab b/graphics/giftool/files/extra-patch-ab
new file mode 100644
index 0000000..e474227
--- /dev/null
+++ b/graphics/giftool/files/extra-patch-ab
@@ -0,0 +1,19 @@
+*** readGIF.c.orig Sat Mar 8 06:28:02 1997
+--- readGIF.c Sat Mar 8 06:30:05 1997
+***************
+*** 253,259 ****
+ cur->data.image.cmapSize = 0;
+
+ }
+! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height);
+ cur->data.image.interlaced = BitSet(buf[8], INTERLACE);
+ readImage(fd, BitSet(buf[8], INTERLACE),
+ cur->width, cur->height, cur->data.image.data);
+--- 253,259 ----
+ cur->data.image.cmapSize = 0;
+
+ }
+! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height + 1);
+ cur->data.image.interlaced = BitSet(buf[8], INTERLACE);
+ readImage(fd, BitSet(buf[8], INTERLACE),
+ cur->width, cur->height, cur->data.image.data);
OpenPOWER on IntegriCloud