From df0e7ce149a6fdaf19117f36b877716ae0648e58 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 1 Jun 2020 08:29:45 +0300 Subject: [PATCH] dhcpcd: Fix missing include --- extra/dhcpcd/build | 2 ++ extra/dhcpcd/checksums | 1 + extra/dhcpcd/patches/missing-include.patch | 10 ++++++++++ extra/dhcpcd/sources | 1 + extra/dhcpcd/version | 2 +- 5 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 extra/dhcpcd/patches/missing-include.patch diff --git a/extra/dhcpcd/build b/extra/dhcpcd/build index 954bc10a..04ec4baf 100755 --- a/extra/dhcpcd/build +++ b/extra/dhcpcd/build @@ -1,5 +1,7 @@ #!/bin/sh -e +patch -p1 < missing-include.patch + ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ diff --git a/extra/dhcpcd/checksums b/extra/dhcpcd/checksums index f2535f1c..96d7271f 100644 --- a/extra/dhcpcd/checksums +++ b/extra/dhcpcd/checksums @@ -1,2 +1,3 @@ 00232ce388ec5ca287153cefc239ee996718bdfcc93873899a063205229b2363 dhcpcd-9.1.0.tar.gz 2b56c7e91bebcd8ca87e04998551a454b19a904dfb6d1cd0a9255c2feceda418 dhcpcd.run +dd12e16b9edc5364f372b32b014106609493bde4db067c9a9007661276222dba missing-include.patch diff --git a/extra/dhcpcd/patches/missing-include.patch b/extra/dhcpcd/patches/missing-include.patch new file mode 100644 index 00000000..a0c68681 --- /dev/null +++ b/extra/dhcpcd/patches/missing-include.patch @@ -0,0 +1,10 @@ +--- dhcpcd/src/common.h ++++ dhcpcd/src/common.h +@@ -31,6 +31,7 @@ + + #include + #include ++#include + #include + #include + diff --git a/extra/dhcpcd/sources b/extra/dhcpcd/sources index 044b6ea8..31806aa2 100644 --- a/extra/dhcpcd/sources +++ b/extra/dhcpcd/sources @@ -1,2 +1,3 @@ https://github.com/rsmarples/dhcpcd/archive/dhcpcd-9.1.0.tar.gz files/dhcpcd.run +patches/missing-include.patch diff --git a/extra/dhcpcd/version b/extra/dhcpcd/version index f6e1c249..50a7e0bb 100644 --- a/extra/dhcpcd/version +++ b/extra/dhcpcd/version @@ -1 +1 @@ -9.1.0 1 +9.1.0 2