Package: nextepc / 0.3.10+nods-3

0004-Fix-FTBFS-for-bundled-freeDiameter.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Sun, 25 Nov 2018 05:47:24 +0000
Subject: Fix FTBFS for bundled freeDiameter

---
 lib/freeDiameter-1.2.1/libfdcore/sctp.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/freeDiameter-1.2.1/libfdcore/sctp.c b/lib/freeDiameter-1.2.1/libfdcore/sctp.c
index c80a497..7aeef58 100644
--- a/lib/freeDiameter-1.2.1/libfdcore/sctp.c
+++ b/lib/freeDiameter-1.2.1/libfdcore/sctp.c
@@ -48,10 +48,9 @@
 /* #define OLD_SCTP_SOCKET_API */
 
 /* Automatically fallback to old API if some of the new symbols are not defined */
-#if (!defined(SCTP_CONNECTX_4_ARGS) || (!defined(SCTP_RECVRCVINFO)) || (!defined(SCTP_SNDINFO))) 
+//#if (!defined(SCTP_CONNECTX_4_ARGS) || (!defined(SCTP_RECVRCVINFO)) || (!defined(SCTP_SNDINFO))) 
 # define OLD_SCTP_SOCKET_API
-#endif
-
+//#endif
 
 /* Temper with the retransmission timers to try and improve disconnection detection response? Undef this to keep the defaults of SCTP stack */
 #ifndef USE_DEFAULT_SCTP_RTX_PARAMS	/* make this a configuration option if useful */