openbsd-ports/www/cherokee/patches/patch-cherokee_main_admin_c
ajacoutot abbe07858a Update to cherokee-1.0.14.
From Fernando Quintero (maintainer).
Several fixes/tweaks as well as the rc script added by myself.
2010-12-20 07:51:58 +00:00

13 lines
502 B
Plaintext

$OpenBSD: patch-cherokee_main_admin_c,v 1.1 2010/12/20 07:51:58 ajacoutot Exp $
--- cherokee/main_admin.c.orig Mon Dec 13 14:01:05 2010
+++ cherokee/main_admin.c Mon Dec 20 07:52:33 2010
@@ -496,7 +496,7 @@ check_for_python (void)
int re;
pid_t pid;
int exitcode = -1;
- char *const args[] = {"env", "python", "-c", "raise SystemExit", NULL};
+ char *const args[] = {"env", "python${MODPY_VERSION}", "-c", "raise SystemExit", NULL};
pid = fork();
if (pid == -1) {