summaryrefslogtreecommitdiff
path: root/misc/buffer/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-08-27 20:43:40 +0000
committerminskim <minskim@pkgsrc.org>2005-08-27 20:43:40 +0000
commit99b96f73447baf9fe565d4c215581bbafab0b9e1 (patch)
treed54c9973fee29f052133e0d71ce986b3b6a5e196 /misc/buffer/patches
parentaeb5af66d6a4ccc569ad4a4617b4dd275d40782b (diff)
downloadpkgsrc-99b96f73447baf9fe565d4c215581bbafab0b9e1.tar.gz
Remove conflicting declaration of shmat. This fixes PR pkg/31008.
Diffstat (limited to 'misc/buffer/patches')
-rw-r--r--misc/buffer/patches/patch-ac21
1 files changed, 12 insertions, 9 deletions
diff --git a/misc/buffer/patches/patch-ac b/misc/buffer/patches/patch-ac
index 15f4713b08c..91abd3fdd5f 100644
--- a/misc/buffer/patches/patch-ac
+++ b/misc/buffer/patches/patch-ac
@@ -1,20 +1,23 @@
-$NetBSD: patch-ac,v 1.1 1999/09/12 16:50:41 kim Exp $
+$NetBSD: patch-ac,v 1.2 2005/08/27 20:43:40 minskim Exp $
---- buffer.c.orig Wed Jul 14 11:59:17 1993
-+++ buffer.c Sun Sep 12 12:35:57 1999
-@@ -384,6 +384,7 @@
- }
+--- buffer.c.orig 1994-10-04 09:44:53.000000000 -0700
++++ buffer.c
+@@ -118,6 +118,4 @@ static char *rcsid = "$Header: /a/swan/h
+ #endif
+
+-extern char *shmat();
+-
+ /* General macros */
+ #define TRUE 1
+@@ -385,4 +383,5 @@ parse_args( argc, argv )
/* The interrupt handler */
+void
shutdown()
{
- static int shutting;
-@@ -400,6 +401,7 @@
- }
+@@ -401,4 +400,5 @@ shutdown()
/* Shutdown because the child has ended */
+void
child_shutdown()
{
- /* Find out which child has died. (They may not be my