diff --git a/net/xchat2/patches/patch-src_common_outbound_c b/net/xchat2/patches/patch-src_common_outbound_c new file mode 100644 index 00000000000..687357b503c --- /dev/null +++ b/net/xchat2/patches/patch-src_common_outbound_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_common_outbound_c,v 1.1 2003/10/26 02:08:51 pvalchev Exp $ +--- src/common/outbound.c.orig 2003-10-25 13:03:33.000000000 -0600 ++++ src/common/outbound.c 2003-10-25 13:03:49.000000000 -0600 +@@ -1393,7 +1393,7 @@ cmd_exec (struct session *sess, char *tb + /* Now we call /bin/sh to run our cmd ; made it more friendly -DC1 */ + if (shell) + { +- execl ("/bin/sh", "sh", "-c", cmd, 0); ++ execl ("/bin/sh", "sh", "-c", cmd, (void *)NULL); + } else + { + char **argv; diff --git a/www/konqueror-embedded/patches/patch-konq-embed_dropin_kio_krun_cpp b/www/konqueror-embedded/patches/patch-konq-embed_dropin_kio_krun_cpp new file mode 100644 index 00000000000..2ded1052650 --- /dev/null +++ b/www/konqueror-embedded/patches/patch-konq-embed_dropin_kio_krun_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-konq-embed_dropin_kio_krun_cpp,v 1.1 2003/10/26 02:08:51 pvalchev Exp $ +--- konq-embed/dropin/kio/krun.cpp.orig 2003-10-25 13:00:54.000000000 -0600 ++++ konq-embed/dropin/kio/krun.cpp 2003-10-25 13:01:54.000000000 -0600 +@@ -288,7 +288,7 @@ int KRun::exec( const QString &app, cons + + if ( !ref.isEmpty() ) + ::setenv( "PROTOCOL_REFERER", ref.latin1(), true ); +- execlp( app.local8Bit().data(), app.local8Bit().data(), arg.local8Bit().data(), 0 ); ++ execlp( app.local8Bit().data(), app.local8Bit().data(), arg.local8Bit().data(), (void *)NULL ); + ::exit( errno ); + #endif + return -1; diff --git a/www/konqueror-embedded/patches/patch-konq-embed_dropin_kio_mimehandler_cpp b/www/konqueror-embedded/patches/patch-konq-embed_dropin_kio_mimehandler_cpp new file mode 100644 index 00000000000..d193296c8b7 --- /dev/null +++ b/www/konqueror-embedded/patches/patch-konq-embed_dropin_kio_mimehandler_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-konq-embed_dropin_kio_mimehandler_cpp,v 1.1 2003/10/26 02:08:51 pvalchev Exp $ +--- konq-embed/dropin/kio/mimehandler.cpp.orig 2003-10-25 13:01:24.000000000 -0600 ++++ konq-embed/dropin/kio/mimehandler.cpp 2003-10-25 13:01:46.000000000 -0600 +@@ -79,7 +79,7 @@ ExternalFilter* ExternalFilter::Create( + ::setenv( "FILTER_MIME_OUT", otype.latin1(), TRUE ); + ::setenv( "FILTER_URL", url.url().latin1(), TRUE ); + const char *exe = app.latin1(); +- ::execlp( exe, exe, 0 ); ++ ::execlp( exe, exe, (void *)NULL ); + ::exit( errno ); + } + else diff --git a/x11/xdmchoose/patches/patch-chooser_c b/x11/xdmchoose/patches/patch-chooser_c new file mode 100644 index 00000000000..ca037bc3549 --- /dev/null +++ b/x11/xdmchoose/patches/patch-chooser_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-chooser_c,v 1.1 2003/10/26 02:08:51 pvalchev Exp $ +--- chooser.c.orig 2003-10-25 13:04:31.000000000 -0600 ++++ chooser.c 2003-10-25 13:04:38.000000000 -0600 +@@ -1010,7 +1010,7 @@ static void run_init_script (void) + return; + break; + case 0: +- execl (_globconfig.startscript, _globconfig.startscript, NULL); ++ execl (_globconfig.startscript, _globconfig.startscript, (void *)NULL); + _exit (-1); + break; + default: