1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/mail/sympa5/files/patch-wwsympa-wwsympa-wrapper.c
Renato Botelho 8d1a3bfcb4 Add sympa5 5.1, sympa is an electronic mailing list manager.
PR:		ports/86599
Submitted by:	Olivier Girard <Olivier.Girard@Univ-Angers.fr>
2005-09-29 13:02:53 +00:00

12 lines
315 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/cgi-bin/wwsympa.fcgi"
+
+int main(int argn, char **argv, char **envp) {
+ argv[0] = WWSYMPA;
+ execve(WWSYMPA,argv,envp);
+}