package/dhcpcd: fix build without fork
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 13 Jul 2020 09:01:40 +0000 (11:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 13 Jul 2020 19:49:50 +0000 (21:49 +0200)
commit91c1cb0881fdbdc4b1e3fe68a9f56941abc87bf1
treee17b31d70d1af87bc158dcbd53a66ac0c40d059f
parent3ada9b8888aa66ab323278ced6071c6be8b2bac7
package/dhcpcd: fix build without fork

- Add a patch to fix build without fork in src/dhcpcd.c. This
  regression was introduced in upstream commit
  3063ebb6c8ac7c96196fa923cdd5f7c0384de23b, which was merged in dhcpcd
  9.0.0. Therefore, Buildroot is affected since we bumped from 8.0.3
  to 9.1.4 in commit 809f548e79c6c099f1fa3e3728d90842be7059a7, which
  was applied after 2020.05

- Disable privsep as it unconditionally uses fork (privsep has been
  enabled by default since version 9.0.0 and
  https://github.com/rsmarples/dhcpcd/commit/3a4c2e5604d72151b06ed365aa71493740a3ad75)

Fixes:

 - http://autobuild.buildroot.org/results/9fcc88abedcb8a02946f37837dcf4fff02f66c23

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dhcpcd/0001-src-dhcpcd.c-fix-build-without-fork.patch [new file with mode: 0644]
package/dhcpcd/dhcpcd.mk