-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dante: Update to version 1.4.3 and fix DSM7 build (#4898)
- Loading branch information
Showing
4 changed files
with
47 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
dante-1.4.2.tar.gz SHA1 542bf2579b0f63670310aff230b0f5162f6e33c9 | ||
dante-1.4.2.tar.gz SHA256 4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7 | ||
dante-1.4.2.tar.gz MD5 77551576d3e80bfaa941055a2959da81 | ||
dante-1.4.3.tar.gz SHA1 1e264ec532774324b5508ba5f2ad226d479b4977 | ||
dante-1.4.3.tar.gz SHA256 418a065fe1a4b8ace8fbf77c2da269a98f376e7115902e76cda7e741e4846a5d | ||
dante-1.4.3.tar.gz MD5 28ae15fb9e4f5ce7fe17307d01edc075 |
35 changes: 35 additions & 0 deletions
35
cross/dante-sockd/patches/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
osdep.m4: Remove getaddrinfo() too low checks | ||
|
||
dante runs AC_PREPROC_IFELSE then it fills $ERRVALFILE by running the | ||
following command: | ||
|
||
cat conftest.i | grep gaierrval: >>$2 | ||
|
||
As a result, $ERRVALFILE does not contain the expected values because | ||
the expected value is not on the same line than gaierrval: | ||
|
||
gaierrval: | ||
# 130 "conftest.c" 3 4 | ||
-3 | ||
|
||
So drop these checks | ||
|
||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> | ||
|
||
diff -Nuar dante-1.4.2-orig/osdep.m4 dante-1.4.2/osdep.m4 | ||
--- osdep.m4-orig 2019-12-09 21:28:38.936003218 +0100 | ||
+++ osdep.m4 2019-12-09 21:49:48.764019371 +0100 | ||
@@ -956,13 +956,7 @@ | ||
unset UNIQUEVALS UNIQUESYMBOLS | ||
if test -s $ERRVALFILE; then | ||
UNIQUEVALS=`sort $ERRVALFILE | uniq | wc -l | awk '{ print $1 }'` | ||
- if test $UNIQUEVALS -le 1; then | ||
- AC_MSG_FAILURE([error: getaddrinfo() error value count too low]) | ||
- fi | ||
UNIQUESYMBOLS=`cat $ERRVALFILE | wc -l | awk '{ print $1 }'` | ||
- if test $UNIQUESYMBOLS -le 1; then | ||
- AC_MSG_FAILURE([error: getaddrinfo() error symbol count too low]) | ||
- fi | ||
|
||
if test $ERRNOCNT -ne $UNIQUESYMBOLS; then | ||
AC_MSG_FAILURE([internal error: errno symbol count mismatch]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters