From 26cf1d617fcbea14f4848a2f1cb5ce9cdc15b89d Mon Sep 17 00:00:00 2001 From: pvalchev Date: Sat, 1 Mar 2003 06:25:19 +0000 Subject: [PATCH] Cast NULL sentinel to void * to make sure it's 64-bit on 64-bit architectures --- x11/kde/libs3/patches/patch-kdecore_kapplication_cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x11/kde/libs3/patches/patch-kdecore_kapplication_cpp diff --git a/x11/kde/libs3/patches/patch-kdecore_kapplication_cpp b/x11/kde/libs3/patches/patch-kdecore_kapplication_cpp new file mode 100644 index 00000000000..baaaa3d38e4 --- /dev/null +++ b/x11/kde/libs3/patches/patch-kdecore_kapplication_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-kdecore_kapplication_cpp,v 1.1 2003/03/01 06:25:19 pvalchev Exp $ +--- kdecore/kapplication.cpp.orig Fri Feb 28 20:00:35 2003 ++++ kdecore/kapplication.cpp Fri Feb 28 20:00:54 2003 +@@ -749,7 +749,7 @@ static int my_system (const char *comman + return -1; + if (pid == 0) { + const char* shell = "/bin/sh"; +- execl(shell, shell, "-c", command, 0L); ++ execl(shell, shell, "-c", command, (void *)NULL); + ::exit(127); + } + do {