freebsd-ports/mail/sympa-elixus/files/patch-wwsympa-wwsympa-wrapper.c
Cheng-Lung Sung 8eabd83202 - Update version to 20041024
PR:		ports/73119
Approved by:	maintainer, co-mentor (vanilla)
2004-10-25 15:51:19 +00:00

11 lines
311 B
C

--- wwsympa/wwsympa-wrapper.c Sat Oct 23 20:42:47 2004
+++ wwsympa/wwsympa-wrapper.c Sat Oct 23 20:42:30 2004
@@ -0,0 +1,8 @@
+#include <unistd.h>
+
+#define WWSYMPA "/usr/local/sympa/bin/wwsympa.fcgi"
+
+int main(int argn, char **argv, char **envp) {
+ argv[0] = WWSYMPA;
+ execve(WWSYMPA,argv,envp);
+}