diff options
author | rh <rh> | 2001-10-07 14:00:43 +0000 |
---|---|---|
committer | rh <rh> | 2001-10-07 14:00:43 +0000 |
commit | f28cccd1570886cd1b41b19f199d60230d2b4eb8 (patch) | |
tree | 28b52dc38cba92d271db69c3ac75610ac4133976 /games/gnome-chess | |
parent | e53520ea4c6fa24bd4dcffc4213e92f0ee48c41e (diff) | |
download | pkgsrc-f28cccd1570886cd1b41b19f199d60230d2b4eb8.tar.gz |
Make this work with external programs.
Diffstat (limited to 'games/gnome-chess')
-rw-r--r-- | games/gnome-chess/distinfo | 3 | ||||
-rw-r--r-- | games/gnome-chess/patches/patch-aa | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/games/gnome-chess/distinfo b/games/gnome-chess/distinfo index 71ce624d396..2ba5324ca09 100644 --- a/games/gnome-chess/distinfo +++ b/games/gnome-chess/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.3 2001/10/07 13:25:35 rh Exp $ +$NetBSD: distinfo,v 1.4 2001/10/07 14:00:43 rh Exp $ SHA1 (gnome-chess-0.3.3.tar.gz) = a8af8cb2ad11b455547fb2b6712c554777c69fd3 Size (gnome-chess-0.3.3.tar.gz) = 342099 bytes +SHA1 (patch-aa) = 51d5d8b4266cb2c97035344b13a6456a30ac1306 diff --git a/games/gnome-chess/patches/patch-aa b/games/gnome-chess/patches/patch-aa new file mode 100644 index 00000000000..7224051f6d8 --- /dev/null +++ b/games/gnome-chess/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1 2001/10/07 14:00:44 rh Exp $ + +--- src/child.c.orig Mon May 28 21:32:36 2001 ++++ src/child.c +@@ -51,6 +51,8 @@ + + return *childpid; + } else /* Child */ { ++ char *argp[2]; ++ + close (pipe1[1]); + close (pipe2[0]); + +@@ -59,6 +61,12 @@ + + close (pipe1[0]); + close (pipe2[1]); ++ ++ if (arg == NULL) { ++ argp[0] = cmd; ++ argp[1] = NULL; ++ arg = argp; ++ } + + if (execvp (cmd, arg) < 0) + perror (cmd); |