Re: [sane-devel] [PATCH] Fix compilation of saned.c under OS X
Thanks, Olaf. After this commit master is compiling without issues on OSX. Any plans about next release? It will very good to get rid off my ugly patches from brew formula. Here is my PR for bump to 1.0.25: https://github.com/Homebrew/homebrew-core/pull/2377 Please send me email before release so I can check is it builds. > Just pushed this to Alioth. > > Question: Don't you need these in pixma_bjnp.c too? > Nit-pick: POSIX.1-2001 says these macros take a const struct in6_addr* > > Thanks, > -- > Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 > GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 > Support Free Software https://my.fsf.org/donate > Join the Free Software Foundation https://my.fsf.org/join > > -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] [PATCH] fix dead links to git
From: Yurii KolesnykovSigned-off-by: Yurii Kolesnykov --- cvs.html | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cvs.html b/cvs.html index 589b2df..4873680 100644 --- a/cvs.html +++ b/cvs.html @@ -54,11 +54,11 @@ You can clone from the following URIs: - HTTP access method: + HTTPS access method: - http://git.debian.org/git/sane/sane-backends.git - http://git.debian.org/git/sane/sane-frontends.git - http://git.debian.org/git/sane/website.git + https://alioth.debian.org/anonscm/git/sane/sane-backends.git + https://alioth.debian.org/anonscm/git/sane/sane-frontends.git + https://alioth.debian.org/anonscm/git/sane/website.git git protocol (preferred): -- 2.9.0 -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] [PATCH][WEB] fix dead links to git
To:sane-devel@lists.alioth.debian.org: -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] [PATCH] Fix compilation of saned.c under OS X
Yurii Kolesnykov writes: > --- > frontend/saned.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/frontend/saned.c b/frontend/saned.c > index 3506eb3..5b28be4 100644 > --- a/frontend/saned.c > +++ b/frontend/saned.c > @@ -792,7 +792,7 @@ check_host (int fd) > #ifdef ENABLE_IPV6 >sin6 = _address.sin6; > > - if (IN6_IS_ADDR_V4MAPPED (sin6->sin6_addr.s6_addr)) > + if (IN6_IS_ADDR_V4MAPPED ((struct in6_addr *)sin6->sin6_addr.s6_addr)) > { >DBG (DBG_DBG, "check_host: detected an IPv4-mapped address\n"); >remote_ipv4 = remote_ip + 7; > @@ -849,7 +849,7 @@ check_host (int fd) > break; > #ifdef ENABLE_IPV6 >case AF_INET6: > - if (IN6_IS_ADDR_LOOPBACK (sin6->sin6_addr.s6_addr)) > + if (IN6_IS_ADDR_LOOPBACK ((struct in6_addr *)sin6->sin6_addr.s6_addr)) > { > DBG (DBG_MSG, >"check_host: remote host is IN6_LOOPBACK: access granted\n"); > -- > 2.9.0 Just pushed this to Alioth. Question: Don't you need these in pixma_bjnp.c too? Nit-pick: POSIX.1-2001 says these macros take a const struct in6_addr* Thanks, -- Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Softwarehttps://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] [PATCH] Fix compilation of saned.c under OS X
--- frontend/saned.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/saned.c b/frontend/saned.c index 3506eb3..5b28be4 100644 --- a/frontend/saned.c +++ b/frontend/saned.c @@ -792,7 +792,7 @@ check_host (int fd) #ifdef ENABLE_IPV6 sin6 = _address.sin6; - if (IN6_IS_ADDR_V4MAPPED (sin6->sin6_addr.s6_addr)) + if (IN6_IS_ADDR_V4MAPPED ((struct in6_addr *)sin6->sin6_addr.s6_addr)) { DBG (DBG_DBG, "check_host: detected an IPv4-mapped address\n"); remote_ipv4 = remote_ip + 7; @@ -849,7 +849,7 @@ check_host (int fd) break; #ifdef ENABLE_IPV6 case AF_INET6: - if (IN6_IS_ADDR_LOOPBACK (sin6->sin6_addr.s6_addr)) + if (IN6_IS_ADDR_LOOPBACK ((struct in6_addr *)sin6->sin6_addr.s6_addr)) { DBG (DBG_MSG, "check_host: remote host is IN6_LOOPBACK: access granted\n"); -- 2.9.0 -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org