summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat/files/setmode.c
AgeCommit message (Collapse)AuthorFilesLines
2004-03-12#if 0 out the __weak_alias stuff, which isn't needed here. should fixgrant1-2/+4
build on OpenBSD ELF platforms.
2003-09-05Add back setmode.c which is still needed on systems that don't havejlam1-0/+503
{get,set}mode() that was accidentally deleted.
2003-09-05Update pkgtools/libnbcompat to 20030829. Changes from previous versionjlam1-503/+0
include: * Move headers out of the global namespace and into the nbcompat directory. Since there are no headers other than nbcompat.h in ${PREFIX}/include/libnbcompat, just install it directly in ${PREFIX}/include. Using libnbcompat is now a matter of including nbcompat.h at the top of *.c files and linking against -lnbcompat. * Only build functions into libnbcompat.a if they aren't already in the system libraries. * Move several *.[ch] files that are pax- or mtree-specific out of libnbcompat (they should belong with those packages). On NetBSD 1.6 systems, libnbcompat.a now contains just the bare minimum: the sha2 routines.
2003-09-03Update pkgtools/libnbcompat to 20030826. Changes from previous version:jlam1-3/+3
* Properly declare statfs() and fstatfs() if we use the libnbcompat versions. * Move some headers into a private directory in the installed location so that they don't override headers of the same name on the system. * Define TAILQ_HEAD_INITIALIZER if it doesn't exist. * Add a poll() implementation using select() for poll()-less systems. Thanks for Charles Blundell for the implementation! * Fix the vis.h check for systems whose vis() is not as featureful as NetBSD's.
2003-09-01Bump version to 20030823:jlam1-5/+5
* Add mkdtemp, TAILQ_*, and statfs. * Install a nbconfig.h file containing the discovered system information and include it directly in nbcompat.h. Make all files use nbconfig.h instead of config.h. Ensure that all installed headers don't include any local header files. This makes libnbcompat more self-contained. * Consistently use "#if HAVE_HEADER_H" instead of "#ifdef HAVE_HEADER_H" since sometimes people put -DHAVE_HEADER_H=0 on their command lines.
2003-08-27Drop advertising clause from UCB licensed code, following changes done injmmv1-7/+3
NetBSD's source files.
2003-03-31Initial import of libnbcompat-20030331, a portable NetBSD compatibilitygrant1-0/+507
library for use by the pkgsrc tools and other sources from NetBSD.