Skip to contentSkip to conversation

package/freeswitch: fix build error

PATCH New Bernd Kuhls 3 participants 3 messages Jul 26, 2020 – Jul 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/freeswitch: fix build error

Fixes
http://autobuild.buildroot.net/results/5db/5dbce5860f57c1457962aa295857689f49a60bc6/

---
 .../0001-sofia-sip-fix-s2tcase.c.patch        | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch
package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch new file +38 -0
new file mode 100644
index 0000000000..c4b9270984
@@ -0,0 +1,38 @@
+From d66a2e55daf223737c07c59b1be45a2d91212ef6 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <[email protected]>
+Date: Sun, 26 Jul 2020 13:47:16 +0200
+Subject: [PATCH] [sofia-sip] fix s2tcase.c
+
+Fixes build error with libcheck:
+https://github.com/signalwire/freeswitch/issues/681
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ libs/sofia-sip/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/libs/sofia-sip/s2check/s2tcase.c
++++ b/libs/sofia-sip/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
+
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 package/freeswitch: fix build error

Hi Bernd,

Am So., 26. Juli 2020 um 15:30 Uhr schrieb Bernd Kuhls <[email protected]>:

Quoted 5 lines

Fixes
http://autobuild.buildroot.net/results/5db/5dbce5860f57c1457962aa295857689f49a60bc6/

Quoted 37 lines
---
 .../0001-sofia-sip-fix-s2tcase.c.patch        | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch
package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch new file +26 -0
new file mode 100644
index 0000000000..c4b9270984
@@ -0,0 +1,38 @@
+From d66a2e55daf223737c07c59b1be45a2d91212ef6 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <[email protected]>
+Date: Sun, 26 Jul 2020 13:47:16 +0200
+Subject: [PATCH] [sofia-sip] fix s2tcase.c
+
+Fixes build error with libcheck:
+https://github.com/signalwire/freeswitch/issues/681
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ libs/sofia-sip/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/libs/sofia-sip/s2check/s2tcase.c
++++ b/libs/sofia-sip/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;
+     }
+   }

package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch line 36

Quoted 10 lines
package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch new file +10 -0
+@@ -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;
+     }
+   }
+--

This is another solution for fixing the build failures compared to:

https://patchwork.ozlabs.org/project/buildroot/patch/20200609082519.15482-1-heiko.thiery at gmail.com/.

Signature · 1 line
Heiko
#2 lore raw

PATCH 1/1 package/freeswitch: fix build error

In reply to Bernd Kuhls

Bernd, All,

On 2020-07-26 15:30 +0200, Bernd Kuhls spake thusly:

Quoted 4 lines

Fixes
http://autobuild.buildroot.net/results/5db/5dbce5860f57c1457962aa295857689f49a60bc6/

It would have been nice to have an explanation of what's going on. I've provided it in the commit log, and propagated that knowledge to the upstream issue.

Applied to master with that info added, thanks.

Regards,
Yann E. MORIN.

Quoted 56 lines
---
 .../0001-sofia-sip-fix-s2tcase.c.patch        | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch
package/freeswitch/0001-sofia-sip-fix-s2tcase.c.patch new file +38 -0
new file mode 100644
index 0000000000..c4b9270984
@@ -0,0 +1,38 @@
+From d66a2e55daf223737c07c59b1be45a2d91212ef6 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <[email protected]>
+Date: Sun, 26 Jul 2020 13:47:16 +0200
+Subject: [PATCH] [sofia-sip] fix s2tcase.c
+
+Fixes build error with libcheck:
+https://github.com/signalwire/freeswitch/issues/681
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ libs/sofia-sip/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/libs/sofia-sip/s2check/s2tcase.c
++++ b/libs/sofia-sip/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
+
Signature · 6 lines
2.27.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'