aboutsummaryrefslogtreecommitdiff
path: root/graphics/giftool
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-06-04 07:34:17 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-06-04 07:34:17 +0000
commit6fff157c6107f962e1cd4b71436caedbdcf2c80e (patch)
tree5f355d6de6f57c74657196eba82a6f537574da5c /graphics/giftool
parent7bf0afee5b46ef6bd39ce0c9200979a0060cb25a (diff)
downloadports-6fff157c6107f962e1cd4b71436caedbdcf2c80e.tar.gz
ports-6fff157c6107f962e1cd4b71436caedbdcf2c80e.zip
Notes
Diffstat (limited to 'graphics/giftool')
-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 000000000000..394687706f0b
--- /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 000000000000..e4742279e7fb
--- /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);