Date: Tuesday, August 8, 2017 @ 16:25:08
  Author: zorun
Revision: 249585

kea: Fix missing header when installing

Added:
  kea/trunk/add-missing-header.patch
Modified:
  kea/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |    6 +++++-
 add-missing-header.patch |   18 ++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-08 16:24:50 UTC (rev 249584)
+++ PKGBUILD    2017-08-08 16:25:08 UTC (rev 249585)
@@ -2,7 +2,7 @@
 # Contributor: nfnty
 pkgname='kea'
 pkgver=1.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc='High-performance, extensible DHCP server engine from ISC, supporting 
both DHCPv4 and DHCPv6'
 arch=('i686' 'x86_64')
 url='http://kea.isc.org'
@@ -20,6 +20,7 @@
 backup=('etc/kea/kea.conf' 'etc/kea/kea-ca.conf' 'etc/kea/keactrl.conf')
 source=(https://ftp.isc.org/isc/kea/${pkgver}/kea-${pkgver}.tar.gz{,.asc}
         fix-scripts-include-path.patch
+        add-missing-header.patch
         LICENSE
         tmpfiles-kea.conf
         kea-dhcp4.service
@@ -27,6 +28,7 @@
 
sha512sums=('d90571027edbce9eeb75d9ac889865dc24c2fd3ab17e44e23337ff623ca098ffd02560f01273da3c28f13734d95d5950110bc116bed527a295a9dc70addcc240'
             'SKIP'
             
'81874fd3a12f55ea23593b7248c7653450c3a6e5ba8e79c7c5fb40ab685b0dc5d4e29e50f10000bd9018200731dba35f15e5d86c8005c94d14865d73e19983e5'
+            
'79e2ad71d1742450f7b488326fdec8a62141622c8c927b1ed9db168052856ce848f80af70415cf03ce666441fab59eefbf3359ed47c6f326a19ace7db4b5328e'
             
'32a402845f82f89a8357208be666b58672d70cf30fc264f3093b89b4201bf73b57877a080ed123c9beb8e50cd5396092a6286c33e511b595efb1b43e196e3be1'
             
'13a473bea4f8a1ba40f5667b880010590c5fddecaa76c360113e977c9ab3898558141cda17000def7b1c592b7dc6f8d5a508752351c601f6484abd775b60d214'
             
'24fdd95fc25bcd6aaf21cec598f3d09715418705aadbb2403792b62f4d8789b1897aa65f5e68184612d0a2c1c6be4123491db2fc3b1d602f6e7c5cd6c2d278eb'
@@ -39,6 +41,8 @@
   # Also, it fallbacks to the absolute path inside the chrooted build dir,
   # which will certainly not exist on the target system...
   patch -p1 < "${srcdir}"/fix-scripts-include-path.patch
+  # Backported from the git repo, without this header hooks may fail to build.
+  patch -p1 < "${srcdir}"/add-missing-header.patch
 }
 
 build() {

Added: add-missing-header.patch
===================================================================
--- add-missing-header.patch                            (rev 0)
+++ add-missing-header.patch    2017-08-08 16:25:08 UTC (rev 249585)
@@ -0,0 +1,18 @@
+commit b63da2b6ab2a623539eb1bc8ed3850cb88ef6f26
+Author: Walt Steverson <waltstever...@users.noreply.github.com>
+Date:   Fri Jun 9 11:12:42 2017 -0500
+
+    Add missing header file option6_pdexclude.h
+
+diff --git a/src/lib/dhcp/Makefile.am b/src/lib/dhcp/Makefile.am
+index 461429ba8..12c3ebf84 100644
+--- a/src/lib/dhcp/Makefile.am
++++ b/src/lib/dhcp/Makefile.am
+@@ -99,6 +99,7 @@ libkea_dhcp___include_HEADERS = \
+     option6_ia.h \
+     option6_iaaddr.h \
+     option6_iaprefix.h \
++    option6_pdexclude.h \
+     option6_status_code.h \
+     option.h \
+     option_custom.h \

Reply via email to