svn commit: r433095 - head/comms/qico/files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 20:21:48 UTC 2017
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);
+ }
+
More information about the svn-ports-head
mailing list