diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2002-09-07 20:38:01 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2002-09-07 20:38:01 +0000 |
| commit | f2f88a531e6a36db654d00e217bee2861664f5bd (patch) | |
| tree | 126499829722cddc4ecb286bbe308470b33b4df3 /devel/xxgdb/files/patch-ah | |
| parent | * Upgrade to 0.10.16. (diff) | |
Fix build on -current (union wait removal).
Submitted by: kan
Notes
Notes:
svn path=/head/; revision=65795
Diffstat (limited to 'devel/xxgdb/files/patch-ah')
| -rw-r--r-- | devel/xxgdb/files/patch-ah | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/xxgdb/files/patch-ah b/devel/xxgdb/files/patch-ah new file mode 100644 index 000000000000..2eab0ed9016b --- /dev/null +++ b/devel/xxgdb/files/patch-ah @@ -0,0 +1,20 @@ +--- command.c.orig Fri Sep 6 22:46:19 2002 ++++ command.c Fri Sep 6 22:49:30 2002 +@@ -383,7 +383,7 @@ + XtPointer client_data; + XtPointer call_data; + { +-#ifdef SYSV ++#if defined(SYSV) || defined(__FreeBSD__) + int status; + #else + union wait status; +@@ -392,7 +392,7 @@ + write_dbx("quit\n"); + XtDestroyApplicationContext(app_context); + kill(dbxpid, SIGKILL); +-#ifdef SYSV ++#if defined(SYSV) || defined(__FreeBSD__) + #if 1 /* instead of ifdef SVR4 */ + status = waitpid(dbxpid, (int *)0, WNOHANG); /* (MJH) */ + #else |
