[Coco] patch to build toolshed on FC-6
Boisy Pitre
boisy at boisypitre.com
Sun May 6 09:54:20 EDT 2007
Chris,
Thanks. I've applied the patch and committed the file.
Boisy
On May 5, 2007, at 9:10 PM, Christopher Hawks wrote:
> Christopher Hawks wrote:
>> tim lindner wrote:
>>> Christopher Hawks <chawks at dls.net> wrote:
>>>
>>>>> I went to build toolshed from the Sourceforge CVS on my FC-6
>>>>> box and had
>>>>> I a couple of burps. You may want to consider applying this
>>>>> patch?
>>>> My copy of toolshed doesn't have anything called makewav, and
>>>> I just
>>>> updated it to be sure...
>>>
>>> cvs update won't check out new files.
>>>
>>> You have to do a checkout for that to happen.
>> Must be more sorceforge #$%^&#$% !!! I do that all the time
>> elsewhere.
>> Do an update in cvs and any added files and directories are added
>> to my checked-out version.
>
> Works now (with a full checkout).
>
> Speaking of patches ... Boisy, here's the patch I mentioned at
> CocoFest! to let the cocofuse binary work with mount. It reverses
> the parms so mount can call it.
>
> mount's syntax is:
> mount -t fuse cocofuse#/work/flash5.dsk /mnt
> umount /mnt - to unmount.
>
> diff -u -r1.7 cocofuse.c
> --- cocofuse.c 26 Feb 2007 01:31:26 -0000 1.7
> +++ cocofuse.c 6 May 2007 02:06:21 -0000
> @@ -593,10 +593,19 @@
> #endif
> };
>
> +void usage(char* name)
> +{
> + printf("Usage: %s: dskimage mountpoint [FUSE options]\n", name);
> + exit(1);
> +}
>
> int main(int argc, char **argv)
> {
> - strcpy(dsk, argv[2]);
> - return fuse_main(argc - 1, argv, &coco_filesystem_operations, NULL);
> + if(argc < 3)
> + usage(argv[0]);
> +
> + strcpy(dsk, argv[1]);
> + argv[1] = argv[0];
> + return fuse_main(argc - 1, &argv[1], &coco_filesystem_operations,
> NULL);
> }
>
>
> --
> Christopher R. Hawks
> HAWKSoft
> ---------------------------------------------------------
> Any research done on how to efficiently use computers has been long
> lost
> in the mad rush to upgrade systems to do things that aren't needed by
> people who don't understand what they are really supposed to do
> with them.
> -- Graham Reed, in a.s.r.
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
--
Boisy G. Pitre
Email: boisy at boisypitre.com
Web: http://www.boisypitre.com/
Phone: 337-781-3570
More information about the Coco
mailing list