remove unneeded patches (NULL casts)
This commit is contained in:
parent
6ff73abfa2
commit
221b808ba2
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.66 2011/03/28 16:19:45 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.67 2011/04/16 09:00:44 sthen Exp $
|
||||
|
||||
COMMENT= tty-based e-mail client, development version
|
||||
|
||||
DISTNAME= mutt-1.5.21
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mutt/}
|
||||
|
||||
WANTLIB= qdbm>=14 z
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-filter_c,v 1.4 2007/06/21 17:26:29 bernd Exp $
|
||||
--- filter.c.orig Sun Apr 1 23:58:55 2007
|
||||
+++ filter.c Sat Apr 7 11:40:27 2007
|
||||
@@ -117,7 +117,7 @@ mutt_create_filter_fd (const char *cmd, FILE **in, FIL
|
||||
close (fderr);
|
||||
}
|
||||
|
||||
- execl (EXECSHELL, "sh", "-c", cmd, NULL);
|
||||
+ execl (EXECSHELL, "sh", "-c", cmd, (void *)NULL);
|
||||
_exit (127);
|
||||
}
|
||||
else if (thepid == -1)
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-mutt_tunnel_c,v 1.5 2007/06/21 17:26:29 bernd Exp $
|
||||
--- mutt_tunnel.c.orig Sun Apr 1 23:58:56 2007
|
||||
+++ mutt_tunnel.c Sat Apr 7 11:40:27 2007
|
||||
@@ -97,7 +97,7 @@ static int tunnel_socket_open (CONNECTION *conn)
|
||||
/* Don't let the subprocess think it can use the controlling tty */
|
||||
setsid ();
|
||||
|
||||
- execl (EXECSHELL, "sh", "-c", Tunnel, NULL);
|
||||
+ execl (EXECSHELL, "sh", "-c", Tunnel, (void *)NULL);
|
||||
_exit (127);
|
||||
}
|
||||
mutt_unblock_signals_system (1);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-system_c,v 1.4 2007/06/21 17:26:29 bernd Exp $
|
||||
--- system.c.orig Sun Apr 1 23:58:58 2007
|
||||
+++ system.c Sat Apr 7 11:40:27 2007
|
||||
@@ -114,7 +114,7 @@ int _mutt_system (const char *cmd, int flags)
|
||||
sigaction (SIGTSTP, &act, NULL);
|
||||
sigaction (SIGCONT, &act, NULL);
|
||||
|
||||
- execl (EXECSHELL, "sh", "-c", cmd, NULL);
|
||||
+ execl (EXECSHELL, "sh", "-c", cmd, (void *)NULL);
|
||||
_exit (127); /* execl error */
|
||||
}
|
||||
else if (thepid != -1)
|
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.40 2010/10/18 20:29:53 jsg Exp $
|
||||
# $OpenBSD: Makefile,v 1.41 2011/04/16 09:00:44 sthen Exp $
|
||||
|
||||
COMMENT= tty-based e-mail client
|
||||
|
||||
VERSION= 1.4.2.3
|
||||
DISTNAME= mutt-${VERSION}
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
MASTER_SITES= ${MASTER_SITES_MUTT}
|
||||
USE_GROFF = Yes
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-filter_c,v 1.2 2007/06/15 19:01:07 kili Exp $
|
||||
--- filter.c.orig Wed May 23 03:17:53 2007
|
||||
+++ filter.c Mon May 28 19:10:48 2007
|
||||
@@ -113,7 +113,7 @@ mutt_create_filter_fd (const char *cmd, FILE **in, FIL
|
||||
close (fderr);
|
||||
}
|
||||
|
||||
- execl (EXECSHELL, "sh", "-c", cmd, NULL);
|
||||
+ execl (EXECSHELL, "sh", "-c", cmd, (void *)NULL);
|
||||
_exit (127);
|
||||
}
|
||||
else if (thepid == -1)
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-mutt_tunnel_c,v 1.2 2007/06/15 19:01:07 kili Exp $
|
||||
--- mutt_tunnel.c.orig Wed May 23 03:17:53 2007
|
||||
+++ mutt_tunnel.c Mon May 28 19:10:48 2007
|
||||
@@ -91,7 +91,7 @@ static int tunnel_socket_open (CONNECTION *conn)
|
||||
/* Don't let the subprocess think it can use the controlling tty */
|
||||
setsid ();
|
||||
|
||||
- execl (EXECSHELL, "sh", "-c", Tunnel, NULL);
|
||||
+ execl (EXECSHELL, "sh", "-c", Tunnel, (void *)NULL);
|
||||
_exit (127);
|
||||
}
|
||||
mutt_unblock_signals_system (1);
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-system_c,v 1.2 2007/06/15 19:01:07 kili Exp $
|
||||
--- system.c.orig Wed May 23 03:17:54 2007
|
||||
+++ system.c Mon May 28 19:10:48 2007
|
||||
@@ -110,7 +110,7 @@ int _mutt_system (const char *cmd, int flags)
|
||||
sigaction (SIGTSTP, &act, NULL);
|
||||
sigaction (SIGCONT, &act, NULL);
|
||||
|
||||
- execl (EXECSHELL, "sh", "-c", cmd, NULL);
|
||||
+ execl (EXECSHELL, "sh", "-c", cmd, (void *)NULL);
|
||||
_exit (127); /* execl error */
|
||||
}
|
||||
else if (thepid != -1)
|
Loading…
Reference in New Issue
Block a user