summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-12 07:06:43 +0000
committerJoe MacDonald <joe_macdonald@mentor.com>2016-12-14 09:20:10 -0500
commitcf51ee759339dba2364aa570665d725f11d0b8a7 (patch)
tree68e66eac38947cd89a7120f10ee99463f2df786f /meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch
parentb8d98187b93115f7604ae649675211b97a359d76 (diff)
downloadmeta-openembedded-cf51ee759339dba2364aa570665d725f11d0b8a7.tar.gz
ez-ipupdate: Add recipe
A client for automaticly updating your dynamic hostname parameters Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch')
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch
new file mode 100644
index 0000000000..de5eb3a6d1
--- /dev/null
+++ b/meta-networking/recipes-connectivity/ez-ipupdate/files/cache_file.c.patch
@@ -0,0 +1,32 @@
1Dont assume errno type
2
3--- ez-ipupdate-3.0.11b7/cache_file.c.orig 2014-07-02 14:01:07.126029412 -0600
4+++ ez-ipupdate-3.0.11b7/cache_file.c 2014-07-02 14:08:27.422026332 -0600
5@@ -43,11 +43,11 @@
6 #include <cache_file.h>
7
8 #if HAVE_STRERROR
9-extern int errno;
10+# include <errno.h>
11 # define error_string strerror(errno)
12 #elif HAVE_SYS_ERRLIST
13 extern const char *const sys_errlist[];
14-extern int errno;
15+# include <errno.h>
16 # define error_string (sys_errlist[errno])
17 #else
18 # define error_string "error message not found"
19@@ -63,11 +63,11 @@
20 # define dprintf(x)
21 #endif
22 #if HAVE_STRERROR
23-extern int errno;
24+# include <errno.h>
25 # define error_string strerror(errno)
26 #elif HAVE_SYS_ERRLIST
27 extern const char *const sys_errlist[];
28-extern int errno;
29+# include <errno.h>
30 # define error_string (sys_errlist[errno])
31 #else
32 # define error_string "error message not found"