buildroot/package/sofia-sip/0002-sofia-sip-fix-s2tcase.c.patch
Bernd Kuhls 56952e95d6 package/sofia-sip: bump version to 1.13.1
Rebased patch 0001.

Added patch 0002 previously used for the sofia-sip library which was
bundled with the freeswitch source:
https://git.buildroot.net/buildroot/commit/package/freeswitch?id=3c2e8b2b29a88c35c8a9867537d3ce3d0af85bc2
The bundled library was removed in freeswitch-1.10.4.

Switched upstream to freeswitch repo according to
http://sofia-sip.sourceforge.net/

"This repository is not currently maintained.

 The FreeSWITCH project hosts a currently maintained version of this
 library at https://github.com/freeswitch/sofia-sip"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-08-29 22:51:47 +02:00

39 lines
1.2 KiB
Diff

From d66a2e55daf223737c07c59b1be45a2d91212ef6 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sun, 26 Jul 2020 13:47:16 +0200
Subject: [PATCH] [sofia-sip] fix s2tcase.c
Fixes build error with recent libcheck:
https://github.com/freeswitch/sofia-sip/issues/22
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
s2check/s2tcase.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/sofia-sip/s2check/s2tcase.c b/libs/sofia-sip/s2check/s2tcase.c
index 382aaa3ad7..d67694c2ce 100644
--- a/s2check/s2tcase.c
+++ b/s2check/s2tcase.c
@@ -57,7 +57,7 @@ void s2_tcase_add_test(TCase *tc, TFun tf, char const *name,
if (strcmp(*patterns, "*")) {
printf("%s: selected\n", name);
}
- _tcase_add_test(tc, tf, name, signo, 0, start, end);
+ _tcase_add_test(tc, tf, name, signo, start, end);
return;
}
}
@@ -67,7 +67,7 @@ void s2_tcase_add_test(TCase *tc, TFun tf, char const *name,
if (strcmp(*patterns, "*")) {
printf("%s: selected\n", name);
}
- _tcase_add_test(tc, tf, name, signo, 0, start, end);
+ _tcase_add_test(tc, tf, name, signo, start, end);
return;
}
}
--
2.27.0