diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-02-22 21:20:28 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-02-22 21:20:28 +0000 |
commit | c97150e7dbf920bcac98f8273ebf5ccf452e2a86 (patch) | |
tree | 6890bca35017330decc9b87e8bb3f6cf9974ea26 | |
parent | a69ce0142f7b67d09ff02ffa7a14b0d4aa71d5f1 (diff) | |
download | pkgsrc-c97150e7dbf920bcac98f8273ebf5ccf452e2a86.tar.gz |
Update pkgsrc patch to support SunOS as well as BSD.
-rw-r--r-- | converters/uulib/distinfo | 4 | ||||
-rw-r--r-- | converters/uulib/patches/patch-ac | 22 |
2 files changed, 15 insertions, 11 deletions
diff --git a/converters/uulib/distinfo b/converters/uulib/distinfo index 95b1045916b..e7479483305 100644 --- a/converters/uulib/distinfo +++ b/converters/uulib/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.11 2009/09/09 17:16:35 joerg Exp $ +$NetBSD: distinfo,v 1.12 2013/02/22 21:20:28 jperkin Exp $ SHA1 (uudeview-0.5.20.tar.gz) = 2c6ab7d355b545218bd0877d598bd5327d9fd125 RMD160 (uudeview-0.5.20.tar.gz) = 9bb52fa3ad4979383ff16d1e8d8a302c5c794c66 Size (uudeview-0.5.20.tar.gz) = 261574 bytes SHA1 (patch-aa) = 0d6f07b3196405f357ec529094460a409cb964ee SHA1 (patch-ab) = f23ca7945a0697dc8e49ba9c7765bfa655ed8566 -SHA1 (patch-ac) = 7322b738ba427515a508eff41cce4139d4fda86e +SHA1 (patch-ac) = e167fedf6ca5933d027407715c4275d60d1ee795 diff --git a/converters/uulib/patches/patch-ac b/converters/uulib/patches/patch-ac index dd4eadfa8a0..5e593995536 100644 --- a/converters/uulib/patches/patch-ac +++ b/converters/uulib/patches/patch-ac @@ -1,16 +1,20 @@ -$NetBSD: patch-ac,v 1.1 2008/06/01 21:46:37 dholland Exp $ +$NetBSD: patch-ac,v 1.2 2013/02/22 21:20:28 jperkin Exp $ ---- uulib/uunconc.c.orig 2004-03-01 17:52:27.000000000 -0500 -+++ uulib/uunconc.c 2008-06-01 17:05:57.000000000 -0400 -@@ -49,6 +49,7 @@ +--- uulib/uunconc.c.orig 2004-03-01 22:52:27.000000000 +0000 ++++ uulib/uunconc.c +@@ -49,6 +49,11 @@ #include <errno.h> #endif ++#ifdef __sun ++#define _PATH_TMP "/tmp/" ++#else +#include <paths.h> ++#endif #include <crc32.h> #include <uudeview.h> #include <uuint.h> -@@ -1306,6 +1307,7 @@ +@@ -1306,6 +1311,7 @@ UUDecode (uulist *data) { int state=BEGIN, part=-1, res=0, hb; long rsize, dsize, numbytes; @@ -18,7 +22,7 @@ $NetBSD: patch-ac,v 1.1 2008/06/01 21:46:37 dholland Exp $ FILE *datain, *dataout; unsigned char r[8]; char *mode, *ntmp; -@@ -1329,13 +1331,13 @@ +@@ -1329,13 +1335,13 @@ UUDecode (uulist *data) else mode = "wb"; /* otherwise in binary */ @@ -34,7 +38,7 @@ $NetBSD: patch-ac,v 1.1 2008/06/01 21:46:37 dholland Exp $ /* * we couldn't create a temporary file. Usually this means that TMP * and TEMP aren't set -@@ -1348,6 +1350,19 @@ +@@ -1348,6 +1354,19 @@ UUDecode (uulist *data) uu_errno = errno; return UURET_IOERR; } @@ -54,7 +58,7 @@ $NetBSD: patch-ac,v 1.1 2008/06/01 21:46:37 dholland Exp $ /* * we don't have begin lines in Base64 or plain text files. */ -@@ -1496,7 +1511,7 @@ +@@ -1496,7 +1515,7 @@ UUDecode (uulist *data) */ if (data->uudet == BH_ENCODED && data->binfile) { @@ -63,7 +67,7 @@ $NetBSD: patch-ac,v 1.1 2008/06/01 21:46:37 dholland Exp $ UUMessage (uunconc_id, __LINE__, UUMSG_ERROR, uustring (S_NO_TEMP_NAME)); progress.action = 0; -@@ -1510,6 +1525,17 @@ +@@ -1510,6 +1529,17 @@ UUDecode (uulist *data) free (ntmp); return UURET_IOERR; } |