1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
Baptiste Daroussin
2fd5d19071 Convert texinfo to mdoc(7) using texi2mdoc 2015-03-02 11:48:00 +00:00
Pedro F. Giffuni
aacea395b4 gperf: reverse size_type patch from r258115.
Silencing the broken warning as done in r258139 renders the
code unreacheable. An option could've been to turn off the
warnings in gperf but given that the code is not being used
it is better to just revert the original change altogether.

This code was never MFC'd.
2014-01-07 01:40:49 +00:00
Dimitry Andric
c807508f73 Get rid of register keyword usage in gperf, it is totally obsolete for
C++, and this allows gperf to be compiled for C++11 without a warning
about it.

MFC after:	3 days
2013-12-23 00:02:18 +00:00
Sean Bruno
b770668b1e Repair build after svn r258115
options.get_size_type() appears to return a const char *, so assume that
its a string as oppose to *nothing*.  I have no idea what apple's code is
trying to do here:

http://opensource.apple.com/source/gperf/gperf-9/patches/size_type.patch
2013-11-14 18:41:58 +00:00
Pedro F. Giffuni
0c8565a099 gperf: bring small update from Apple Developers tools 4.4
From [1]

offset.patch
Makes use the C offsetof() macro.

size_type.patch
Lets you specify the type for length parameters.

[1] http://opensource.apple.com/source/gperf/gperf-9/patches/

MFC after:	3 weeks
2013-11-14 00:57:20 +00:00
Sean Bruno
61390f6811 Queisce warnings for gperf -Wlogical-op-parentheses with parens to
explicitly define the logic
2013-10-26 14:49:19 +00:00
Sean Bruno
29ef2f0e31 Queisce quite a few clang warnings -Wdangling-else due to this work around
for compiling gperf under Visual Studio from 1998.

ref. http://msdn.microsoft.com/en-us/library/b80153d8%28v=vs.90%29.aspx
ref. http://stackoverflow.com/questions/984878/what-is-the-possible-use-for-define-for-if-false-else-for
2013-10-25 01:10:07 +00:00
Eitan Adler
37a6031461 Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead.

This is part of a medium term project to permit deterministic builds of
FreeBSD.

Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Reviewed by:	imp, toolchain@
Approved by:	cperciva
MFC after:	2 weeks
2012-12-06 01:31:25 +00:00
Dimitry Andric
cf87966cfd In contrib/gperf/src/output.cc, use the correct printf length modifier
for a ptrdiff_t.

MFC after:	1 week
2011-12-16 23:15:11 +00:00
Baptiste Daroussin
b9f9c1ef99 Reimport .texi and .texinfo necessary to build the info documentation.
Reported by:	flo
Approved by:	cognet
2011-11-28 14:23:09 +00:00
Baptiste Daroussin
acca521c82 upgrade gperf to the last GPLv2 version (3.0.3)
Reviewed by:	cognet
Approved by:	cognet
2011-11-28 12:29:16 +00:00
Ben Laurie
5f301949ef Fix clang warnings.
Approved by:	philip (mentor)
2011-06-18 13:56:33 +00:00
Ben Laurie
8b8c683f22 Fix clang warnings.
Approved by:	philip (mentor)
2011-05-18 21:06:20 +00:00
Andrey A. Chernov
5df7f7ae11 Remove unneded files 2004-02-17 01:51:07 +00:00
David E. O'Brien
eb8a206034 Helper to trim extracted files for use when importing new versions of
gperf.  This version coresponds to the gerpf 2.7.2 import.
2000-10-13 12:36:13 +00:00
David E. O'Brien
8c91c0948a This commit was generated by cvs2svn to compensate for changes in r67064,
which included commits to RCS files with non-trunk default branches.
2000-10-13 12:04:55 +00:00
David E. O'Brien
20ea4fec1d Virgin import of gperf v2.7.2. 2000-10-13 12:04:55 +00:00
Kris Kennaway
3f8f00575d Zap old files no longer included in gperf 2.7 2000-03-25 08:25:58 +00:00
Kris Kennaway
dd56fde1eb Virgin import of gperf v2.7 2000-03-25 07:45:29 +00:00
Kris Kennaway
101ba6a128 This commit was generated by cvs2svn to compensate for changes in r58551,
which included commits to RCS files with non-trunk default branches.
2000-03-25 07:45:29 +00:00
John Birrell
50dbd3f631 NetBSD has sys_errlist in errno.h, not stdio.h like FreeBSD. 1998-01-09 20:02:20 +00:00
Peter Wemm
fd88f67390 Make this compile. they use a variable "abort" which is prototyped. 1996-09-10 13:58:10 +00:00
Peter Wemm
dcd8284393 Import the FSF release of gperf-2.1a, used in the build of gcc-2.7.2.1
(to be imported soon).
1996-09-10 13:48:14 +00:00