From a89555e23b2d7c0bb385424f529206d5a3cf7549 Mon Sep 17 00:00:00 2001 From: Randy McCaskill Date: Thu, 4 Jun 2020 17:30:32 -0400 Subject: [PATCH] dhcpcd: update to 9.1.1. --- srcpkgs/dhcpcd/patches/dhcpcd-9.1.1-typo_fix.patch | 11 +++++++++++ srcpkgs/dhcpcd/patches/include.patch | 10 ++++++++++ srcpkgs/dhcpcd/template | 4 ++-- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/dhcpcd/patches/dhcpcd-9.1.1-typo_fix.patch create mode 100644 srcpkgs/dhcpcd/patches/include.patch diff --git a/srcpkgs/dhcpcd/patches/dhcpcd-9.1.1-typo_fix.patch b/srcpkgs/dhcpcd/patches/dhcpcd-9.1.1-typo_fix.patch new file mode 100644 index 00000000000..993478c36c9 --- /dev/null +++ b/srcpkgs/dhcpcd/patches/dhcpcd-9.1.1-typo_fix.patch @@ -0,0 +1,11 @@ +--- src/if-options.c ++++ src/if-options.c +@@ -2367,7 +2367,7 @@ + } + if (buf[buflen - 1] != '\0') { + if (buflen < sizeof(buf) - 1) +- bulen++; ++ buflen++; + buf[buflen - 1] = '\0'; + } + #else diff --git a/srcpkgs/dhcpcd/patches/include.patch b/srcpkgs/dhcpcd/patches/include.patch new file mode 100644 index 00000000000..c21998faa71 --- /dev/null +++ b/srcpkgs/dhcpcd/patches/include.patch @@ -0,0 +1,10 @@ +--- src/common.h 2020-06-04 08:35:46.000000000 -0400 ++++ src/common.h 2020-06-04 16:39:00.401788338 -0400 +@@ -31,6 +31,7 @@ + + #include + #include ++#include + #include + #include + diff --git a/srcpkgs/dhcpcd/template b/srcpkgs/dhcpcd/template index 8228214317f..dca650de4ae 100644 --- a/srcpkgs/dhcpcd/template +++ b/srcpkgs/dhcpcd/template @@ -1,6 +1,6 @@ # Template file for 'dhcpcd' pkgname=dhcpcd -version=9.0.2 +version=9.1.1 revision=1 build_style=configure make_check_target=test @@ -12,7 +12,7 @@ maintainer="Juan RP " license="BSD-2-Clause" homepage="https://roy.marples.name/projects/dhcpcd" distfiles="https://roy.marples.name/downloads/dhcpcd/dhcpcd-${version}.tar.xz" -checksum=f6e9f2fca7f5ebaf67915ff2ff66122eec0e7acb490f3c816781d65ccb5dd121 +checksum=bb742911be1f660db42a7323acc793b587f467c5de5b7186735c16d20204737d lib32disabled=yes conf_files=/etc/dhcpcd.conf # privsep