summaryrefslogtreecommitdiff
path: root/mail/sympa/files/patch-wwsympa-wwsympa-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sympa/files/patch-wwsympa-wwsympa-wrapper.c')
-rw-r--r--mail/sympa/files/patch-wwsympa-wwsympa-wrapper.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/sympa/files/patch-wwsympa-wwsympa-wrapper.c b/mail/sympa/files/patch-wwsympa-wwsympa-wrapper.c
new file mode 100644
index 000000000000..718cc8334aca
--- /dev/null
+++ b/mail/sympa/files/patch-wwsympa-wwsympa-wrapper.c
@@ -0,0 +1,11 @@
+--- 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);
++}