[Bug 264306] databases/pgadmin3: compiler error: kwlist.h:28:50: error: too many arguments
Date: Wed, 15 Jun 2022 10:12:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264306 VVD <vvd@unislabs.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pgsql@FreeBSD.org, | |vvd@unislabs.com --- Comment #1 from VVD <vvd@unislabs.com> --- My patch is: # cat /usr/ports/databases/pgadmin3/files/patch-pgadmin_db_keywords.c --- pgadmin/db/keywords.c.orig 2015-02-25 10:44:26 UTC +++ pgadmin/db/keywords.c @@ -28,7 +28,7 @@ /* * List of (keyword-name, keyword-token-value) pairs. */ -#define PG_KEYWORD(a,b,c) {a,c}, +#define PG_KEYWORD(a,b,c,d) {a,c}, const ScanKeyword ScanKeywords[] = { #include <parser/kwlist.h> }; But PostgreSQL 10, 11 and 12 have 3 arguments in PG_KEYWORD and pgadmin3 build will fail with this patch. I don't know how correct check version of the PostgreSQL during build in this case. -- You are receiving this mail because: You are the assignee for the bug.