null pointer sentinel
This commit is contained in:
parent
a8909d86d7
commit
ae62d37637
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2003/11/02 01:34:46 margarida Exp $
|
||||
--- configure.orig 2003-07-02 14:36:59.000000000 +0100
|
||||
+++ configure 2003-11-02 01:22:09.000000000 +0000
|
||||
$OpenBSD: patch-configure,v 1.3 2004/01/04 17:27:48 sturm Exp $
|
||||
--- configure.orig 2003-11-06 22:07:50.000000000 +0100
|
||||
+++ configure 2004-01-04 17:54:41.000000000 +0100
|
||||
@@ -1420,7 +1420,7 @@ fi;
|
||||
if test "x$enable_release" = "xyes"; then
|
||||
FLAGS_ALL="-O2 -fomit-frame-pointer -Wall -fsigned-char"
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.2 2003/11/02 01:34:46 margarida Exp $
|
||||
fi
|
||||
|
||||
if test "x$enable_profiling" = "xyes"; then
|
||||
@@ -3816,7 +3816,7 @@ HAVE_X11=0
|
||||
@@ -3835,7 +3835,7 @@ HAVE_X11=0
|
||||
|
||||
if test "x$enable_x11_textmode" = "xyes"; then
|
||||
TEMP_LDFLAGS=$LDFLAGS
|
||||
|
12
editors/ht/patches/patch-io_posix_htsys_cc
Normal file
12
editors/ht/patches/patch-io_posix_htsys_cc
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-io_posix_htsys_cc,v 1.1 2004/01/04 17:27:48 sturm Exp $
|
||||
--- io/posix/htsys.cc.orig 2004-01-04 17:55:28.000000000 +0100
|
||||
+++ io/posix/htsys.cc 2004-01-04 17:59:08.000000000 +0100
|
||||
@@ -209,7 +209,7 @@ int sys_ipc_exec(ht_streamfile **in, ht_
|
||||
close(in_fds[0]);
|
||||
close(out_fds[1]);
|
||||
close(err_fds[1]);
|
||||
- execl(cmd, cmd, NULL);
|
||||
+ execl(cmd, cmd, (void *)NULL);
|
||||
exit(1);
|
||||
} else return errno;
|
||||
}
|
12
misc/brltty/patches/patch-Drivers_ExternalSpeech_speech_c
Normal file
12
misc/brltty/patches/patch-Drivers_ExternalSpeech_speech_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Drivers_ExternalSpeech_speech_c,v 1.1 2004/01/04 17:27:48 sturm Exp $
|
||||
--- Drivers/ExternalSpeech/speech.c.orig 2004-01-04 18:24:07.000000000 +0100
|
||||
+++ Drivers/ExternalSpeech/speech.c 2004-01-04 18:24:25.000000000 +0100
|
||||
@@ -159,7 +159,7 @@ static void spk_open (char **parameters)
|
||||
long numfds = sysconf(_SC_OPEN_MAX);
|
||||
for(i=2; i<numfds; i++) close(i);
|
||||
}
|
||||
- execl(extProgPath, extProgPath, 0);
|
||||
+ execl(extProgPath, extProgPath, (void *)NULL);
|
||||
myperror("Unable to execute external speech program '%s'", extProgPath);
|
||||
_exit(1);
|
||||
}
|
Loading…
Reference in New Issue
Block a user