From 8d1504de22a2ec6da080c933d2bd9278e03277a5 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Sat, 1 Mar 2003 05:11:23 +0000 Subject: [PATCH] Cast NULL sentinel to void * to make sure it's 64-bit on 64-bit architectures --- .../gimp/stable/patches/patch-plug-ins_print_print_c | 12 ++++++++++++ misc/logjam/patches/patch-src_ljtypes_c | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 graphics/gimp/stable/patches/patch-plug-ins_print_print_c create mode 100644 misc/logjam/patches/patch-src_ljtypes_c diff --git a/graphics/gimp/stable/patches/patch-plug-ins_print_print_c b/graphics/gimp/stable/patches/patch-plug-ins_print_print_c new file mode 100644 index 00000000000..f7fe02d8444 --- /dev/null +++ b/graphics/gimp/stable/patches/patch-plug-ins_print_print_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-plug-ins_print_print_c,v 1.1 2003/03/01 05:11:23 pvalchev Exp $ +--- plug-ins/print/print.c.orig Fri Feb 28 19:57:52 2003 ++++ plug-ins/print/print.c Fri Feb 28 19:58:03 2003 +@@ -571,7 +571,7 @@ run (char *name, /* I - Name of print + dup2 (pipefd[0], 0); + close (pipefd[0]); + close (pipefd[1]); +- execl("/bin/sh", "/bin/sh", "-c", vars.output_to, NULL); ++ execl("/bin/sh", "/bin/sh", "-c", vars.output_to, (void *)NULL); + /* NOTREACHED */ + exit (1); + } else { diff --git a/misc/logjam/patches/patch-src_ljtypes_c b/misc/logjam/patches/patch-src_ljtypes_c new file mode 100644 index 00000000000..b6d474303c0 --- /dev/null +++ b/misc/logjam/patches/patch-src_ljtypes_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_ljtypes_c,v 1.1 2003/03/01 05:11:24 pvalchev Exp $ +--- src/ljtypes.c.orig Fri Feb 28 20:02:31 2003 ++++ src/ljtypes.c Fri Feb 28 20:03:02 2003 +@@ -662,7 +662,7 @@ entry_from_user_editor(const char *filen + gchar *editor = + (getenv("VISUAL") ? getenv("VISUAL") : + getenv("EDITOR") ? getenv("EDITOR") : "vi"); +- execlp(editor, editor, filename, NULL); ++ execlp(editor, editor, filename, (void *)NULL); + _exit(0); + } +