Change duid_uuid patch to not use std99 feature (#1488721)

This commit is contained in:
Pavel Zhukov 2017-12-20 13:21:15 +01:00
parent 956986ca88
commit baeda11eb1
2 changed files with 6 additions and 3 deletions

View File

@ -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); + log_debug("Not enough data in %s", id_fname);
+ return ISC_R_IOERROR; + return ISC_R_IOERROR;
+ } + }
+ + int j;
+ for (int j = 0; j < 16; j++) { + for (j = 0; j < 16; j++) {
+ int a, b; + int a, b;
+ +
+ a = unhexchar(id[j*2]); + a = unhexchar(id[j*2]);

View File

@ -20,7 +20,7 @@ Summary: Dynamic host configuration protocol software
Name: dhcp Name: dhcp
Version: 4.3.6 Version: 4.3.6
%global VERSION %%{version}%%{prever} %global VERSION %%{version}%%{prever}
Release: 8%{?dist} Release: 9%{?dist}
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
# dcantrell maintaining the package) made incorrect use of the epoch and # 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. # that's why it is at 12 now. It should have never been used, but it was.
@ -670,6 +670,9 @@ done
%endif %endif
%changelog %changelog
* Wed Dec 20 2017 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.5-9
- Change duid_uuid patch to not use std99 feature
* Fri Dec 8 2017 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-8 * Fri Dec 8 2017 Pavel Zhukov <pzhukov@redhat.com> - 12:4.3.6-8
- Fix omapi SD leak (#1523547) - Fix omapi SD leak (#1523547)