diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2009-12-04 18:02:37 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2009-12-04 18:02:37 +0100 |
commit | d39f508544f7bc47ed1b93ef66b6b74cdf06e5bf (patch) | |
tree | bada8f8b5eaac4d148cc31cacc36bfe6e7e8d900 /recipes/linphone/files/b64_assert.patch | |
parent | eebba7062b59a646af1d212a7df21202532bfd26 (diff) |
linphone: patch needs CR+LF to apply, sorry for that, now it compiles fine
Diffstat (limited to 'recipes/linphone/files/b64_assert.patch')
-rw-r--r-- | recipes/linphone/files/b64_assert.patch | 16 |
1 files changed, 8 insertions, 8 deletions
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);
|