From: Martin Jansa Date: Fri, 4 Dec 2009 17:02:37 +0000 (+0100) Subject: linphone: patch needs CR+LF to apply, sorry for that, now it compiles fine X-Git-Tag: Release-2010-05/1~1448 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39f508544f7bc47ed1b93ef66b6b74cdf06e5bf;p=openembedded.git linphone: patch needs CR+LF to apply, sorry for that, now it compiles fine --- diff --git a/recipes/linphone/files/b64_assert.patch b/recipes/linphone/files/b64_assert.patch index 1418e96544..1e89610b8a 100644 --- a/recipes/linphone/files/b64_assert.patch +++ b/recipes/linphone/files/b64_assert.patch @@ -1,11 +1,11 @@ --- linphone-3.1.0/oRTP/src/b64.c.orig 2009-04-13 23:04:35.000000000 -0600 +++ linphone-3.1.0/oRTP/src/b64.c 2009-04-13 23:05:00.000000000 -0600 @@ -205,7 +205,7 @@ - /* characters[3] is the right-most 6 bits of src[2] */ - characters[3] = (char)(src[2] & 0x3f); - --#ifndef __WATCOMC__ -+#ifdef XXXX - assert(characters[0] >= 0 && characters[0] < 64); - assert(characters[1] >= 0 && characters[1] < 64); - assert(characters[2] >= 0 && characters[2] < 64); + /* characters[3] is the right-most 6 bits of src[2] */ + characters[3] = (char)(src[2] & 0x3f); + +-#ifndef __WATCOMC__ ++#ifdef XXXX + assert(characters[0] >= 0 && characters[0] < 64); + assert(characters[1] >= 0 && characters[1] < 64); + assert(characters[2] >= 0 && characters[2] < 64);