diff --git a/devel/gperf/Makefile b/devel/gperf/Makefile index e1343d1fe0b9..61816d844318 100644 --- a/devel/gperf/Makefile +++ b/devel/gperf/Makefile @@ -1,28 +1,28 @@ PORTNAME= gperf PORTVERSION= 3.2.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= dinoex@FreeBSD.org COMMENT= Generates perfect hash functions for sets of keywords WWW= https://www.gnu.org/software/gperf/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe CPE_VENDOR= ${CPE_PRODUCT}_project CPE_PRODUCT= ${PORTNAME}tools USE_CSTD= gnu99 USE_CXXSTD= gnu++98 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --docdir=${DOCSDIR} MAKE_JOBS_UNSAFE= yes -#TEST_TARGET= check - -CONFLICTS= ace+tao +WITH_TESTING= yes +TEST_TARGET= check INFO= gperf .include diff --git a/devel/gperf/files/patch-output.cc b/devel/gperf/files/patch-output.cc deleted file mode 100644 index 171a4b9f49d6..000000000000 --- a/devel/gperf/files/patch-output.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- src/output.cc.orig 2025-04-09 10:17:59 UTC -+++ src/output.cc -@@ -953,11 +953,6 @@ Output::output_hash_function () const - /* Pseudo-statement or comment that avoids a compiler warning or - lint warning. */ - const char * const fallthrough_marker = -- "#if (defined __cplusplus && (__cplusplus >= 201703L || (__cplusplus >= 201103L && defined __clang__ && __clang_major__ + (__clang_minor__ >= 9) > 3))) || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 202000L && ((defined __GNUC__ && __GNUC__ >= 10) || (defined __clang__ && __clang_major__ >= 9)))\n" -- " [[fallthrough]];\n" -- "#elif (defined __GNUC__ && __GNUC__ >= 7) || (defined __clang__ && __clang_major__ >= 10)\n" -- " __attribute__ ((__fallthrough__));\n" -- "#endif\n" - " /*FALLTHROUGH*/\n"; - /* It doesn't really matter whether hval is an 'int' or - 'unsigned int', but 'unsigned int' gives fewer warnings. */