aboutsummaryrefslogtreecommitdiff
path: root/comms/qico/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-02-01 20:21:47 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-02-01 20:21:47 +0000
commita3b3a03eb85bdcf590d471ba502ee6bc9ca1244e (patch)
treee11e126d950e3d37beff044749676e76616b117f /comms/qico/files
parentf3dc33ecc2527e9ac31f31c61abf042f76d180b6 (diff)
downloadports-a3b3a03eb85bdcf590d471ba502ee6bc9ca1244e.tar.gz
ports-a3b3a03eb85bdcf590d471ba502ee6bc9ca1244e.zip
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
Notes
Notes: svn path=/head/; revision=433095
Diffstat (limited to 'comms/qico/files')
-rw-r--r--comms/qico/files/patch-configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/comms/qico/files/patch-configure b/comms/qico/files/patch-configure
new file mode 100644
index 000000000000..ae1021a03cee
--- /dev/null
+++ b/comms/qico/files/patch-configure
@@ -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);
+ }
+