summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches/patch-ag
diff options
context:
space:
mode:
authoragc <agc>1997-10-06 13:29:36 +0000
committeragc <agc>1997-10-06 13:29:36 +0000
commit1e8b52c7c95d625964bf78487d2be138a475139f (patch)
tree5058c5ead6fe4cc247b8c2e431718236fdc520d6 /graphics/tiff/patches/patch-ag
parent292f0929f32853f8ee2304be9ee760652017d66e (diff)
downloadpkgsrc-1e8b52c7c95d625964bf78487d2be138a475139f.tar.gz
Initial import of FreeBSD graphics ports into the NetBSD packages
system.
Diffstat (limited to 'graphics/tiff/patches/patch-ag')
-rw-r--r--graphics/tiff/patches/patch-ag28
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/tiff/patches/patch-ag b/graphics/tiff/patches/patch-ag
new file mode 100644
index 00000000000..5eba4b06351
--- /dev/null
+++ b/graphics/tiff/patches/patch-ag
@@ -0,0 +1,28 @@
+*** tools/thumbnail.c.orig Fri Sep 30 03:01:53 1994
+--- tools/thumbnail.c Wed Oct 4 04:48:00 1995
+***************
+*** 25,34 ****
+ */
+
+ #include <stdio.h>
+- #include <getopt.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/param.h>
+ #include <math.h>
+
+ #include "tiffio.h"
+--- 25,37 ----
+ */
+
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/param.h>
++ #if defined(BSD) && BSD >= 199506
++ /* Lite2, need this for getopt() */
++ #include <unistd.h>
++ #endif
+ #include <math.h>
+
+ #include "tiffio.h"