openbsd-ports/x11/openmotif/patches/patch-clients_mwm_WmFunction_c
sthen 6b69e3097d Update to Motif 2.3.4, which is now released under LGPLv2.1.
"Motif 2.3.4 is an updated version of Open Motif 2.3 and is a major
bug fix release."

Keeping current package naming (openmotif) for now.
Feedback from pascal@ naddy@
2012-10-28 11:05:44 +00:00

31 lines
969 B
Plaintext

$OpenBSD: patch-clients_mwm_WmFunction_c,v 1.3 2012/10/28 11:05:45 sthen Exp $
--- clients/mwm/WmFunction.c.orig Mon Oct 22 15:50:39 2012
+++ clients/mwm/WmFunction.c Wed Oct 24 21:18:52 2012
@@ -1113,12 +1113,12 @@ Boolean F_Exec (String args, ClientData *pCD, XEvent *
directory, then we must call execlp and not execl
*/
shellname = shell;
- execlp (shell, shellname, "-c", args, 0);
+ execlp (shell, shellname, "-c", args, (void *)NULL);
}
else
{
shellname++;
- execl (shell, shellname, "-c", args, 0);
+ execl (shell, shellname, "-c", args, (void *)NULL);
}
}
@@ -1127,9 +1127,9 @@ Boolean F_Exec (String args, ClientData *pCD, XEvent *
* Try /bin/sh .
*/
#ifdef SVR4
- execl ("/usr/bin/sh", "sh", "-c", args, 0);
+ execl ("/usr/bin/sh", "sh", "-c", args, (void *)NULL);
#else
- execl ("/bin/sh", "sh", "-c", args, 0);
+ execl ("/bin/sh", "sh", "-c", args, (void *)NULL);
#endif