evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / mp / mpack / build-fix.patch
blob0329bedd07f3957d281c55663c3f06809663cf21
1 diff -ubr mpack-1.6-orig/unixos.c mpack-1.6/unixos.c
2 --- mpack-1.6-orig/unixos.c 2013-08-17 14:32:38.102772775 +0200
3 +++ mpack-1.6/unixos.c 2013-08-17 14:32:43.180792505 +0200
4 @@ -38,10 +38,6 @@
5 #define MAXHOSTNAMELEN 64
6 #endif
8 -extern int errno;
9 -extern char *malloc();
10 -extern char *getenv();
12 int overwrite_files = 0;
13 int didchat;
15 Only in mpack-1.6: unixos.o
16 Only in mpack-1.6: unixunpk.o
17 Only in mpack-1.6: uudecode.o
18 diff -ubr mpack-1.6-orig/xmalloc.c mpack-1.6/xmalloc.c
19 --- mpack-1.6-orig/xmalloc.c 2013-08-17 14:32:38.102772775 +0200
20 +++ mpack-1.6/xmalloc.c 2013-08-17 14:33:08.900892319 +0200
21 @@ -24,7 +24,6 @@
23 #include <stdio.h>
24 #include <string.h>
25 -extern char *malloc(), *realloc();
27 char *xmalloc (int size)
29 Only in mpack-1.6: xmalloc.o