/gperf, GNU perfect hash function generator
3.1, Package name:
gperf-3.1, Maintainer: pkgsrc-users
The GPERF program creates perfect hash functions. From the author:
While teaching a data structures course at University of California,
Irvine, I developed a program called GPERF that generates perfect hash
functions for sets of key words. A perfect hash function is simply:
A hash function and a data structure that allows
recognition of a key word in a set of words using
exactly 1 probe into the data structure.
Output from the GPERF program is used to recognize reserved words in
the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU
Douglas C. Schmidt
Required to build:
Master sites: (Expand) SHA1:
Version history: (Expand)
- (2017-01-12) Updated to version: gperf-3.1
- (2009-02-28) Updated to version: gperf-3.0.4
- (2007-11-10) Updated to version: gperf-3.0.3
- (2007-10-14) Updated to version: gperf-3.0.3
- (2006-07-10) Updated to version: gperf-3.0.2
- (2005-10-05) Package added to pkgsrc.se, version gperf-3.0.1 (created)
CVS history: (Expand)
| 2017-01-12 02:25:03 by Thomas Klausner | Files touched by this commit (3) | |
Updated gperf to 3.1.
Add test target.
New in 3.1:
* The generated C code is now in ANSI-C by default. If you want to support
pre-ANSI-C compilers, you need to provide the option --language=C on the
command line or %language=C in the source file.
* The 'len' parameter of the hash function and of the lookup function is now
of type 'size_t' instead of 'unsigned int'. This makes it safe to call these
functions with strings of length > 4 GB, on 64-bit machines.
* Added option --constants-prefix.
* Added declaration %define constants-prefix.
| 2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995) |
Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
| 2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163) |
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
| 2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460) |
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
| 2010-01-30 17:28:01 by Klaus Heinz | Files touched by this commit (18) |
Added LICENSE information.
| 2009-03-20 20:25:55 by Joerg Sonnenberger | Files touched by this commit (1252) |
Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
| 2009-03-20 14:05:32 by Thomas Klausner | Files touched by this commit (1) |
Mark as not make-jobs safe.
| 2009-02-27 21:29:20 by Thomas Klausner | Files touched by this commit (3) | |
Update to 3.0.4:
New in 3.0.4:
* gperf is now licensed under the GPL version 3 or newer.
* The generated C code gives less warnings with gcc-4.2.x in c99 or gnu99 mode.