don't use union wait
This commit is contained in:
parent
40250aae9b
commit
d6075bd6fa
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2011/09/16 10:31:23 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2011/11/13 15:16:01 naddy Exp $
|
||||
|
||||
COMMENT= X11/Motif schedule planner with calendar
|
||||
|
||||
DISTNAME= plan-1.10.1
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES= misc
|
||||
|
||||
HOMEPAGE= http://www.bitrot.de/plan.html
|
||||
|
12
misc/plan/patches/patch-src_daemon_c
Normal file
12
misc/plan/patches/patch-src_daemon_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_daemon_c,v 1.1 2011/11/13 15:16:01 naddy Exp $
|
||||
--- src/daemon.c.orig Sun Nov 13 06:34:23 2011
|
||||
+++ src/daemon.c Sun Nov 13 06:34:50 2011
|
||||
@@ -503,7 +503,7 @@ static void reaper(
|
||||
UNUSED int sig)
|
||||
{
|
||||
char path[40]; /* script to delete */
|
||||
-#if (defined BSD && !defined OSF && !defined __FreeBSD__)
|
||||
+#if (defined BSD && !defined OSF && !defined __FreeBSD__ && !defined __OpenBSD__)
|
||||
union wait dummy;
|
||||
#else
|
||||
int dummy;
|
Loading…
Reference in New Issue
Block a user