diff options
Diffstat (limited to 'converters/mpack')
-rw-r--r-- | converters/mpack/Makefile | 3 | ||||
-rw-r--r-- | converters/mpack/distinfo | 4 | ||||
-rw-r--r-- | converters/mpack/patches/patch-ae | 24 |
3 files changed, 20 insertions, 11 deletions
diff --git a/converters/mpack/Makefile b/converters/mpack/Makefile index 66de9270f6e..10a8d91b2a4 100644 --- a/converters/mpack/Makefile +++ b/converters/mpack/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.19 2009/02/15 20:12:17 dholland Exp $ +# $NetBSD: Makefile,v 1.20 2010/04/20 10:26:40 is Exp $ DISTNAME= mpack-1.6 +PKGREVISION= 1 CATEGORIES= converters mail news MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/mpack/ diff --git a/converters/mpack/distinfo b/converters/mpack/distinfo index f7c3d569cc0..c0d48df1a10 100644 --- a/converters/mpack/distinfo +++ b/converters/mpack/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2010/01/15 23:47:14 dholland Exp $ +$NetBSD: distinfo,v 1.10 2010/04/20 10:26:40 is Exp $ SHA1 (mpack-1.6.tar.gz) = 7fd3a73e0f131412920b6ff34872e7e7fa03e03b RMD160 (mpack-1.6.tar.gz) = a83330aa15437dc3ca6475cbf6e35b09ab9cef07 @@ -6,5 +6,5 @@ Size (mpack-1.6.tar.gz) = 179850 bytes SHA1 (patch-ab) = a17706d20573b65bf21017096d4b2178c75dbacc SHA1 (patch-ac) = a69986a5c1b7659fac6df05f4db9a44df3110892 SHA1 (patch-ad) = 76f32d163021a81d73d8316f72b141ef3edf4f14 -SHA1 (patch-ae) = c87094530c1bb061c3f1dc21f77ed31609ecb7a7 +SHA1 (patch-ae) = 185e5e3ec1ecf45df7dc9170949fde35c132e65f SHA1 (patch-af) = 2b38171d450ddbe1f9bb7a520d5e114a15afab9d diff --git a/converters/mpack/patches/patch-ae b/converters/mpack/patches/patch-ae index b9a7b8c0fed..bbba1fa6ef0 100644 --- a/converters/mpack/patches/patch-ae +++ b/converters/mpack/patches/patch-ae @@ -1,12 +1,7 @@ -$NetBSD: patch-ae,v 1.3 2010/01/15 23:47:14 dholland Exp $ +$NetBSD: patch-ae,v 1.4 2010/04/20 10:26:40 is Exp $ -- Include fixes for modern Unix. -- Suppress mktemp() warning on NetBSD; callers use O_EXCL. - -Upstream: as far as I know not actively maintained upstream. - ---- unixpk.c.orig 2003-07-21 16:50:41.000000000 -0400 -+++ unixpk.c 2009-02-15 15:09:47.000000000 -0500 +--- unixpk.c.orig 2003-07-21 22:50:41.000000000 +0200 ++++ unixpk.c @@ -22,8 +22,16 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. @@ -34,3 +29,16 @@ Upstream: as far as I know not actively maintained upstream. extern int optind; extern char *optarg; +@@ -164,7 +169,11 @@ int main(int argc, char **argv) + strcpy(fnamebuf, getenv("TMPDIR")); + } + else { +- strcpy(fnamebuf, "/usr/tmp"); ++#if defined(P_tmpdir) ++ strcpy(fnamebuf, P_tmpdir); ++#else ++ strcpy(fnamebuf, "/var/tmp"); ++#endif + } + strcat(fnamebuf, "/mpackXXXXXX"); + mktemp(fnamebuf); |