Date: Wed, 1 Feb 2017 20:21:47 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433095 - head/comms/qico/files Message-ID: <201702012021.v11KLlxK068714@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Feb 1 20:21:47 2017 New Revision: 433095 URL: https://svnweb.freebsd.org/changeset/ports/433095 Log: comms/qico: unbreak on 12.0 after base r308264 In file included from gmtoff.c:7: In file included from ./headers.h:51: ./replace.h:14:14: error: expected identifier or '(' extern char *basename (const char *filename); ^ /usr/include/libgen.h:60:21: note: expanded from macro 'basename' #define basename(x) __generic(x, const char *, __old_basename, basename)(x) ^ /usr/include/sys/cdefs.h:337:2: note: expanded from macro '__generic' _Generic(expr, t: yes, default: no) ^ Reported by: pkg-fallout Added: head/comms/qico/files/ head/comms/qico/files/patch-configure (contents, props changed) Added: head/comms/qico/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/qico/files/patch-configure Wed Feb 1 20:21:47 2017 (r433095) @@ -0,0 +1,10 @@ +--- configure.orig 2003-04-05 13:33:18 UTC ++++ configure +@@ -8343,6 +8343,7 @@ cat >>conftest.$ac_ext <<_ACEOF + #endif + static char *fl = "/usr/local/bin/some.file"; + int main(int argc, char **argv) { ++ fl = strdup(fl); + char *b = basename(fl); return ((*b != '/')?0:1); + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702012021.v11KLlxK068714>