linphone: patch needs CR+LF to apply, sorry for that, now it compiles fine
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 4 Dec 2009 17:02:37 +0000 (18:02 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Fri, 4 Dec 2009 17:02:37 +0000 (18:02 +0100)
recipes/linphone/files/b64_assert.patch

index 1418e96..1e89610 100644 (file)
@@ -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] */\r
+             characters[3] = (char)(src[2] & 0x3f);\r
\r
+-#ifndef __WATCOMC__\r
++#ifdef XXXX\r
+             assert(characters[0] >= 0 && characters[0] < 64);\r
+             assert(characters[1] >= 0 && characters[1] < 64);\r
+             assert(characters[2] >= 0 && characters[2] < 64);\r