diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-04-12 23:18:10 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-04-12 23:18:10 +0000 |
commit | fef787930b7b6c0c3d417509d0bca3c2a900472a (patch) | |
tree | 7678e1ba8ba933e0a3d499ccedbfc806c3e03596 /net-mail/mpack/files | |
parent | new upstream release, fixes #78435. added ~amd64 to KEYWORDS. (diff) | |
download | gentoo-2-fef787930b7b6c0c3d417509d0bca3c2a900472a.tar.gz gentoo-2-fef787930b7b6c0c3d417509d0bca3c2a900472a.tar.bz2 gentoo-2-fef787930b7b6c0c3d417509d0bca3c2a900472a.zip |
Fix #84828, install some docs.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-mail/mpack/files')
-rw-r--r-- | net-mail/mpack/files/mpack-1.5-malloc-fix.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-mail/mpack/files/mpack-1.5-malloc-fix.patch b/net-mail/mpack/files/mpack-1.5-malloc-fix.patch new file mode 100644 index 000000000000..69777d87a889 --- /dev/null +++ b/net-mail/mpack/files/mpack-1.5-malloc-fix.patch @@ -0,0 +1,33 @@ +--- mpack/xmalloc.c 2005-03-11 10:51:39.000000000 +0100 ++++ mpack/xmalloc.c 2005-03-11 10:51:39.000000000 +0100 +@@ -24,7 +24,7 @@ + */ + #include <stdio.h> + #include <string.h> +-extern char *malloc(), *realloc(); ++extern void *malloc(), *realloc(); + + char *xmalloc (size) + int size; +--- mpack/unixos.c 2005-03-11 10:51:27.000000000 +0100 ++++ mpack/unixos.c 2005-03-11 10:51:27.000000000 +0100 +@@ -37,7 +37,7 @@ + #endif + + extern int errno; +-extern char *malloc(); ++extern void *malloc(); + extern char *getenv(); + + int overwrite_files = 0; +--- mpack/unixpk.c 2005-03-11 10:53:22.000000000 +0100 ++++ mpack/unixpk.c 2005-03-11 10:53:22.000000000 +0100 +@@ -165,7 +165,7 @@ + strcpy(fnamebuf, "/tmp"); + } + strcat(fnamebuf, "/mpackXXXXXX"); +- mktemp(fnamebuf); ++ mkstemp(fnamebuf); + outfname = strsave(fnamebuf); + } + |