diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch')
| -rw-r--r-- | meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch new file mode 100644 index 0000000000..e9995a3500 --- /dev/null +++ b/meta-networking/recipes-connectivity/ez-ipupdate/files/0001-configure-Check-for-string.h-system-header.patch | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | From 811f253c03464489d445ab6627bb4187d27e98ef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <khem.raj@oss.qualcomm.com> | ||
| 3 | Date: Sat, 4 Apr 2026 19:12:37 +0000 | ||
| 4 | Subject: [PATCH] configure: Check for string.h system header | ||
| 5 | |||
| 6 | This is needed for functions like memcpy in md5.c but | ||
| 7 | it only includes string.h when its detected by autotools | ||
| 8 | however the needed check for detecting it during configure | ||
| 9 | are missing. This patch adds them | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> | ||
| 14 | --- | ||
| 15 | config.h.in | 3 +++ | ||
| 16 | configure.in | 3 ++- | ||
| 17 | 2 files changed, 5 insertions(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/config.h.in b/config.h.in | ||
| 20 | index 2ce447f..52a8d7d 100644 | ||
| 21 | --- a/config.h.in | ||
| 22 | +++ b/config.h.in | ||
| 23 | @@ -129,6 +129,9 @@ | ||
| 24 | /* Define if you have the <signal.h> header file. */ | ||
| 25 | #undef HAVE_SIGNAL_H | ||
| 26 | |||
| 27 | +/* Define if you have the <string.h> header file. */ | ||
| 28 | +#undef HAVE_STRING_H | ||
| 29 | + | ||
| 30 | /* Define if you have the <stdarg.h> header file. */ | ||
| 31 | #undef HAVE_STDARG_H | ||
| 32 | |||
| 33 | diff --git a/configure.in b/configure.in | ||
| 34 | index c97b9fc..f5d0808 100644 | ||
| 35 | --- a/configure.in | ||
| 36 | +++ b/configure.in | ||
| 37 | @@ -62,6 +62,7 @@ AC_CHECK_HEADERS( arpa/inet.h \ | ||
| 38 | sys/stat.h \ | ||
| 39 | fcntl.h \ | ||
| 40 | signal.h \ | ||
| 41 | + string.h \ | ||
| 42 | syslog.h \ | ||
| 43 | pwd.h \ | ||
| 44 | stdarg.h \ | ||
| 45 | @@ -104,7 +105,7 @@ AC_ARG_ENABLE(default-service, | ||
| 46 | dyndns, dyndns-static, ods, tzo, gnudip, easydns, easydns-partner, dyns, hn, zoneedit, heipv6tb], | ||
| 47 | [ use_SERVICE=$enableval; | ||
| 48 | AC_MSG_RESULT(yes) ], | ||
| 49 | - [ AC_MSG_RESULT(no) | ||
| 50 | + [ AC_MSG_RESULT(no) | ||
| 51 | use_SERVICE=null | ||
| 52 | AC_MSG_WARN(not setting default service) ] ) | ||
| 53 | case "$use_SERVICE" in | ||
