CVS log for pkgsrc/pkgtools/libnbcompat/files/getopt_long.c
Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / libnbcompat / files
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 5 11:54:24 2025 UTC (20 months, 1 week ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -2
lines
libnbcompat: Update to 20250303
Avoid duplicating a variable name from libc, found on UnixWare 7.
Build verified on FreeBSD, OpenBSD, NetBSD, macOS, OmniOS, Linux
by drecklypkg ci.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Feb 18 13:06:29 2025 UTC (20 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -9
lines
libnbcompat: Convert to a proper package.
Building this inline meant an excessive number of copies were built
during bootstrap, one for every package that required it. Now only
one package is built, significantly reducing bootstrap time.
From Jonathan Perkin <jperkin@smartos.org>
via drecklypkg commit b671d8cd0be775fe2245d1cb5ba402f17ae95e94
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 14 21:18:35 2009 UTC (17 years, 7 months ago) by tron
Branches: pkgsrc-2009Q1
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +5 -5
lines
Pullup ticket #2736 - requested by joerg
libnbcompat: portability fix
Revisions pulled up:
- pkgtools/libnbcompat/Makefile 1.71
- pkgtools/libnbcompat/files/configure 1.72
- pkgtools/libnbcompat/files/configure.ac 1.73
- pkgtools/libnbcompat/files/getopt_long.c 1.11
- pkgtools/libnbcompat/files/nbcompat.h 1.43
- pkgtools/libnbcompat/files/nbcompat/config.h.in 1.26
---
Module Name: pkgsrc
Committed By: joerg
Date: Mon Apr 13 11:30:46 UTC 2009
Modified Files:
pkgsrc/pkgtools/libnbcompat: Makefile
pkgsrc/pkgtools/libnbcompat/files: configure configure.ac nbcompat.h
pkgsrc/pkgtools/libnbcompat/files/nbcompat: config.h.in
Log Message:
libnbcompat-20090409:
Resort and improve getopt_long detection. Should fix issues on Interix
reported by mishka@ and QNX problems reported by Sean Boudreau.
---
Module Name: pkgsrc
Committed By: joerg
Date: Tue Apr 14 17:34:42 UTC 2009
Modified Files:
pkgsrc/pkgtools/libnbcompat/files: getopt_long.c
Log Message:
Always declare optreset.
XXX optreset should be removed here, it can't be used correctly with a
GNU getopt_long implementation without touching the environment.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Apr 14 17:34:41 2009 UTC (17 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -5
lines
Always declare optreset.
XXX optreset should be removed here, it can't be used correctly with a
GNU getopt_long implementation without touching the environment.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 22 22:33:13 2009 UTC (17 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base
Branch point for: pkgsrc-2009Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +44 -52
lines
libnbcompat-20090322:
Don't use getopt_long as replacement for getopt. It behaves different
and doesn't work well in combination with optreset. Instead use
getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while
here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 29 05:46:08 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper-base,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -9
lines
Drop clauses 3 and 4 from TNF licenses
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 23 03:32:12 2004 UTC (22 years, 2 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
pkgsrc-2005Q4-base,
pkgsrc-2005Q4,
pkgsrc-2005Q3-base,
pkgsrc-2005Q3,
pkgsrc-2005Q2-base,
pkgsrc-2005Q2,
pkgsrc-2005Q1-base,
pkgsrc-2005Q1,
pkgsrc-2004Q4-base,
pkgsrc-2004Q4,
pkgsrc-2004Q3-base,
pkgsrc-2004Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +20 -27
lines
Update pkgtools/libnbcompat to 20040822. Changes from version 20040814
include:
* Rework the way that poll() is detected so that it more closely
follows how the rest of the replacement functions are detected.
* Split err*() and warn*() functions into separate err.c and warn.c
files so that we can more finely isolate the objects files pulled
in by the linker. This should fix building textproc/nbsed on Solaris.
* Move more definitions from nbcompat.h into nbcompat/*.h. This makes
it more clear which NetBSD headers are expected to provide which
function declarations and macro definitions.
* Clean out nbconfig.h by moving all of the relevant definitions into
the correct nbcompat/*.h files.
* Update all of the library functions to the latest from src HEAD.
Also change the way that sources are modified when imported -- we
now include <nbcompat.h> before the first system header, include
<nbcompat/*.h> versions of headers instead of system ones where
available, and "#if 0" the sections that make no sense when being
built outside of the NetBSD source tree. This should make future
updates from src HEAD, e.g. for security updates or bug fixes,
easier.
* Move all private headers into a subdirectory and include the headers
from the private directory. This avoids any nameclashes with system
headers with the same name.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Aug 16 17:24:56 2004 UTC (22 years, 3 months ago) by jlam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -7
lines
Update pkgtools/libnbcompat to 20040814. Changes from version 20040813
include:
* Adding a regex(3) implementation for those platforms that don't
have one, e.g. IRIX 5.3.
* Allow nbcompat.h to be included multiple times in case it's needed
to override values of set by config.h in bootstrap packages. This
should fix problems with building pkg_install and pax on platforms
that have /usr/include/glob.h.
* Remove namespace.h, which should be a no-op since we're building
a userland library separate from the NetBSD sources.
* Remove HAVE_CONFIG_H checks from sources since we're always going
to have and and we're always going to be including it.
* Rename all inclusion guards in nbcompat/*.h to be _NBCOMPAT_*_H_ so
that it won't get triggered by any settings in system headers.
This has been tested on:
FreeBSD-4.8/i386 Debian Linux 3.0 (woody)
IRIX 6.5 MacOS X 10.2.8
MacOS X 10.3.5 NetBSD-1.6.2/i386
NetBSD-2.0_BETA/i386 Red Hat Linux 7.3
Solaris 7/sparc Solaris 8/sparc
Solaris 9/sparc
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 12 15:21:13 2004 UTC (22 years, 8 months ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base,
pkgsrc-2004Q2,
pkgsrc-2004Q1-base,
pkgsrc-2004Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2
lines
#if 0 out the __weak_alias stuff, which isn't needed here. should fix
build on OpenBSD ELF platforms.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Sep 6 04:28:16 2003 UTC (23 years, 2 months ago) by grant
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base,
pkgsrc-2003Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3
lines
fix missing include of getopt.h by including nbcompat.h.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 3 13:11:14 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Update pkgtools/libnbcompat to 20030826. Changes from previous version:
* 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.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Sep 1 15:31:17 2003 UTC (23 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -4
lines
Bump version to 20030823:
* 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.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jul 15 05:33:05 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
fix getopt_long() test to avoid overriding it.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 11:33:11 2003 UTC (23 years, 4 months ago) by grant
Branches: MAIN
add getopt, getopt_long.
include tzfile.h and sys/mkdev.h in nbcompat.h.
bump to 20030622.
CVSweb <webmaster@jp.NetBSD.org>