openbsd-ports/misc/bsdiff/patches/patch-bspatch_c
jolan 0c479df44d import bsdiff-4.1, binary patch tools
from michael van der westhuizen w/tweaks from yours truly
2004-04-10 21:21:27 +00:00

13 lines
435 B
Plaintext

$OpenBSD: patch-bspatch_c,v 1.1.1.1 2004/04/10 21:21:27 jolan Exp $
--- bspatch.c.orig 2003-06-18 17:51:13.000000000 -0500
+++ bspatch.c 2004-04-10 16:04:21.000000000 -0500
@@ -59,7 +59,7 @@ int bz2read(int fd,off_t offset,off_t le
if((dup2(p1[1],1)==-1) || close(p1[1])) err(1,NULL);
if(close(fd)==-1) err(1,"%s",fname);
- execl(BZIP2,BZIP2,"-dc",NULL);
+ execl(BZIP2,BZIP2,"-dc",(void *)NULL);
err(1,"%s",BZIP2);
};