pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/mpack Fix errno. Use stdlib.h in one place ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81f9d5a18470
branches:  trunk
changeset: 504694:81f9d5a18470
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Dec 19 00:13:38 2005 +0000

description:
Fix errno. Use stdlib.h in one place as well.

diffstat:

 converters/mpack/distinfo         |   5 +++--
 converters/mpack/patches/patch-ab |  25 ++++++++++++++++++++++---
 converters/mpack/patches/patch-ae |  12 ++++++++++++
 3 files changed, 37 insertions(+), 5 deletions(-)

diffs (66 lines):

diff -r c17c84e6c3a7 -r 81f9d5a18470 converters/mpack/distinfo
--- a/converters/mpack/distinfo Mon Dec 19 00:06:47 2005 +0000
+++ b/converters/mpack/distinfo Mon Dec 19 00:13:38 2005 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 16:12:34 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/12/19 00:13:38 joerg Exp $
 
 SHA1 (mpack-1.5-src.tar.Z) = 1c5081edd9c7152d2a8c4585af2c5a3fc9f17d60
 RMD160 (mpack-1.5-src.tar.Z) = 614c35b1f63c2a6027c978946941cd8755cba774
 Size (mpack-1.5-src.tar.Z) = 285360 bytes
 SHA1 (patch-aa) = d08d4f7f3e44b1ddc71c0838c014b4a2aed61811
-SHA1 (patch-ab) = d221ba16f24843eb9d53ce91f487d6e857d21ddd
+SHA1 (patch-ab) = 38c17a6a9cbe71528300ebc3d74720f986a7d3b4
 SHA1 (patch-ac) = a69986a5c1b7659fac6df05f4db9a44df3110892
 SHA1 (patch-ad) = 76f32d163021a81d73d8316f72b141ef3edf4f14
+SHA1 (patch-ae) = 46ca4ac43cd049399fc8b05e566bd6968a6dc019
diff -r c17c84e6c3a7 -r 81f9d5a18470 converters/mpack/patches/patch-ab
--- a/converters/mpack/patches/patch-ab Mon Dec 19 00:06:47 2005 +0000
+++ b/converters/mpack/patches/patch-ab Mon Dec 19 00:13:38 2005 +0000
@@ -1,8 +1,27 @@
-$NetBSD: patch-ab,v 1.5 2002/12/05 16:45:21 is Exp $
+$NetBSD: patch-ab,v 1.6 2005/12/19 00:13:39 joerg Exp $
 
---- unixos.c.orig      Thu Feb 16 16:39:50 1995
+--- unixos.c.orig      1995-02-16 21:39:50.000000000 +0000
 +++ unixos.c
-@@ -89,7 +90,11 @@
+@@ -23,6 +23,7 @@
+  * SOFTWARE.
+  */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+ #include <errno.h>
+@@ -36,10 +37,6 @@
+ #define MAXHOSTNAMELEN 64
+ #endif
+ 
+-extern int errno;
+-extern char *malloc();
+-extern char *getenv();
+-
+ int overwrite_files = 0;
+ int didchat;
+ 
+@@ -89,7 +86,11 @@ char *id;
        strcpy(buf, getenv("TMPDIR"));
      }
      else {
diff -r c17c84e6c3a7 -r 81f9d5a18470 converters/mpack/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/mpack/patches/patch-ae Mon Dec 19 00:13:38 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2005/12/19 00:13:39 joerg Exp $
+
+--- unixpk.c.orig      2005-12-19 00:09:00.000000000 +0000
++++ unixpk.c
+@@ -33,7 +33,6 @@ ww * Permission to use, copy, modify, di
+ 
+ extern char *getenv();
+ 
+-extern int errno;
+ extern int optind;
+ extern char *optarg;
+ 



Home | Main Index | Thread Index | Old Index