summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-04-12 23:18:10 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-04-12 23:18:10 +0000
commit77ed96ff4418f3fc4fb9febe6638a6c0ff61450f (patch)
tree06a1ace9dee8419cbba27e2b4bf7aaf10fb20291 /net-mail/mpack/files
parentnew upstream release, fixes #78435. added ~amd64 to KEYWORDS. (diff)
downloadhistorical-77ed96ff4418f3fc4fb9febe6638a6c0ff61450f.tar.gz
historical-77ed96ff4418f3fc4fb9febe6638a6c0ff61450f.tar.bz2
historical-77ed96ff4418f3fc4fb9febe6638a6c0ff61450f.zip
Fix #84828, install some docs.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-mail/mpack/files')
-rw-r--r--net-mail/mpack/files/mpack-1.5-malloc-fix.patch33
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);
+ }
+