diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-03-26 15:01:49 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-03-26 15:01:49 (GMT) |
commit | 124b71a11d5478228b9001a22873bdfd18d952aa (patch) | |
tree | 7961de1e0f4b3e2be11a3f70c8eed3998f311a65 /abs/extra/cups/cups-res_init.patch | |
parent | e29c7b67938ff9384d304c36aa6259d694549933 (diff) | |
download | linhes_pkgbuild-124b71a11d5478228b9001a22873bdfd18d952aa.zip linhes_pkgbuild-124b71a11d5478228b9001a22873bdfd18d952aa.tar.gz linhes_pkgbuild-124b71a11d5478228b9001a22873bdfd18d952aa.tar.bz2 |
cups: update to 1.7.1
Diffstat (limited to 'abs/extra/cups/cups-res_init.patch')
-rw-r--r-- | abs/extra/cups/cups-res_init.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra/cups/cups-res_init.patch b/abs/extra/cups/cups-res_init.patch new file mode 100644 index 0000000..94a81a4 --- /dev/null +++ b/abs/extra/cups/cups-res_init.patch @@ -0,0 +1,26 @@ +diff -up cups-1.6b1/cups/http-addr.c.res_init cups-1.6b1/cups/http-addr.c +--- cups-1.6b1/cups/http-addr.c.res_init 2012-05-17 00:57:03.000000000 +0200 ++++ cups-1.6b1/cups/http-addr.c 2012-05-25 15:51:51.323916352 +0200 +@@ -254,7 +254,8 @@ httpAddrLookup( + + if (error) + { +- if (error == EAI_FAIL) ++ if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA || ++ error == EAI_NONAME) + cg->need_res_init = 1; + + return (httpAddrString(addr, name, namelen)); +diff -up cups-1.6b1/cups/http-addrlist.c.res_init cups-1.6b1/cups/http-addrlist.c +--- cups-1.6b1/cups/http-addrlist.c.res_init 2012-04-23 19:26:57.000000000 +0200 ++++ cups-1.6b1/cups/http-addrlist.c 2012-05-25 16:05:05.930377452 +0200 +@@ -540,7 +540,8 @@ httpAddrGetList(const char *hostname, /* + } + else + { +- if (error == EAI_FAIL) ++ if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA || ++ error == EAI_NONAME) + cg->need_res_init = 1; + + _cupsSetError(IPP_INTERNAL_ERROR, gai_strerror(error), 0); |