From e969ebfb1d2c84de9b76af442809f2c659a452b4 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 16 Jan 2012 22:26:45 +0000 Subject: MFC r228060, r228068, r228060 Upgrade gperf to 3.0.3 latest GPLv2 version Approved by: des (mentor) --- gnu/usr.bin/gperf/Makefile | 15 ++++++++------- gnu/usr.bin/gperf/config.h | 29 +++++++++++++++-------------- 2 files changed, 23 insertions(+), 21 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/gperf/Makefile b/gnu/usr.bin/gperf/Makefile index 57fd0612bf77..86674c4bbf39 100644 --- a/gnu/usr.bin/gperf/Makefile +++ b/gnu/usr.bin/gperf/Makefile @@ -1,17 +1,18 @@ # $FreeBSD$ -GPROFDIR= ${.CURDIR}/../../../contrib/gperf +.include +GPERFDIR= ${.CURDIR}/../../../contrib/gperf -.PATH: ${GPROFDIR}/src ${GPROFDIR}/lib ${GPROFDIR}/doc +.PATH: ${GPERFDIR}/src ${GPERFDIR}/lib ${GPERFDIR}/doc SUBDIR= doc PROG_CXX= gperf -SRCS= bool-array.cc gen-perf.cc hash-table.cc iterator.cc key-list.cc \ - list-node.cc main.cc new.cc options.cc read-line.cc trace.cc \ - vectors.cc version.cc -SRCS+= hash.cc +SRCS= bool-array.cc hash-table.cc input.cc keyword-list.cc keyword.cc \ + main.cc options.cc output.cc positions.cc search.cc version.cc \ + getline.cc hash.cc +WARNS= 1 -CXXFLAGS+= -I${GPROFDIR}/lib -I${.CURDIR} +CXXFLAGS+= -I${GPERFDIR}/lib -I${.CURDIR} .include diff --git a/gnu/usr.bin/gperf/config.h b/gnu/usr.bin/gperf/config.h index 464005e3fa58..91c1236ec1cb 100644 --- a/gnu/usr.bin/gperf/config.h +++ b/gnu/usr.bin/gperf/config.h @@ -1,21 +1,22 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ /* $FreeBSD$ */ -/* config.h. Generated automatically by configure. */ -/* config.h.in. Generated automatically from configure.in by autoheader. */ -/* Define if the C++ compiler supports "throw ()" declarations. */ -#define HAVE_THROW_DECL 1 +/* Define if the C++ compiler supports stack-allocated variable-size arrays. + */ +#define HAVE_DYNAMIC_ARRAY 1 -/* Define if you have the getrlimit function. */ -#define HAVE_GETRLIMIT 1 +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" -/* Define if you have the setrlimit function. */ -#define HAVE_SETRLIMIT 1 +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" -/* Define if you have the header file. */ -#define HAVE_SYS_RESOURCE_H 1 +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" -/* Define if you have the header file. */ -#define HAVE_SYS_TIME_H 1 +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" -/* Define if you have the header file. */ -#define HAVE_UNISTD_H 1 +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" -- cgit v1.3