diff --git a/audio/lopster/patches/patch-src_exec_c b/audio/lopster/patches/patch-src_exec_c new file mode 100644 index 00000000000..f3558f0ebdf --- /dev/null +++ b/audio/lopster/patches/patch-src_exec_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_exec_c,v 1.1 2002/12/29 00:10:48 pvalchev Exp $ +--- src/exec.c.orig Sat Dec 28 15:37:30 2002 ++++ src/exec.c Sat Dec 28 15:37:38 2002 +@@ -402,7 +402,7 @@ static int exec_fire_up(exec_t* exec) { + for (i = 3; i < 1024; i++) + close(i); + +- execl("/bin/sh", "sh", "-c", exec->command, 0); ++ execl("/bin/sh", "sh", "-c", exec->command, (void *)NULL); + _exit(-1); + default: + // parent diff --git a/devel/libgtop/patches/patch-lib_open_c b/devel/libgtop/patches/patch-lib_open_c new file mode 100644 index 00000000000..de561c5e54d --- /dev/null +++ b/devel/libgtop/patches/patch-lib_open_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-lib_open_c,v 1.1 2002/12/29 00:10:48 pvalchev Exp $ +--- lib/open.c.orig Sat Dec 28 15:35:34 2002 ++++ lib/open.c Sat Dec 28 15:35:40 2002 +@@ -110,7 +110,7 @@ glibtop_open_l (glibtop *server, const c + close (server->input [0]); close (server->output [1]); + dup2 (server->input [1], 1); + dup2 (server->output [0], 0); +- execl (LIBGTOP_SERVER, "libgtop-server", NULL); ++ execl (LIBGTOP_SERVER, "libgtop-server", (void *)NULL); + glibtop_error_io_r (server, "execl (%s)", + LIBGTOP_SERVER); + _exit (2); diff --git a/graphics/gimp/stable/patches/patch-plug-ins_common_bz2_c b/graphics/gimp/stable/patches/patch-plug-ins_common_bz2_c new file mode 100644 index 00000000000..5b55664b55c --- /dev/null +++ b/graphics/gimp/stable/patches/patch-plug-ins_common_bz2_c @@ -0,0 +1,21 @@ +$OpenBSD: patch-plug-ins_common_bz2_c,v 1.1 2002/12/29 00:10:47 pvalchev Exp $ +--- plug-ins/common/bz2.c.orig Sat Dec 28 14:57:07 2002 ++++ plug-ins/common/bz2.c Sat Dec 28 14:57:21 2002 +@@ -306,7 +306,7 @@ save_image (gchar *filename, + g_message ("bz2: dup2 failed: %s\n", g_strerror (errno)); + + /* and bzip2 into it */ +- execlp ("bzip2", "bzip2", "-cf", tmpname, NULL); ++ execlp ("bzip2", "bzip2", "-cf", tmpname, (void *)NULL); + g_message ("bz2: exec failed: bzip2: %s\n", g_strerror (errno)); + g_free (tmpname); + _exit (127); +@@ -385,7 +385,7 @@ load_image (gchar *filename, + g_message ("bz2: dup2 failed: %s\n", g_strerror (errno)); + + /* and unzip into it */ +- execlp ("bzip2", "bzip2", "-cfd", filename, NULL); ++ execlp ("bzip2", "bzip2", "-cfd", filename, (void *)NULL); + g_message ("bz2: exec failed: bunzip2: %s\n", g_strerror (errno)); + g_free (tmpname); + _exit (127); diff --git a/graphics/gimp/stable/patches/patch-plug-ins_common_gz_c b/graphics/gimp/stable/patches/patch-plug-ins_common_gz_c new file mode 100644 index 00000000000..e5db87d0638 --- /dev/null +++ b/graphics/gimp/stable/patches/patch-plug-ins_common_gz_c @@ -0,0 +1,21 @@ +$OpenBSD: patch-plug-ins_common_gz_c,v 1.1 2002/12/29 00:10:47 pvalchev Exp $ +--- plug-ins/common/gz.c.orig Sat Dec 28 14:57:34 2002 ++++ plug-ins/common/gz.c Sat Dec 28 14:57:49 2002 +@@ -368,7 +368,7 @@ save_image (gchar *filename, + g_message ("gz: dup2 failed: %s\n", g_strerror (errno)); + + /* and gzip into it */ +- execlp ("gzip", "gzip", "-cf", tmpname, NULL); ++ execlp ("gzip", "gzip", "-cf", tmpname, (void *)NULL); + g_message ("gz: exec failed: gzip: %s\n", g_strerror (errno)); + g_free (tmpname); + _exit(127); +@@ -486,7 +486,7 @@ load_image (gchar *filename, + } + + /* and unzip into it */ +- execlp ("gzip", "gzip", "-cfd", filename, NULL); ++ execlp ("gzip", "gzip", "-cfd", filename, (void *)NULL); + g_message ("gz: exec failed: gunzip: %s\n", g_strerror (errno)); + g_free (tmpname); + _exit(127); diff --git a/graphics/gimp/stable/patches/patch-plug-ins_common_mail_c b/graphics/gimp/stable/patches/patch-plug-ins_common_mail_c new file mode 100644 index 00000000000..d37e29db696 --- /dev/null +++ b/graphics/gimp/stable/patches/patch-plug-ins_common_mail_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-plug-ins_common_mail_c,v 1.1 2002/12/29 00:10:47 pvalchev Exp $ +--- plug-ins/common/mail.c.orig Sat Dec 28 14:57:55 2002 ++++ plug-ins/common/mail.c Sat Dec 28 14:58:01 2002 +@@ -368,7 +368,7 @@ save_image (gchar *filename, + g_message ("mail: dup2 failed: %s\n", g_strerror (errno)); + } + +- execlp (UUENCODE, UUENCODE, tmpname, filename, NULL); ++ execlp (UUENCODE, UUENCODE, tmpname, filename, (void *)NULL); + /* What are we doing here? exec must have failed */ + g_message ("mail: exec failed: uuencode: %s\n", g_strerror (errno)); + diff --git a/graphics/gimp/stable/patches/patch-plug-ins_common_url_c b/graphics/gimp/stable/patches/patch-plug-ins_common_url_c new file mode 100644 index 00000000000..a5c521571d9 --- /dev/null +++ b/graphics/gimp/stable/patches/patch-plug-ins_common_url_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-plug-ins_common_url_c,v 1.1 2002/12/29 00:10:47 pvalchev Exp $ +--- plug-ins/common/url.c.orig Sat Dec 28 14:58:06 2002 ++++ plug-ins/common/url.c Sat Dec 28 14:58:16 2002 +@@ -189,7 +189,7 @@ load_image (gchar *filename, + putenv ("LANG=C"); + #endif + +- execlp ("wget", "wget", "-T", TIMEOUT, filename, "-O", tmpname, NULL); ++ execlp ("wget", "wget", "-T", TIMEOUT, filename, "-O", tmpname, (void *)NULL); + g_message ("url: exec() failed: wget: %s", g_strerror (errno)); + g_free (tmpname); + _exit (127); diff --git a/graphics/gimp/stable/patches/patch-plug-ins_webbrowser_webbrowser_c b/graphics/gimp/stable/patches/patch-plug-ins_webbrowser_webbrowser_c new file mode 100644 index 00000000000..ca786f45de8 --- /dev/null +++ b/graphics/gimp/stable/patches/patch-plug-ins_webbrowser_webbrowser_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-plug-ins_webbrowser_webbrowser_c,v 1.1 2002/12/29 00:10:47 pvalchev Exp $ +--- plug-ins/webbrowser/webbrowser.c.orig Sat Dec 28 14:56:48 2002 ++++ plug-ins/webbrowser/webbrowser.c Sat Dec 28 14:56:55 2002 +@@ -229,7 +229,7 @@ start_browser (gchar *prog, + + if ((cpid = fork()) == 0) + { +- execlp (prog, prog, url, NULL); ++ execlp (prog, prog, url, (void *)NULL); + exit (1); + } + diff --git a/net/lftp/patches/patch-src_Filter_cc b/net/lftp/patches/patch-src_Filter_cc new file mode 100644 index 00000000000..1ba857f6946 --- /dev/null +++ b/net/lftp/patches/patch-src_Filter_cc @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_Filter_cc,v 1.1 2002/12/29 00:10:48 pvalchev Exp $ +--- src/Filter.cc.orig Sat Dec 28 15:24:26 2002 ++++ src/Filter.cc Sat Dec 28 15:25:12 2002 +@@ -178,7 +178,7 @@ int OutputFilter::getfd() + } + if(a) + execvp(a->a0(),a->GetV()); +- execl("/bin/sh","sh","-c",name,NULL); ++ execl("/bin/sh","sh","-c",name,(void *)NULL); + fprintf(stderr,_("execl(/bin/sh) failed: %s\n"),strerror(errno)); + fflush(stderr); + _exit(1); diff --git a/net/lftp/patches/patch-src_PtyShell_cc b/net/lftp/patches/patch-src_PtyShell_cc new file mode 100644 index 00000000000..c5af017382f --- /dev/null +++ b/net/lftp/patches/patch-src_PtyShell_cc @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_PtyShell_cc,v 1.3 2002/12/29 00:10:48 pvalchev Exp $ +--- src/PtyShell.cc.orig Sat Dec 28 15:24:54 2002 ++++ src/PtyShell.cc Sat Dec 28 15:25:28 2002 +@@ -114,7 +114,7 @@ int PtyShell::getfd() + putenv((char*)"LANGUAGE=C"); + if(a) + execvp(a->a0(),a->GetV()); +- execl("/bin/sh","sh","-c",name,NULL); ++ execl("/bin/sh","sh","-c",name,(void *)NULL); + fprintf(stderr,_("execl(/bin/sh) failed: %s\n"),strerror(errno)); + fflush(stderr); + _exit(1); diff --git a/net/lftp/patches/patch-src_misc_cc b/net/lftp/patches/patch-src_misc_cc new file mode 100644 index 00000000000..8cc9f1211c7 --- /dev/null +++ b/net/lftp/patches/patch-src_misc_cc @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_misc_cc,v 1.1 2002/12/29 00:10:48 pvalchev Exp $ +--- src/misc.cc.orig Sat Dec 28 15:24:50 2002 ++++ src/misc.cc Sat Dec 28 15:25:18 2002 +@@ -258,7 +258,7 @@ void truncate_file_tree(const char *dir + SignalHook::Ignore(SIGTSTP); + SignalHook::Ignore(SIGQUIT); + SignalHook::Ignore(SIGHUP); +- execlp("rm","rm","-rf",dir,NULL); ++ execlp("rm","rm","-rf",dir,(void *)NULL); + perror("execlp(rm)"); + fflush(stderr); + _exit(1); diff --git a/x11/icewm/patches/patch-src_wmapp_cc b/x11/icewm/patches/patch-src_wmapp_cc new file mode 100644 index 00000000000..d68bd0d678a --- /dev/null +++ b/x11/icewm/patches/patch-src_wmapp_cc @@ -0,0 +1,17 @@ +$OpenBSD: patch-src_wmapp_cc,v 1.1 2002/12/29 00:10:48 pvalchev Exp $ +--- src/wmapp.cc.orig Sat Dec 28 15:21:46 2002 ++++ src/wmapp.cc Sat Dec 28 15:22:19 2002 +@@ -883,11 +883,11 @@ void runRestart(const char *str, const c + if (args) { + execvp(str, (char * const *) args); + } else { +- execlp(str, str, 0); ++ execlp(str, str, (void *)NULL); + } + } else { + const char *c = configArg ? "-c" : NULL; +- execlp(ICEWMEXE, ICEWMEXE, c, configArg, 0); ++ execlp(ICEWMEXE, ICEWMEXE, c, configArg, (void *)NULL); + } + + app->alert(); diff --git a/x11/icewm/patches/patch-src_yapp_cc b/x11/icewm/patches/patch-src_yapp_cc new file mode 100644 index 00000000000..cd4f2a39713 --- /dev/null +++ b/x11/icewm/patches/patch-src_yapp_cc @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_yapp_cc,v 1.1 2002/12/29 00:10:48 pvalchev Exp $ +--- src/yapp.cc.orig Sat Dec 28 15:21:52 2002 ++++ src/yapp.cc Sat Dec 28 15:22:32 2002 +@@ -1370,7 +1370,7 @@ void YApplication::runProgram(const char + if (args) + execvp(str, (char **)args); + else +- execlp(str, str, 0); ++ execlp(str, str, (void *)NULL); + _exit(1); + } + }