git: 9fdad9848fef - main - devel/gperf: update to 3.2.1
- Reply: Gleb Popov : "Re: git: 9fdad9848fef - main - devel/gperf: update to 3.2.1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Apr 2025 08:05:23 UTC
The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=9fdad9848fef30b9ffcf6f4a101f5b08c8f10237 commit 9fdad9848fef30b9ffcf6f4a101f5b08c8f10237 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2025-04-14 08:04:57 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2025-04-14 08:04:57 +0000 devel/gperf: update to 3.2.1 disable keyword '[[fallthrough]]' PR: 286084 --- devel/gperf/Makefile | 4 ++-- devel/gperf/distinfo | 6 +++--- devel/gperf/files/patch-output.cc | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/devel/gperf/Makefile b/devel/gperf/Makefile index 9ba846886149..e1343d1fe0b9 100644 --- a/devel/gperf/Makefile +++ b/devel/gperf/Makefile @@ -1,5 +1,5 @@ PORTNAME= gperf -PORTVERSION= 3.2 +PORTVERSION= 3.2.1 CATEGORIES= devel MASTER_SITES= GNU @@ -19,7 +19,7 @@ USE_CXXSTD= gnu++98 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --docdir=${DOCSDIR} MAKE_JOBS_UNSAFE= yes -TEST_TARGET= check +#TEST_TARGET= check CONFLICTS= ace+tao diff --git a/devel/gperf/distinfo b/devel/gperf/distinfo index 4b9828d5e78b..eba08e61318a 100644 --- a/devel/gperf/distinfo +++ b/devel/gperf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744214738 -SHA256 (gperf-3.2.tar.gz) = e0ddadebb396906a3e3e4cac2f697c8d6ab92dffa5d365a5bc23c7d41d30ef62 -SIZE (gperf-3.2.tar.gz) = 1268603 +TIMESTAMP = 1744616590 +SHA256 (gperf-3.2.1.tar.gz) = ed5ad317858e0a9badbbada70df40194002e16e8834ac24491307c88f96f9702 +SIZE (gperf-3.2.1.tar.gz) = 1269006 diff --git a/devel/gperf/files/patch-output.cc b/devel/gperf/files/patch-output.cc new file mode 100644 index 000000000000..171a4b9f49d6 --- /dev/null +++ b/devel/gperf/files/patch-output.cc @@ -0,0 +1,14 @@ +--- 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. */