[From nobody Thu Jun 25 05:54:46 2020
Received: from sonic311-21.consmr.mail.ne1.yahoo.com ([66.163.188.202])
 by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
 id 1fkqZA-0003wn-2d
 for openwrt-devel@lists.openwrt.org; Wed, 01 Aug 2018 12:49:25 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1533127752; bh=b3UiGdXR6bHB7vfEPWSkZshzFfrR3/svE0YO7+jIcZo=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject;
 b=pFMKYa8GHX13nnx+6sV7RJsDF9oe9PepAuWerQL/cIh6c50R/GP1IANqQ1pontsh+mSG80mTfBt/oERIqe6WJa05DB37UhrBcrj7FllHu7ASP4Rlw3YQ4xjyfBQ7atriKX1hhzzZGLSAgFBKXvurT+4Bn16P2PE12qcexmKbW2votSxe7b5CfhYhpYnFgHx0OD4Qgm3fsF+0mOl88DiPptQTFtGY3Kv1HjBktYn5MIuJSKM+qFKbMS4Mjv13k9wTEJ+ybIqO4IsXo8b2B/eYgKME/VOPMNpVlOQ+oJyZxYBlBwxl2Ezz2tYWaW+DvmWsMH36tSjbVZjsVYWozpEBIw==
X-YMail-OSG: EwMbZ5EVM1lwsLNFpFZXYnKaMhIzW9dmOb3hR0ASxba.5WuTzdHMRnipWhesHR0
 _LVq_tg25wAuAlTetpt3v5.uWNYIBZUjFeIzNT4EsBrjcqB79sZLRnsRBXe0f_5THTUH5HZfNlfg
 Qhe4Emgmz2QPeIIETLHYTlPjqAqAJ2cELm6Sl9CZvh3o75YIC7xHDnjg7CuNlzuKQniBRgZVygbH
 YVoLyC8XCWmhRraAzlgR8qzR01HjeKn4v_.K1evDa9VzB39HxcCKGd5UU.2hupAr9G.4PzJjbYmY
 1yyJo.1Ttsweu5Fj7pzsilSAvvLrw3VtJj8ulVFcSvd3NdYqcYBQfWtdGwUoMz2uFGfmzwrk0tcq
 ZMTG0ZpxbgNF8Eszhfb29rq1zqAlTWKLyhBV8RtFaZL5y5PgCZMymY..v_8tD8CxwSQhONLrX2I1
 9KPru2TfTG1uDk_WyFRInYQ7_6ecNOG6GngEp1b.0CJ6IqU4MQmbMu8mKMpyPCK0D4C.Pv1mZVfL
 XIUaqPbPrHk41ZKbkNf55SGw0kTKx8DupDvZGCZqobdgNZW2GiosEj5n7lxy9LXeTJepx8tVvNbC
 Z9ctQm4vLvyes6jSSLOddhzblQeULSTqfDnJyvEs7q6irhxTjt0Q6_J_BZrqL1fmKyuVzCpjf4A7
 mLV7iGgcRBMopVY_EP27Cvbj4q3LsbdYryCx___w0IDuBeyUCumS3tXWAG5XGGEBFUTSQTMRBnis
 xV0bk2pynNByqhK6MqLx.1XE7jMPVOiZGK5_DTJ.L2hBvNmzKezIuvjqGTG.cCwHU_bNK0JirRSa
 8CNP9xSG4ihcJnn49yAhv6mAoy4l8F_8z2GI7tIw6THk0sb7BpO2v6mzYy9lCuDjreAFWNud0HTD
 .51DclwI3lxEh.DzfH09MsWJXzL7vClWDb05Mj9ot.5bPcFzRTMPuQHfNK6cXJFxJxVRfBafHCkt
 pKQ8IhvDYVKx1No5s3.jX66F9aAIPYk.WC1Cm32_DyeUZmY8unWleC4VZ_QEYlTywDuuG.7AmiU0
 U.938rNQxZLJpBz.a0YcxBKG9XCpbjghcO7kSqlRELDALWAOHcw--
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic311.consmr.mail.ne1.yahoo.com with HTTP; Wed, 1 Aug 2018 12:49:12 +0000
Received: from 18.175.75.177.infopasa.com.br (EHLO gateway.troianet.com.br)
 ([177.75.175.18])
 by smtp426.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID
 4b7b345893d552d44a770cf1472f8638; 
 Wed, 01 Aug 2018 12:49:07 +0000 (UTC)
From: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
To: openwrt-devel@lists.openwrt.org
Cc: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
Subject: [PATCH v2 0/1] libpcap: patch to add limits.h to pcap-usb-linux.c
Date: Wed,  1 Aug 2018 09:48:41 -0300
Message-Id: &lt;20180801124842.23011-1-cote2004-github@yahoo.com&gt;
X-Mailer: git-send-email 2.16.4
In-Reply-To: &lt;509048554.346223.1533123935274@mail.yahoo.com&gt;
References: &lt;509048554.346223.1533123935274@mail.yahoo.com&gt;
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20180801_054924_158113_04BEF495 
X-CRM114-Status: UNSURE (   3.84  )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.1 (/)
X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary:
 Content analysis details:   (-0.1 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
 trust [66.163.188.202 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
 (cote2004-github[at]yahoo.com)
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
 domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
 not necessarily valid

This patch, taken from
https://github.com/the-tcpdump-group/libpcap/commit/aafa351
fixes compilation with CONFIG_PCAP_HAS_USB set on musl.

./pcap-usb-linux.c: In function 'usb_findalldevs':
./pcap-usb-linux.c:264:19: error: 'PATH_MAX' undeclared (first use in
this function); did you mean 'AF_MAX'?
  char usb_mon_dir[PATH_MAX];
                   ^~~~~~~~
                   AF_MAX
./pcap-usb-linux.c:264:19: note: each undeclared identifier is reported
only once for each function it appears in
./pcap-usb-linux.c: In function 'probe_devices':
./pcap-usb-linux.c:419:41: error: 'NAME_MAX' undeclared (first use in
this function); did you mean 'AF_MAX'?
  char buf[sizeof(&quot;/dev/bus/usb/000/&quot;) + NAME_MAX];
                                         ^~~~~~~~
                                         AF_MAX
make[3]: *** [Makefile:95: pcap-usb-linux.o] Error 1

Eneas U de Queiroz (1):
  libpcap: patch to add limits.h to pcap-usb-linux.c

 ...205-pcap-usb-linux.c-add-missing-limits.h.patch | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 package/libs/libpcap/patches/205-pcap-usb-linux.c-add-missing-limits.h.patch

-- 
2.16.4


]