diff -Naur mpack-1.6-orig/unixos.c mpack-1.6/unixos.c --- mpack-1.6-orig/unixos.c 2003-07-21 22:54:05.000000000 +0200 +++ mpack-1.6/unixos.c 2007-05-04 00:34:46.000000000 +0200 @@ -39,7 +39,7 @@ #endif extern int errno; -extern char *malloc(); +extern void *malloc(); extern char *getenv(); int overwrite_files = 0; @@ -90,7 +90,7 @@ strcpy(buf, getenv("TMPDIR")); } else { - strcpy(buf, "/usr/tmp"); + strcpy(buf, "/var/tmp"); } strcat(buf, "/m-prts-"); p = getenv("USER"); diff -Naur mpack-1.6-orig/unixpk.man mpack-1.6/unixpk.man --- mpack-1.6-orig/unixpk.man 1995-02-16 22:39:50.000000000 +0100 +++ mpack-1.6/unixpk.man 2007-05-04 00:34:46.000000000 +0200 @@ -136,7 +136,7 @@ .SH ENVIRONMENT .TP .B TMPDIR -Directory to store temporary files. Default is /usr/tmp. +Directory to store temporary files. Default is /var/tmp. .TP .B SPLITSIZE Default value of the -m switch. diff -Naur mpack-1.6-orig/unixunpk.man mpack-1.6/unixunpk.man --- mpack-1.6-orig/unixunpk.man 1995-02-16 22:39:50.000000000 +0100 +++ mpack-1.6/unixunpk.man 2007-05-04 00:34:46.000000000 +0200 @@ -107,7 +107,7 @@ .SH ENVIRONMENT .TP .B TMPDIR -Directory to store temporary files. Default is /usr/tmp. +Directory to store temporary files. Default is /var/tmp. .SH FILES .TP .B $TMPDIR/m-prts-$USER/ diff -Naur mpack-1.6-orig/xmalloc.c mpack-1.6/xmalloc.c --- mpack-1.6-orig/xmalloc.c 2003-07-21 22:35:31.000000000 +0200 +++ mpack-1.6/xmalloc.c 2007-05-04 00:34:46.000000000 +0200 @@ -24,7 +24,7 @@ */ #include #include -extern char *malloc(), *realloc(); +extern void *malloc(), *realloc(); char *xmalloc (int size) {