From owner-freebsd-ports@freebsd.org Mon Sep 14 12:45:50 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFDB7A02AD7 for ; Mon, 14 Sep 2015 12:45:50 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AF9171DF6 for ; Mon, 14 Sep 2015 12:45:50 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AC1E1A02AD6; Mon, 14 Sep 2015 12:45:50 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABB06A02AD5 for ; Mon, 14 Sep 2015 12:45:50 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33FD51DF5 for ; Mon, 14 Sep 2015 12:45:50 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: by lamp12 with SMTP id p12so84904081lam.0 for ; Mon, 14 Sep 2015 05:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QIm0Nwtdfi1pRrlWIgtchICoHzUNcthYM80SeTr42i0=; b=LN4cdN3R6VFaJNZ5+V+7OyEjS7vBwcxBvewnXb+5CIwdj6K3oJhatmWqJKz/1BfejZ QsGcfln9W4qYbbNItIJNzkduJcL0DWmu+BEYgTMctZwwOtLEwwQ3pyE6v1OHS+lpFql/ 4ELc++jm9msnJR5pyKMIF0l5ZbhWFlGNMm1GHBAXHucar053IW6dQ/4dhUp/t5L2KIo/ kSMXkHq/PMIx72suiv6JPKUx76mgI3X9yoPkAMiwCf7W34ASXaLX2+am337bjKnzrlvS 4yvsXjv7OYyi94uqVWeVuhSbdgNSs+WDqa46rXXEfbJz12rj4dlCGzBjw4IDQY5Mxeaf O+xQ== X-Received: by 10.152.204.39 with SMTP id kv7mr13855683lac.31.1442234747914; Mon, 14 Sep 2015 05:45:47 -0700 (PDT) Received: from ?IPv6:2a02:6b8::408:c59:1b6c:c596:27fc? ([2a02:6b8:0:408:c59:1b6c:c596:27fc]) by smtp.gmail.com with ESMTPSA id ba7sm2348881lbc.48.2015.09.14.05.45.47 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Sep 2015 05:45:47 -0700 (PDT) Sender: Dmitry Sivachenko Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: FreeBSD Port: haproxy-devel-1.6.d4 From: Dmitry Sivachenko In-Reply-To: <55F6BFDC.1070008@gmail.com> Date: Mon, 14 Sep 2015 15:45:45 +0300 Cc: ports@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <55F6BFDC.1070008@gmail.com> To: "P.Baauw" X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 12:45:51 -0000 > On 14 =D1=81=D0=B5=D0=BD=D1=82. 2015 =D0=B3., at 15:38, P.Baauw = wrote: >=20 > Hi Demon, >=20 > Haproxy-1.6-dev5 became available today upstream, but a patch for = FreeBSD is 'missing' from that release. >=20 > When you make it available for FreeBSD, could you please include the = patch from the mail referenced below [1] ? >=20 > [1] http://marc.info/?l=3Dhaproxy&m=3D144162204927452&w=3D2 Done. >=20 > Thanks, > PiBa-NL >=20 > diff --git a/src/dns.c b/src/dns.c > index 4bc5448..f725ff4 100644 > --- a/src/dns.c > +++ b/src/dns.c > @@ -819,7 +819,7 @@ int dns_init_resolvers(void) > } >=20 > /* "connect" the UDP socket to the name server = IP */ > - if (connect(fd, (struct > sockaddr*)&curnameserver->addr, sizeof(curnameserver->addr)) =3D=3D = -1) { > + if (connect(fd, (struct > sockaddr*)&curnameserver->addr, get_addr_len(&curnameserver->addr)) =3D=3D= -1) { > Alert("Starting [%s/%s] nameserver: > can't connect socket.\n", curr_resolvers->id, > curnameserver->id); > close(fd); >=20 >=20