diff options
author | agc <agc@pkgsrc.org> | 2002-06-27 20:40:11 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2002-06-27 20:40:11 +0000 |
commit | caff418d39f16699e26f87d905473733afcb414f (patch) | |
tree | 35f117209c761169716236ba08d151877e271518 /graphics | |
parent | 1dc6f6e3041a23c6d3e918eaf4a303bacf53cbc1 (diff) | |
download | pkgsrc-caff418d39f16699e26f87d905473733afcb414f.tar.gz |
Cast away C++ compiler errors (thanks, Martin).
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cqcam/distinfo | 3 | ||||
-rw-r--r-- | graphics/cqcam/patches/patch-ad | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/cqcam/distinfo b/graphics/cqcam/distinfo index 4ceca4051d9..b658a671484 100644 --- a/graphics/cqcam/distinfo +++ b/graphics/cqcam/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2001/06/29 14:53:34 zuntum Exp $ +$NetBSD: distinfo,v 1.4 2002/06/27 20:40:11 agc Exp $ SHA1 (cqcam-0.45a.tgz) = 39affec6ad3e81cc837ab583d01207767d4f7273 Size (cqcam-0.45a.tgz) = 40163 bytes SHA1 (patch-aa) = f65eb6001abfc39fea3f5fdab1af445214748f9a SHA1 (patch-ab) = 69138220e26174d66e10310d247f9611b3e13471 SHA1 (patch-ac) = 868cedbdb0e866013079408d2260eb5084121da7 +SHA1 (patch-ad) = 79c73e48ed2dbfdf13286afe1959e1d1fdcacb0d diff --git a/graphics/cqcam/patches/patch-ad b/graphics/cqcam/patches/patch-ad new file mode 100644 index 00000000000..5cdc04354f3 --- /dev/null +++ b/graphics/cqcam/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1 2002/06/27 20:40:12 agc Exp $ + +--- xscan.C 2002/06/27 20:28:59 1.1 ++++ xscan.C 2002/06/27 20:35:04 +@@ -141,8 +141,8 @@ + perror("shmget failed:"); + return (NULL); + } +- sbuf = ximage->data = SHMInfo.shmaddr = +- shmat(SHMInfo.shmid, 0, 0); ++ (void *)sbuf = (void *) ximage->data = (void *) SHMInfo.shmaddr = ++ (void *) shmat(SHMInfo.shmid, 0, 0); + + XShmAttach(disp, &SHMInfo); + |