[coco-devel] NetBSD compilation fixes for copter-commander-1.8
Brought to you by:
svref
From: Thomas K. <wi...@da...> - 2002-03-08 17:03:34
|
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 -- Thomas Klausner - wi...@da... Der Horizont vieler Menschen ist ein Kreis mit Radius Null -- und das nennen sie ihren Standpunkt. (found on /.) |