diff options
author | snj <snj@pkgsrc.org> | 2005-03-29 06:36:06 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2005-03-29 06:36:06 +0000 |
commit | d79ce4642d047f3d3cddc97d33c070cb18fdd93c (patch) | |
tree | eec4fa648f0e9ca495728636b44097a0cb085f3c /converters | |
parent | 163697d5e5c379eeaeb29946b7eea2496d336a4e (diff) | |
download | pkgsrc-d79ce4642d047f3d3cddc97d33c070cb18fdd93c.tar.gz |
Pullup ticket 398 - requested by Min Sik KIm
portability fix for ish
Revisions pulled up:
- pkgsrc/converters/ish/distinfo 1.5
- pkgsrc/converters/ish/patches/patch-ab 1.1
- pkgsrc/converters/ish/patches/patch-ac 1.1
Module Name: pkgsrc
Committed By: minskim
Date: Thu Mar 24 16:14:04 UTC 2005
Modified Files:
pkgsrc/converters/ish: distinfo
Added Files:
pkgsrc/converters/ish/patches: patch-ab patch-ac
Log Message:
Make this package build on Linux.
- Include time.h to use "struct tm".
- stdout is not a constant on some platforms. Do not use it in
initializing a variable.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/ish/distinfo | 4 | ||||
-rw-r--r-- | converters/ish/patches/patch-ab | 14 | ||||
-rw-r--r-- | converters/ish/patches/patch-ac | 21 |
3 files changed, 38 insertions, 1 deletions
diff --git a/converters/ish/distinfo b/converters/ish/distinfo index 80a0dc144ff..445bca63a49 100644 --- a/converters/ish/distinfo +++ b/converters/ish/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 16:12:33 agc Exp $ +$NetBSD: distinfo,v 1.4.2.1 2005/03/29 06:36:06 snj Exp $ SHA1 (ish-1.11.tar.gz) = 99c182c685210179428d44cf1a80d96766cf3d3e RMD160 (ish-1.11.tar.gz) = b3fd67f9ff579a865c269f0ba6db77060030fc97 Size (ish-1.11.tar.gz) = 13029 bytes SHA1 (patch-aa) = 51dc6991eaa9b46c71a5c9f9b4e7cb862423d50d +SHA1 (patch-ab) = 0a5e49eb17efacc8876d4d4de9971fcac085fcbe +SHA1 (patch-ac) = 03adcba11719bc2d243dda1baee5f351d6333109 diff --git a/converters/ish/patches/patch-ab b/converters/ish/patches/patch-ab new file mode 100644 index 00000000000..2e3f2ca40d8 --- /dev/null +++ b/converters/ish/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.2.2 2005/03/29 06:36:06 snj Exp $ + +--- decode.c.orig 1990-08-05 06:04:08.000000000 -0500 ++++ decode.c +@@ -16,6 +16,9 @@ + #include <time.h> + #define index strchr + #else ++#ifdef __linux__ ++#include <time.h> ++#endif + #ifdef __TURBOC__ + #include <time.h> + #include <io.h> diff --git a/converters/ish/patches/patch-ac b/converters/ish/patches/patch-ac new file mode 100644 index 00000000000..b20d81c5308 --- /dev/null +++ b/converters/ish/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1.2.2 2005/03/29 06:36:06 snj Exp $ + +--- ish.c.orig 1990-08-05 06:04:08.000000000 -0500 ++++ ish.c +@@ -48,7 +48,7 @@ int path = 0, size; + long lsize; + char *filename = "file.ish"; + +-FILE *opath = stdout; ++FILE *opath; + FILE *ipath; + char name[NAMLEN]; + +@@ -69,6 +69,7 @@ char **argv; + char *p; + FILE *fopen(); + ++ opath = stdout; + if (argc < 2) + help(); + while(--argc > 0) { |