freebsd-ports/mail/sympa/files/patch-wwsympa-wwsympa-wrapper.c
Cheng-Lung Sung fdc8193123 - Update to 4.1.2
PR:		ports/73101
Submitted by:	clsung
Approved by:	maintainer (Autrijus Tang), co-mentor (vanilla)
2004-10-25 13:09:20 +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);
+}