pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2005Q1]: pkgsrc/converters/ish Pullup ticket 398 - requested b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/744f6c69fd22
branches:  pkgsrc-2005Q1
changeset: 490880:744f6c69fd22
user:      snj <snj%pkgsrc.org@localhost>
date:      Tue Mar 29 06:36:06 2005 +0000

description:
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:

 converters/ish/distinfo         |   4 +++-
 converters/ish/patches/patch-ab |  14 ++++++++++++++
 converters/ish/patches/patch-ac |  21 +++++++++++++++++++++
 3 files changed, 38 insertions(+), 1 deletions(-)

diffs (56 lines):

diff -r 6be05660074c -r 744f6c69fd22 converters/ish/distinfo
--- a/converters/ish/distinfo   Mon Mar 28 05:55:13 2005 +0000
+++ b/converters/ish/distinfo   Tue Mar 29 06:36:06 2005 +0000
@@ -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 -r 6be05660074c -r 744f6c69fd22 converters/ish/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/ish/patches/patch-ab   Tue Mar 29 06:36:06 2005 +0000
@@ -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 -r 6be05660074c -r 744f6c69fd22 converters/ish/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/ish/patches/patch-ac   Tue Mar 29 06:36:06 2005 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index