summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
AgeCommit message (Collapse)AuthorFilesLines
2007-09-21If dirfd is either a function or a macro, use it. If it doesn't exist,joerg5-7/+250
but DIR contains dd_fd, define it as macro. Otherwise use -1 when calling fts_safe_changedir in fts(3). Based on patch from Sean Boudreau.
2007-09-08Convert to use the features framework.jlam1-8/+7
2007-09-06Drop libnbcompat/buildlink3.mk and force all packages that usejlam1-26/+0
libnbcompat to use it "in place". libnbcompat is just really special, and is of almost no use to anything other than the pkgsrc bootstrap process.
2007-09-06Use only features available in nawk.jlam1-3/+7
2007-09-04Ensure undef before typedef, to avoid error when a application detect missingobache1-3/+4
types by itself and define (ex, pkgtools/pkg_install).
2007-08-02Include "bsd.prefs.mk" to avoid error messages from e.g. "pkg_chk".tron1-1/+3
Fix suggested by Joerg Sonnenberger.
2007-08-01Allow libnbcompat to be used in cross-compiled packages.joerg1-2/+8
Supported-by: Google SoC 2007.
2007-07-31Don't use u_{char,short,int,long} as they are non-standard.joerg18-100/+100
Bump version to 20070731.
2007-07-27No need to use the -p flag to cp(1) here.tnn1-2/+2
2007-07-21Another version bump due to added configure check for uintptr_ttnn2-4/+5
2007-07-21* configure.ac: Add AC_TYPE_UINTPTR_T, needed by sha2.c.tnn3-1/+125
Fixes build on Interix. Suggested by joerg@ * configure, config.h.in: regen
2007-07-20Bump version due to changes in asprintf, snprintf and vsnprintf.tnn2-3/+8
2007-07-20* configure.ac: Test for a standards-conformant vsnprintf. If it is foundtnn3-4/+119
to be broken, fall back to the one provided by libnbcompat. * configure: regen * config.h.in: regen
2007-07-20Handle trailing NUL correctly.tnn1-5/+8
2007-07-20Fix logic error in buffer handling (Hi Joerg!)tnn1-6/+6
2007-07-19Replace "poor man's printf" implementation of (v)snprintf with antnn1-764/+69
imlementation using vfprintf. The advantage is that format strings behave like other *printf functions on the host, the drawback is that it is slower.
2007-07-18Fix SHA256/SHA512 to work on strict alignment platforms. This wasjoerg2-15/+51
exposed by the C version of audit-packages and report in PR pkg/36662.
2007-06-26Protect TAILQ_INSERT_{AFTER,BEFORE} from being redefined. Letsdmcmahill2-3/+7
pbulk build on netbsd-2/alpha (and probably other netbsd platforms) again.
2007-06-25Add asprintf implementation based on snprintf.joerg7-29/+282
Add vsnprintf prototype as the function is implemented and used. Add all the macros from NetBSD's sys/queue.h defined for the types implemented. Bump version to libnbcompat-20070622. Tested by dmcmahill@NetBSD.org on Solaris. OK jlam@, agc@
2007-06-19Obfuscate embedded $NetBSD$ strings a bit, so that pkgsrc doesn't pickjoerg1-4/+4
them up for +BUILD_VERSION. This makes matching against the output of ident impossible to verify whether the package is up-to-date.
2007-05-31Updated libnbcompat to 20070531.rillig4-35/+40
Changes since 20070507: Completely rewrote the fgetln implementation, since the previous version couldn't handle files that don't end with a '\n' character. Tested on IRIX, NetBSD and Solaris.
2007-05-22Add a couple of success reports.tnn1-1/+4
2007-05-07Fix bug in configure script, noticed by Thorsten Glaser.joerg2-17/+17
2007-05-07Add SHA256/SHA384/SHA512 to libnbcompat. Update version to 20070507.joerg9-4293/+5947
2007-03-12Sync config.{guess,sub} with mk/gnu-configure.joerg2-361/+481
2006-12-17note a few platforms where I've confirmed this version of libnbcompat tojschauma1-1/+5
be working
2006-08-26For the benefit of Mr. Kite^W^Wsnprint.c add long double type detection.seb3-2/+82
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-07-02Indented the make directives properly to fix pkglint warnings.rillig1-6/+5
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-01Update AC_C___ATTRIBUTE__ macro from heimdal, fixes detection withjoerg2-18/+11
GCC 4.
2005-11-28added support for systems such as IRIX 5 that do not have _POSIX2_RE_DUP_MAXschwarz2-2/+12
defined. Changes approved by grant.
2005-11-18revert last, and apply the simpler fix to the MAKEEXTRALIST macro ingrant1-9/+7
NetBSD libc from martin@
2005-11-18pass const empty string to MAKEEXTRALIST macro instead of thegrant1-5/+8
anonymous empty string. the macro uses the argument multiple times and the logic relies on identical strings having the same address, which is compiler dependent and not guaranteed to be the case. problem observed with pax(1) built with sunpro 11 on Solaris. from segv@netctl.net in PR pkg/32097.
2005-10-10Instead of using hard-coded 555 mode for installing library,reed2-3/+5
use BINMODE setting. This helps with non-privileged pkgsrc use.
2005-05-15Mention that it is also helpful for providing definitions andreed1-1/+4
functions missing from other Unix platforms.
2005-05-15Add "devel" to categories.reed1-2/+2
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-20don't use the implied source in the `bits' rule, just specify thegrant1-2/+2
source. appeases make(1) on Solaris.
2005-02-15redo previous in a slightly different way to appease NetBSD make(1).grant1-2/+4
2005-02-15Revert previous, since it breaks compilation on 2.0 and -current.wiz1-4/+3
See PR 29387.
2005-02-15honour LDFLAGS when linking the `bits' binary.grant1-3/+4
2005-02-04src2nbcompat uses \n backreferences in gensub, which isn't supported injlam1-2/+2
the NetBSD 2.0 awk, so make explicit that we're using gawk.
2005-01-06Don't "cp -p" for *source* files. Builds are usually done as an unprivilegedtv1-2/+2
user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2004-12-12update config.{sub,guess} for various bootstrap tools. fixes build ongrant2-173/+374
newer platforms such as DragonFly. fixes PR pkg/28579 from Todd Willey.
2004-12-04re-work workaround for __unvis13 namespace clash by renaming it togrant1-6/+6
__nbcompat_unvis13. fixes build on older NetBSD and Linux/sparc.
2004-12-03fix previous.grant1-3/+3
2004-12-03backout previous; it causes build failure on Solaris. must investigategrant1-8/+2
further...