head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.10.19.23.09.37; author gutteridge; state Exp; branches; next ; commitid rAZuE1lOOKUZP80H; desc @@ 1.1 log @librep: fix builds with GCC >= 14 Tested on NetBSD 11.99.9 with GCC 14.4.0 and Fedora Linux 44 with GCC 16.2.1. (Given the configure script was generated from a significantly older version of autoconf, and the upstream appears to be gone, patching is applied directly against it for the minimal diff, but an equivalent change to configure.ac is included, should it be useful to someone.) @ text @$NetBSD$ Provide correct/consistent prototype for getcwd(3). --- intl/dcgettext.c.orig 2017-08-25 19:59:05.000000000 +0000 +++ intl/dcgettext.c @@@@ -99,7 +99,7 @@@@ char *getwd (); char *getwd (); # define getcwd(buf, max) getwd (buf) # else -char *getcwd (); +char *getcwd (char *, size_t); # endif # ifndef HAVE_STPCPY static char *stpcpy PARAMS ((char *dest, const char *src)); @