From e8c22e4562830e3d175049ab283389e696ab3d48 Mon Sep 17 00:00:00 2001 From: Michael van Elst Date: Thu, 10 Jul 2003 08:29:09 +0000 Subject: [PATCH] fix build on systems that do not support daemon() --- dhcp-agent/dhcp-agent.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dhcp-agent/dhcp-agent.spec b/dhcp-agent/dhcp-agent.spec index 48b4642dba..e4cfa00f7c 100644 --- a/dhcp-agent/dhcp-agent.spec +++ b/dhcp-agent/dhcp-agent.spec @@ -69,6 +69,10 @@ AutoReqProv: no %{l_shtool} subst \ -e 's;mkdir -p .*\(${dhcplocalstate_clientdir}\);%{l_shtool} mkdir -p $(DESTDIR)\1;' \ src/Makefile.in + # API was renamed inconsistently + %{l_shtool} subst \ + -e 's;FATAL_ERROR;FATAL_MESSAGE;g' \ + src/dhcp_daemon.c %build case "%{l_target}" in