Add support for PowerPC to devel/nspr.
There were two things missing in the nspr port that prevented it from
being properly compiled on PowerPC:
- A string definition of the processor platform ("powerpc").
- Definitions of byte ordering and sizes of standard C types.
I copied the second list of definitions from _linux.cfg. The values used
by _openbsd.cfg and _netbsd.cfg are not accurate (size and alignment of
int64 is incorrect).
Approved by: marcus
Add additional definitions now that we have gethost_r functions and
hour normal gethost functions are thread-safe. Also, wrap thread-safe
definitions around a check for _PR_PTHREADS.
Reported by: Sean C. Farley <sean-freebsd@farley.org>
Fix the build on very recent -CURRENT. Since the resolv changes didn't
get their own __FreeBSD_version, use the bump associated with
fcloseall().
Tested by: sajd on #freebsd-gnome