openbsd-ports/security/mcrypt/patches/patch-src_classic_c
benoit 37a3888611 - update mcrypt to 2.6.8
- regen patches & PLIST
- change maintainer

ok avsm@, ajacoutot@
2009-05-29 20:01:07 +00:00

22 lines
861 B
Plaintext

$OpenBSD: patch-src_classic_c,v 1.2 2009/05/29 20:01:09 benoit Exp $
--- src/classic.c.orig Sun Oct 28 13:59:13 2007
+++ src/classic.c Wed May 27 01:43:31 2009
@@ -907,7 +907,7 @@ decrypt_general(char *algorithm, char *fromfile, char
if (pid == 0) {
if (gzipflag == TRUE) {
err_warn(_("Decompressing the output file...\n"));
- i = execlp(GZIP, GZIP, "-d", tofile, NULL);
+ i = execlp(GZIP, GZIP, "-d", tofile, (void *)NULL);
if (i == -1) {
perror("exec");
return 1;
@@ -916,7 +916,7 @@ decrypt_general(char *algorithm, char *fromfile, char
}
if (bzipflag == TRUE) {
err_warn(_("Decompressing the output file...\n"));
- i = execlp(BZIP2, BZIP2, "-d", tofile, NULL);
+ i = execlp(BZIP2, BZIP2, "-d", tofile, (void *)NULL);
if (i == -1) {
perror("exec");
return 1;