------- Comment #6 from aran at 100acres dot us 2008-10-03 14:53 ------- There is a typo in the last path. Apply this after the above.
--- orig/gcc/ada/s-osinte-netbsd.adb 2008-10-03 07:50:29.000000000 -0700 +++ netbsd/gcc/ada/s-osinte-netbsd.adb 2008-10-02 19:35:38.000000000 -0700 @@ -46,7 +46,7 @@ package body System.OS_Interface is type int_ptr is access all int; function internal_errno return int_ptr; - pragma Import (C, internal_errno, "__error"); + pragma Import (C, internal_errno, "__errno"); begin return (internal_errno.all); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37309