openbsd-ports/devel/libslang/patches/patch-src_slsignal_c

13 lines
431 B
Plaintext

$OpenBSD: patch-src_slsignal_c,v 1.1 2010/09/13 07:35:08 sthen Exp $
--- src/slsignal.c.orig Sat Dec 5 20:03:51 2009
+++ src/slsignal.c Sun Sep 12 12:14:17 2010
@@ -272,7 +272,7 @@ static int system_internal (SLFUTURE_CONST char *cmd,
(void) sigprocmask (SIG_SETMASK, &save_mask, NULL);
# endif
- execl ("/bin/sh", "sh", "-c", cmd, NULL);
+ execl ("/bin/sh", "sh", "-c", cmd, (char *) NULL);
_exit (127);
}
else