Don't set POSIX_SOURCE on FreeBSD.
ClosedPublic

Authored by tcberner on Jul 26 2017, 12:13 PM.

Details

Summary

/wrkdirs/usr/ports/deskutils/kdepim-runtime/work/kdepim-runtime-17.07.80/resources/imap/saslplugin/xoauth2plugin.c:178:5:

error: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
  snprintf(context->out_buf, context->out_buf_len, "user=%s\1auth=Bearer %s\1\1", authid, token);
  ^

/wrkdirs/usr/ports/deskutils/kdepim-runtime/work/kdepim-runtime-17.07.80/resources/imap/saslplugin/xoauth2plugin.c:178:5:

note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'

1 error generated.

Diff Detail

Repository
R44 KDE PIM Runtime
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tcberner created this revision.Jul 26 2017, 12:13 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJul 26 2017, 12:13 PM
Restricted Application added a subscriber: KDE PIM. · View Herald Transcript
dvratil accepted this revision.Jul 26 2017, 10:19 PM
This revision is now accepted and ready to land.Jul 26 2017, 10:19 PM
This revision was automatically updated to reflect the committed changes.