1 |
commit: f9fda6486b9c8d070a5c8fa1e9d76093cb21ee70 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 11 14:50:34 2020 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 11 15:01:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9fda648 |
7 |
|
8 |
net-wireless/bluez: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.93, Repoman-2.3.20 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
net-wireless/bluez/Manifest | 1 - |
14 |
net-wireless/bluez/bluez-5.51-r2.ebuild | 292 --------------------- |
15 |
.../files/bluez-5.51-disconnect-timeout.patch | 104 -------- |
16 |
.../bluez/files/bluez-5.51-include-limits-h.patch | 64 ----- |
17 |
4 files changed, 461 deletions(-) |
18 |
|
19 |
diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest |
20 |
index d1745749f72..ec45687f7a0 100644 |
21 |
--- a/net-wireless/bluez/Manifest |
22 |
+++ b/net-wireless/bluez/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST bluez-5.51.tar.xz 1941904 BLAKE2B e8580388961c99305c6f723160e726232a097067815a88a056c1569c55c2ea410004cf92572afbef9b782807d8a940503b4501f9c6046cacac35136fbbe580a8 SHA512 8b14eea98f541b981162abce728e0f917654ad3c990721ec398fe41bdd68069fe55ff64b61bc3c3b9f813facf42c995b07619f6d5d153965de27154b1a7b578f |
25 |
DIST bluez-5.52.tar.xz 1957504 BLAKE2B 670cdfb44eca1b184c0bd678bab34116f9172394b86fb69fa454f7bdcc1ae82c466a806879ddef96dddd6ae6cd31466b48f9e87113d43144659ae0c057b9def8 SHA512 9024481910d1dee85578bf3d7a4fc4be2bece516e6216c91aa1a7ac18537f092b47c41c4a5506ddd7e279599d58002e98203c5439745c01df4dbc22a75234c84 |
26 |
|
27 |
diff --git a/net-wireless/bluez/bluez-5.51-r2.ebuild b/net-wireless/bluez/bluez-5.51-r2.ebuild |
28 |
deleted file mode 100644 |
29 |
index 5b222563fc8..00000000000 |
30 |
--- a/net-wireless/bluez/bluez-5.51-r2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,292 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
- |
39 |
-inherit autotools python-single-r1 readme.gentoo-r1 systemd udev multilib-minimal |
40 |
- |
41 |
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
42 |
-HOMEPAGE="http://www.bluez.org" |
43 |
-SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz" |
44 |
- |
45 |
-LICENSE="GPL-2+ LGPL-2.1+" |
46 |
-SLOT="0/3" |
47 |
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 x86" |
48 |
-IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi +obex +readline selinux systemd test test-programs +udev user-session" |
49 |
- |
50 |
-# Since this release all remaining extra-tools need readline support, but this could |
51 |
-# change in the future, hence, this REQUIRED_USE constraint could be dropped |
52 |
-# again in the future. |
53 |
-REQUIRED_USE=" |
54 |
- extra-tools? ( deprecated readline ) |
55 |
- test? ( ${PYTHON_REQUIRED_USE} ) |
56 |
- test-programs? ( ${PYTHON_REQUIRED_USE} ) |
57 |
-" |
58 |
- |
59 |
-TEST_DEPS="${PYTHON_DEPS} |
60 |
- $(python_gen_cond_dep ' |
61 |
- >=dev-python/dbus-python-1[${PYTHON_MULTI_USEDEP}] |
62 |
- dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] |
63 |
- ') |
64 |
-" |
65 |
-BDEPEND=" |
66 |
- virtual/pkgconfig |
67 |
- test? ( ${TEST_DEPS} ) |
68 |
-" |
69 |
-DEPEND=" |
70 |
- >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] |
71 |
- >=sys-apps/hwids-20121202.2 |
72 |
- btpclient? ( >=dev-libs/ell-0.14 ) |
73 |
- cups? ( net-print/cups:= ) |
74 |
- mesh? ( |
75 |
- >=dev-libs/ell-0.14 |
76 |
- dev-libs/json-c:= |
77 |
- sys-libs/readline:0= |
78 |
- ) |
79 |
- midi? ( media-libs/alsa-lib ) |
80 |
- obex? ( dev-libs/libical:= ) |
81 |
- readline? ( sys-libs/readline:0= ) |
82 |
- systemd? ( |
83 |
- >=sys-apps/dbus-1.6:=[user-session=] |
84 |
- sys-apps/systemd |
85 |
- ) |
86 |
- !systemd? ( >=sys-apps/dbus-1.6:= ) |
87 |
- udev? ( >=virtual/udev-172 ) |
88 |
-" |
89 |
-RDEPEND="${DEPEND} |
90 |
- selinux? ( sec-policy/selinux-bluetooth ) |
91 |
- test-programs? ( ${TEST_DEPS} ) |
92 |
-" |
93 |
- |
94 |
-RESTRICT="!test? ( test )" |
95 |
- |
96 |
-PATCHES=( |
97 |
- # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) |
98 |
- # http://www.spinics.net/lists/linux-bluetooth/msg58739.html |
99 |
- # https://bugs.gentoo.org/539844 |
100 |
- "${FILESDIR}"/${PN}-udevadm-path-r1.patch |
101 |
- |
102 |
- # Include limits.h for PATH_MAX |
103 |
- # https://marc.info/?l=linux-bluetooth&m=157156119320950&w=2 |
104 |
- # https://bugs.gentoo.org/695940 |
105 |
- "${FILESDIR}"/${PN}-5.51-include-limits-h.patch |
106 |
- |
107 |
- # audio: Fix cancelling disconnect timeout (from 'master') |
108 |
- # https://marc.info/?l=linux-bluetooth&m=157047663920714&w=2 |
109 |
- "${FILESDIR}"/${P}-disconnect-timeout.patch |
110 |
- |
111 |
- # Fedora patches |
112 |
- # http://www.spinics.net/lists/linux-bluetooth/msg40136.html |
113 |
- "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch |
114 |
-) |
115 |
- |
116 |
-pkg_setup() { |
117 |
- if use test || use test-programs; then |
118 |
- python-single-r1_pkg_setup |
119 |
- fi |
120 |
- |
121 |
- if ! use udev; then |
122 |
- ewarn |
123 |
- ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" |
124 |
- ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," |
125 |
- ewarn "and hid2hci will not be available." |
126 |
- ewarn |
127 |
- fi |
128 |
-} |
129 |
- |
130 |
-src_prepare() { |
131 |
- default |
132 |
- |
133 |
- # http://www.spinics.net/lists/linux-bluetooth/msg38490.html |
134 |
- if ! use user-session || ! use systemd; then |
135 |
- eapply "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch |
136 |
- fi |
137 |
- |
138 |
- if use cups; then |
139 |
- sed -i \ |
140 |
- -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ |
141 |
- Makefile.{in,tools} || die |
142 |
- fi |
143 |
- |
144 |
- # Broken test https://bugzilla.kernel.org/show_bug.cgi?id=196621 |
145 |
- # https://bugs.gentoo.org/618548 |
146 |
- sed -i -e '/unit_tests += unit\/test-gatt\b/d' Makefile.am || die |
147 |
- |
148 |
- eautoreconf |
149 |
- |
150 |
- multilib_copy_sources |
151 |
-} |
152 |
- |
153 |
-multilib_src_configure() { |
154 |
- local myconf=( |
155 |
- # readline is automagic when client is enabled |
156 |
- # --enable-client always needs readline, bug #504038 |
157 |
- # --enable-mesh is handled in the same way |
158 |
- ac_cv_header_readline_readline_h=$(multilib_native_usex readline) |
159 |
- ac_cv_header_readline_readline_h=$(multilib_native_usex mesh) |
160 |
- ) |
161 |
- |
162 |
- if ! multilib_is_native_abi; then |
163 |
- myconf+=( |
164 |
- # deps not used for the library |
165 |
- {DBUS,GLIB}_{CFLAGS,LIBS}=' ' |
166 |
- ) |
167 |
- fi |
168 |
- |
169 |
- econf \ |
170 |
- --localstatedir=/var \ |
171 |
- --disable-android \ |
172 |
- --enable-datafiles \ |
173 |
- --enable-optimization \ |
174 |
- $(use_enable debug) \ |
175 |
- --enable-pie \ |
176 |
- --enable-threads \ |
177 |
- --enable-library \ |
178 |
- --enable-tools \ |
179 |
- --enable-manpages \ |
180 |
- --enable-monitor \ |
181 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
182 |
- --with-systemduserunitdir="$(systemd_get_userunitdir)" \ |
183 |
- $(multilib_native_use_enable btpclient) \ |
184 |
- $(multilib_native_use_enable btpclient external-ell) \ |
185 |
- $(multilib_native_use_enable cups) \ |
186 |
- $(multilib_native_use_enable deprecated) \ |
187 |
- $(multilib_native_use_enable experimental) \ |
188 |
- $(multilib_native_use_enable mesh) \ |
189 |
- $(multilib_native_use_enable mesh external-ell) \ |
190 |
- $(multilib_native_use_enable midi) \ |
191 |
- $(multilib_native_use_enable obex) \ |
192 |
- $(multilib_native_use_enable readline client) \ |
193 |
- $(multilib_native_use_enable systemd) \ |
194 |
- $(multilib_native_use_enable test-programs test) \ |
195 |
- $(multilib_native_use_enable udev) \ |
196 |
- $(multilib_native_use_enable udev sixaxis) |
197 |
-} |
198 |
- |
199 |
-multilib_src_compile() { |
200 |
- if multilib_is_native_abi; then |
201 |
- default |
202 |
- else |
203 |
- emake -f Makefile -f - libs \ |
204 |
- <<<'libs: $(lib_LTLIBRARIES)' |
205 |
- fi |
206 |
-} |
207 |
- |
208 |
-multilib_src_test() { |
209 |
- multilib_is_native_abi && default |
210 |
-} |
211 |
- |
212 |
-multilib_src_install() { |
213 |
- if multilib_is_native_abi; then |
214 |
- emake DESTDIR="${D}" install |
215 |
- |
216 |
- # Only install extra-tools when relevant USE flag is enabled |
217 |
- if use extra-tools; then |
218 |
- ewarn "Upstream doesn't support using this tools and their bugs are" |
219 |
- ewarn "likely to be ignored forever, also that tools can break" |
220 |
- ewarn "without previous announcement." |
221 |
- ewarn "Upstream also states all this tools are not really needed," |
222 |
- ewarn "then, if you still need to rely on them, you must ask them" |
223 |
- ewarn "to either install that tool by default or add the needed" |
224 |
- ewarn "functionality to the existing 'official' tools." |
225 |
- ewarn "Please report this issues to:" |
226 |
- ewarn "http://www.bluez.org/development/lists/" |
227 |
- |
228 |
- # Upstream doesn't install this, bug #524640 |
229 |
- # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 |
230 |
- # http://comments.gmane.org/gmane.linux.bluez.kernel/54564 |
231 |
- dobin tools/btmgmt |
232 |
- # gatttool is only built with readline, bug #530776 |
233 |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1141909 |
234 |
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720486 |
235 |
- # https://bugs.archlinux.org/task/37686 |
236 |
- dobin attrib/gatttool |
237 |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1699680 |
238 |
- dobin tools/avinfo |
239 |
- fi |
240 |
- |
241 |
- # Not installed by default after being built, bug #666756 |
242 |
- use btpclient && dobin tools/btpclient |
243 |
- |
244 |
- # Unittests are not that useful once installed, so make them optional |
245 |
- if use test-programs; then |
246 |
- # Few are needing python3, the others are python2 only. Remove |
247 |
- # until we see how to pull in python2 and python3 for runtime |
248 |
- rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-server || die |
249 |
- rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-client || die |
250 |
- rm "${ED}"/usr/$(get_libdir)/bluez/test/agent.py || die |
251 |
- rm "${ED}"/usr/$(get_libdir)/bluez/test/test-mesh || die |
252 |
- |
253 |
- python_fix_shebang "${ED}"/usr/$(get_libdir)/bluez/test |
254 |
- |
255 |
- for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do |
256 |
- dosym "${i}" /usr/bin/bluez-"${i##*/}" |
257 |
- done |
258 |
- fi |
259 |
- else |
260 |
- emake DESTDIR="${D}" \ |
261 |
- install-pkgincludeHEADERS \ |
262 |
- install-libLTLIBRARIES \ |
263 |
- install-pkgconfigDATA |
264 |
- fi |
265 |
-} |
266 |
- |
267 |
-multilib_src_install_all() { |
268 |
- # We need to ensure obexd can be spawned automatically by systemd |
269 |
- # when user-session is enabled: |
270 |
- # http://marc.info/?l=linux-bluetooth&m=148096094716386&w=2 |
271 |
- # https://bugs.gentoo.org/show_bug.cgi?id=577842 |
272 |
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804908 |
273 |
- # https://bugs.archlinux.org/task/45816 |
274 |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1318441 |
275 |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1389347 |
276 |
- if use user-session && use systemd; then |
277 |
- ln -s "${ED}"/usr/lib/systemd/user/obex.service "${ED}"/usr/lib/systemd/user/dbus-org.bluez.obex.service |
278 |
- fi |
279 |
- |
280 |
- find "${D}" -name '*.la' -type f -delete || die |
281 |
- |
282 |
- keepdir /var/lib/bluetooth |
283 |
- |
284 |
- # Upstream don't want people to play with them |
285 |
- # But we keep installing them due to 'historical' reasons |
286 |
- insinto /etc/bluetooth |
287 |
- local d |
288 |
- for d in input network; do |
289 |
- doins profiles/${d}/${d}.conf |
290 |
- done |
291 |
- # Setup auto enable as Fedora does for allowing to use |
292 |
- # keyboards/mouse as soon as possible |
293 |
- sed -i 's/#\[Policy\]$/\[Policy\]/; s/#AutoEnable=false/AutoEnable=true/' src/main.conf || die |
294 |
- doins src/main.conf |
295 |
- |
296 |
- newinitd "${FILESDIR}"/bluetooth-init.d-r4 bluetooth |
297 |
- |
298 |
- einstalldocs |
299 |
- use doc && dodoc doc/*.txt |
300 |
- # Install .json files as examples to be used by meshctl |
301 |
- if use mesh; then |
302 |
- dodoc tools/mesh/*.json |
303 |
- local DOC_CONTENTS="Some example .json files were installed into |
304 |
- /usr/share/doc/${PF} to be used with meshctl. Feel free to |
305 |
- uncompress and copy them to ~/.config/meshctl to use them." |
306 |
- readme.gentoo_create_doc |
307 |
- fi |
308 |
- |
309 |
- # From Fedora: |
310 |
- # Scripts for automatically btattach-ing serial ports connected to Broadcom HCIs |
311 |
- # as found on some Atom based x86 hardware |
312 |
- udev_dorules "${FILESDIR}/69-btattach-bcm.rules" |
313 |
- systemd_newunit "${FILESDIR}/btattach-bcm_at.service" "btattach-bcm@.service" |
314 |
- exeinto /usr/libexec/bluetooth |
315 |
- doexe "${FILESDIR}/btattach-bcm-service.sh" |
316 |
-} |
317 |
- |
318 |
-pkg_postinst() { |
319 |
- use udev && udev_reload |
320 |
- systemd_reenable bluetooth.service |
321 |
- |
322 |
- has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp" |
323 |
- use mesh && readme.gentoo_print_elog |
324 |
-} |
325 |
|
326 |
diff --git a/net-wireless/bluez/files/bluez-5.51-disconnect-timeout.patch b/net-wireless/bluez/files/bluez-5.51-disconnect-timeout.patch |
327 |
deleted file mode 100644 |
328 |
index 2f6e7c8c4d9..00000000000 |
329 |
--- a/net-wireless/bluez/files/bluez-5.51-disconnect-timeout.patch |
330 |
+++ /dev/null |
331 |
@@ -1,104 +0,0 @@ |
332 |
-From 52faac4648500dd45c06b6aa41f1be426c43a125 Mon Sep 17 00:00:00 2001 |
333 |
-From: Luiz Augusto von Dentz <luiz.von.dentz@×××××.com> |
334 |
-Date: Fri, 11 Oct 2019 15:40:04 +0300 |
335 |
-Subject: audio: Fix cancelling disconnect timeout |
336 |
- |
337 |
-If AVDTP session has been connected but no stream has been setup calls |
338 |
-to service->connect would return -EBUSY to avoid stream setup collision |
339 |
-but it also takes a reference to the session cancelling the disconnect |
340 |
-timeout and disabling the stream_setup logic that would attempt to |
341 |
-estabilish a stream. |
342 |
---- |
343 |
- profiles/audio/sink.c | 25 ++++++++++++------------- |
344 |
- profiles/audio/source.c | 25 ++++++++++++------------- |
345 |
- 2 files changed, 24 insertions(+), 26 deletions(-) |
346 |
- |
347 |
-diff --git a/profiles/audio/sink.c b/profiles/audio/sink.c |
348 |
-index 7cac21034..966440534 100644 |
349 |
---- a/profiles/audio/sink.c |
350 |
-+++ b/profiles/audio/sink.c |
351 |
-@@ -256,11 +256,18 @@ gboolean sink_setup_stream(struct btd_service *service, struct avdtp *session) |
352 |
- if (sink->connect_id > 0 || sink->disconnect_id > 0) |
353 |
- return FALSE; |
354 |
- |
355 |
-- if (session && !sink->session) |
356 |
-- sink->session = avdtp_ref(session); |
357 |
-- |
358 |
-- if (!sink->session) |
359 |
-- return FALSE; |
360 |
-+ if (!sink->session) { |
361 |
-+ if (session) |
362 |
-+ sink->session = avdtp_ref(session); |
363 |
-+ else |
364 |
-+ sink->session = a2dp_avdtp_get( |
365 |
-+ btd_service_get_device(service)); |
366 |
-+ |
367 |
-+ if (!sink->session) { |
368 |
-+ DBG("Unable to get a session"); |
369 |
-+ return FALSE; |
370 |
-+ } |
371 |
-+ } |
372 |
- |
373 |
- sink->connect_id = a2dp_discover(sink->session, discovery_complete, |
374 |
- sink); |
375 |
-@@ -274,14 +281,6 @@ int sink_connect(struct btd_service *service) |
376 |
- { |
377 |
- struct sink *sink = btd_service_get_user_data(service); |
378 |
- |
379 |
-- if (!sink->session) |
380 |
-- sink->session = a2dp_avdtp_get(btd_service_get_device(service)); |
381 |
-- |
382 |
-- if (!sink->session) { |
383 |
-- DBG("Unable to get a session"); |
384 |
-- return -EIO; |
385 |
-- } |
386 |
-- |
387 |
- if (sink->connect_id > 0 || sink->disconnect_id > 0) |
388 |
- return -EBUSY; |
389 |
- |
390 |
-diff --git a/profiles/audio/source.c b/profiles/audio/source.c |
391 |
-index 4081e1970..0ac20fe40 100644 |
392 |
---- a/profiles/audio/source.c |
393 |
-+++ b/profiles/audio/source.c |
394 |
-@@ -257,11 +257,18 @@ gboolean source_setup_stream(struct btd_service *service, |
395 |
- if (source->connect_id > 0 || source->disconnect_id > 0) |
396 |
- return FALSE; |
397 |
- |
398 |
-- if (session && !source->session) |
399 |
-- source->session = avdtp_ref(session); |
400 |
-- |
401 |
-- if (!source->session) |
402 |
-- return FALSE; |
403 |
-+ if (!source->session) { |
404 |
-+ if (session) |
405 |
-+ source->session = avdtp_ref(session); |
406 |
-+ else |
407 |
-+ source->session = a2dp_avdtp_get( |
408 |
-+ btd_service_get_device(service)); |
409 |
-+ |
410 |
-+ if (!source->session) { |
411 |
-+ DBG("Unable to get a session"); |
412 |
-+ return FALSE; |
413 |
-+ } |
414 |
-+ } |
415 |
- |
416 |
- source->connect_id = a2dp_discover(source->session, discovery_complete, |
417 |
- source); |
418 |
-@@ -275,14 +282,6 @@ int source_connect(struct btd_service *service) |
419 |
- { |
420 |
- struct source *source = btd_service_get_user_data(service); |
421 |
- |
422 |
-- if (!source->session) |
423 |
-- source->session = a2dp_avdtp_get(btd_service_get_device(service)); |
424 |
-- |
425 |
-- if (!source->session) { |
426 |
-- DBG("Unable to get a session"); |
427 |
-- return -EIO; |
428 |
-- } |
429 |
-- |
430 |
- if (source->connect_id > 0 || source->disconnect_id > 0) |
431 |
- return -EBUSY; |
432 |
- |
433 |
--- |
434 |
-cgit 1.2-0.3.lf.el7 |
435 |
- |
436 |
|
437 |
diff --git a/net-wireless/bluez/files/bluez-5.51-include-limits-h.patch b/net-wireless/bluez/files/bluez-5.51-include-limits-h.patch |
438 |
deleted file mode 100644 |
439 |
index ccbc152a4ee..00000000000 |
440 |
--- a/net-wireless/bluez/files/bluez-5.51-include-limits-h.patch |
441 |
+++ /dev/null |
442 |
@@ -1,64 +0,0 @@ |
443 |
-From 20128c5c95fbae93c9fd996d5ad2584cf6ad8032 Mon Sep 17 00:00:00 2001 |
444 |
-From: Jory Pratt <anarchy@g.o> |
445 |
-Date: Mon, 30 Sep 2019 18:35:56 -0500 |
446 |
-Subject: [PATCH] Include limits.h for PATH_MAX |
447 |
- |
448 |
-Signed-off-by: Jory Pratt <anarchy@g.o> |
449 |
---- |
450 |
- mesh/keyring.c | 1 + |
451 |
- mesh/mesh-config-json.c | 1 + |
452 |
- mesh/node.c | 1 + |
453 |
- mesh/util.c | 1 + |
454 |
- 4 files changed, 4 insertions(+) |
455 |
- |
456 |
-diff --git a/mesh/keyring.c b/mesh/keyring.c |
457 |
-index 3a7f92f..9fa7d6b 100644 |
458 |
---- a/mesh/keyring.c |
459 |
-+++ b/mesh/keyring.c |
460 |
-@@ -24,6 +24,7 @@ |
461 |
- #define _GNU_SOURCE |
462 |
- #include <fcntl.h> |
463 |
- #include <dirent.h> |
464 |
-+#include <limits.h> |
465 |
- #include <stdio.h> |
466 |
- #include <unistd.h> |
467 |
- #include <dirent.h> |
468 |
-diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c |
469 |
-index cafa2fd..74ca495 100644 |
470 |
---- a/mesh/mesh-config-json.c |
471 |
-+++ b/mesh/mesh-config-json.c |
472 |
-@@ -27,6 +27,7 @@ |
473 |
- #include <fcntl.h> |
474 |
- #include <ftw.h> |
475 |
- #include <libgen.h> |
476 |
-+#include <limits.h> |
477 |
- #include <stdio.h> |
478 |
- #include <string.h> |
479 |
- #include <unistd.h> |
480 |
-diff --git a/mesh/node.c b/mesh/node.c |
481 |
-index b6824f5..15dcb97 100644 |
482 |
---- a/mesh/node.c |
483 |
-+++ b/mesh/node.c |
484 |
-@@ -23,6 +23,7 @@ |
485 |
- |
486 |
- #define _GNU_SOURCE |
487 |
- #include <dirent.h> |
488 |
-+#include <limits.h> |
489 |
- #include <stdio.h> |
490 |
- #include <sys/time.h> |
491 |
- |
492 |
-diff --git a/mesh/util.c b/mesh/util.c |
493 |
-index 1455bde..986ba4b 100644 |
494 |
---- a/mesh/util.c |
495 |
-+++ b/mesh/util.c |
496 |
-@@ -25,6 +25,7 @@ |
497 |
- #include <dirent.h> |
498 |
- #include <ftw.h> |
499 |
- #include <stdio.h> |
500 |
-+#include <limits.h> |
501 |
- #include <time.h> |
502 |
- #include <sys/time.h> |
503 |
- |
504 |
--- |
505 |
-2.23.0 |
506 |
- |