diff options
author | wiz <wiz> | 2001-03-23 16:18:56 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-03-23 16:18:56 +0000 |
commit | befd1a94682e10e05601828e4ce58c62f55b95a3 (patch) | |
tree | 7e962c0bb1535c072bb4906dda02aad05856f1b7 /audio/vorbis-tools/patches | |
parent | b168e941fb854c238c03ef2237bd3e1ed2c726e5 (diff) | |
download | pkgsrc-befd1a94682e10e05601828e4ce58c62f55b95a3.tar.gz |
Add a patch supplied by Christian Weisgerber <naddy@openbsd.org>:
Remove shared memory segments (created when using -b) after exiting.
Diffstat (limited to 'audio/vorbis-tools/patches')
-rw-r--r-- | audio/vorbis-tools/patches/patch-ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/vorbis-tools/patches/patch-ac b/audio/vorbis-tools/patches/patch-ac new file mode 100644 index 00000000000..f86e1c6decc --- /dev/null +++ b/audio/vorbis-tools/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.3 2001/03/23 16:18:56 wiz Exp $ + +--- ogg123/buffer.c.orig Tue Jan 30 11:42:48 2001 ++++ ogg123/buffer.c +@@ -92,6 +92,9 @@ + perror ("shmat"); + exit (1); + } ++ ++ /* Remove segment after last process detaches it or terminates. */ ++ shmctl(shmid, IPC_RMID, 0); + + buffer_init (buf, size); + |