<table><tr><td style="">awilcox created this revision.<br />Restricted Application added a project: KDE PIM.<br />Restricted Application added a subscriber: KDE PIM.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8255" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html" class="remarkup-link" target="_blank" rel="noreferrer">The POSIX definition for strcasecmp</a> states that it is in the <strings.h> include file, not <string.h>.  This causes the following build error on the musl libc:</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">/usr/src/packages/user/kcalcore/src/kcalcore-17.08.1/src/versit/vcc.y: In functin 'enterAttr':</pre></div></blockquote>

<p>/usr/src/packages/user/kcalcore/src/kcalcore-17.08.1/src/versit/vcc.y:485:9: error: implicit definition of function 'strcasecmp' [-Werror=implicit-function-definition]<tt style="background: #ebebeb; font-size: 13px;">`</tt></p>

<p>This patch fixes this error (and a few others later on in the file).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Built and tested on glibc and musl Linux systems; since <strings.h> is a POSIX standard, it is assumed that other Unix-based systems (such as BSD and Solaris) provide it as well.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R172 KCalendar Core</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8255" rel="noreferrer">https://phabricator.kde.org/D8255</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/versit/vcc.y</div></div></div><br /><div><strong>To: </strong>awilcox<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>