summaryrefslogtreecommitdiff
path: root/graphics/libflash
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2001-12-03 04:44:57 +0000
committermycroft <mycroft@pkgsrc.org>2001-12-03 04:44:57 +0000
commitf672de5f746825d8f0998abec614cf26d51705c4 (patch)
tree7d298e46b6cf0ff976c463577ee528f35eeef386 /graphics/libflash
parent1f3f5259282557c6fbd9a4c0a9936df363c0a1b5 (diff)
downloadpkgsrc-f672de5f746825d8f0998abec614cf26d51705c4.tar.gz
Make sure to actually GC the shm descriptor.
Diffstat (limited to 'graphics/libflash')
-rw-r--r--graphics/libflash/distinfo4
-rw-r--r--graphics/libflash/patches/patch-ah14
2 files changed, 13 insertions, 5 deletions
diff --git a/graphics/libflash/distinfo b/graphics/libflash/distinfo
index 5293fa9f06b..a39a0b2bc5e 100644
--- a/graphics/libflash/distinfo
+++ b/graphics/libflash/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2001/12/03 04:26:45 mycroft Exp $
+$NetBSD: distinfo,v 1.8 2001/12/03 04:44:57 mycroft Exp $
SHA1 (flash-0.4.10.tgz) = 41f2b8bba3e551e611913069e6e650bc4c8ab420
Size (flash-0.4.10.tgz) = 358995 bytes
@@ -9,4 +9,4 @@ SHA1 (patch-ad) = 177bb07d1377c1923f8548cdece23292c2b897b8
SHA1 (patch-ae) = 301e3359b28320822373c54a2c97e6ef528e55c7
SHA1 (patch-af) = 918bfd3f9f021dded65f8379bec3b42deb30cf65
SHA1 (patch-ag) = 74b9b37cd22be89dbbfba30ec37bb3b0caf3ead7
-SHA1 (patch-ah) = 7765691da9862ec07ae5fa8d6551e0cbdb16567a
+SHA1 (patch-ah) = db5231bad2e041a1ea9628fdddfe187e6fe22ac8
diff --git a/graphics/libflash/patches/patch-ah b/graphics/libflash/patches/patch-ah
index b4e2adc35c9..c387ce9d4e2 100644
--- a/graphics/libflash/patches/patch-ah
+++ b/graphics/libflash/patches/patch-ah
@@ -1,7 +1,7 @@
-$NetBSD: patch-ah,v 1.1.1.1 2000/08/28 17:33:50 rh Exp $
+$NetBSD: patch-ah,v 1.2 2001/12/03 04:44:58 mycroft Exp $
---- Plugin/plugin.c.orig Sat Aug 26 06:41:31 2000
-+++ Plugin/plugin.c
+--- Plugin/plugin.c.orig Mon Jun 12 08:24:09 2000
++++ Plugin/plugin.c Mon Dec 3 04:43:37 2001
@@ -162,7 +162,11 @@
FlashSetCursorOnOffMethod(This->fh, cursorOnOff, (void*)instance);
@@ -14,3 +14,11 @@ $NetBSD: patch-ah,v 1.1.1.1 2000/08/28 17:33:50 rh Exp $
return NPERR_NO_ERROR;
}
+@@ -193,6 +197,7 @@
+ XSync(This->dpy,False);
+ XFreePixmap(This->dpy, This->canvas);
+ shmdt(This->segInfo.shmaddr);
++ shmctl(This->segInfo.shmid, IPC_RMID, 0);
+
+ FlashClose(This->fh);
+ This->fh = 0;