summaryrefslogtreecommitdiff
path: root/audio/vorbis-tools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-23 16:18:56 +0000
committerwiz <wiz@pkgsrc.org>2001-03-23 16:18:56 +0000
commit187f7018aa11616774de75cb79b3e8ea2aef64f7 (patch)
tree7e962c0bb1535c072bb4906dda02aad05856f1b7 /audio/vorbis-tools
parentf4912b797b48b334ee6e0bc8d5f9ee287dc167b4 (diff)
downloadpkgsrc-187f7018aa11616774de75cb79b3e8ea2aef64f7.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')
-rw-r--r--audio/vorbis-tools/files/patch-sum3
-rw-r--r--audio/vorbis-tools/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/vorbis-tools/files/patch-sum b/audio/vorbis-tools/files/patch-sum
index b556920981a..a2a0bf6e455 100644
--- a/audio/vorbis-tools/files/patch-sum
+++ b/audio/vorbis-tools/files/patch-sum
@@ -1,4 +1,5 @@
-$NetBSD: patch-sum,v 1.2 2001/03/15 21:42:43 wiz Exp $
+$NetBSD: patch-sum,v 1.3 2001/03/23 16:18:56 wiz Exp $
SHA1 (patch-aa) = aab33b5461b56f912ee7cb551c90612d20461323
SHA1 (patch-ab) = fc23be24de8b2e43f0a3fd2ce73d47bf3fe2196b
+SHA1 (patch-ac) = 069843ac1db8badd3fb6032678116041b0507184
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);
+