summaryrefslogtreecommitdiff
path: root/audio/vorbis-tools/patches
diff options
context:
space:
mode:
authorwiz <wiz>2001-03-23 16:18:56 +0000
committerwiz <wiz>2001-03-23 16:18:56 +0000
commitbefd1a94682e10e05601828e4ce58c62f55b95a3 (patch)
tree7e962c0bb1535c072bb4906dda02aad05856f1b7 /audio/vorbis-tools/patches
parentb168e941fb854c238c03ef2237bd3e1ed2c726e5 (diff)
downloadpkgsrc-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-ac14
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);
+