From baeda11eb1d263f92806965b7bc74dff113ce8c2 Mon Sep 17 00:00:00 2001 From: Pavel Zhukov Date: Dec 20 2017 12:22:48 +0000 Subject: Change duid_uuid patch to not use std99 feature (#1488721) --- diff --git a/dhcp-duid_uuid.patch b/dhcp-duid_uuid.patch index f90bc4a..73961df 100644 --- a/dhcp-duid_uuid.patch +++ b/dhcp-duid_uuid.patch @@ -36,8 +36,8 @@ diff -up dhcp-4.3.4/client/dhclient.c.duid_uuid dhcp-4.3.4/client/dhclient.c + log_debug("Not enough data in %s", id_fname); + return ISC_R_IOERROR; + } -+ -+ for (int j = 0; j < 16; j++) { ++ int j; ++ for (j = 0; j < 16; j++) { + int a, b; + + a = unhexchar(id[j*2]); diff --git a/dhcp.spec b/dhcp.spec index 7d057ce..c4cb509 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -20,7 +20,7 @@ Summary: Dynamic host configuration protocol software Name: dhcp Version: 4.3.6 %global VERSION %%{version}%%{prever} -Release: 8%{?dist} +Release: 9%{?dist} # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # dcantrell maintaining the package) made incorrect use of the epoch and # that's why it is at 12 now. It should have never been used, but it was. @@ -670,6 +670,9 @@ done %endif %changelog +* Wed Dec 20 2017 Pavel Zhukov - 12:4.3.5-9 +- Change duid_uuid patch to not use std99 feature + * Fri Dec 8 2017 Pavel Zhukov - 12:4.3.6-8 - Fix omapi SD leak (#1523547)