Re: [coco-devel] NetBSD compilation fixes for copter-commander-1.8
Brought to you by:
svref
From: David M. <sv...@ya...> - 2002-03-09 01:26:11
|
Thomas, Wow, great work! I'll apply the patches and write you back. That's the biggest set of changes I've seen from an outsider yet, by the way. If you're interested, I'd like to add you as an admin to the sourceforge site. Thomas Klausner wrote: > Hi! > > I just added copter-commander to NetBSD's pkgsrc, it will show up > sometime next week at > ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/games/copter-commander/README.html > > I had to add some patches to make it work, they are attached. > Some comments: > NetBSD doesn't provide nor need alloca.h; if it's really needed on > Linux, it should be properly #ifdef'd (my patches just remove it). > > I had to initialize to variables because of gcc-2.95.3's complaining > about them perhaps being used uninitialized (patch-ad, patch-ae). > > NetBSD's sed doesn't support a '-' flag, since stdin is the default. > I don't think it's really needed in the one place in > string-literalize.sh, so I removed it (patch-ag). > > Oh, and patch-aa: The rpath has to be added manually. -L doesn't > automatically add its argument to the binary's rpath, because the -L > path is only for link-time, the -R path is for run-time. > [Imagine you want to link against some libraries before installing > them, then you don't want to embed the temporary path in the binary]. > > Please add these patches to the copter-commander distribution. > > Thanks, > Thomas Klausner |