- atari.c: Drop xlocale.h

Resloves: rhbz#1476934
This commit is contained in:
Brian C. Lane 2017-07-31 15:34:53 -07:00
parent 4e3bf318ee
commit 633c511c8c
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 465fdd8d72e7f8517d67ec7b5f227f5482928ec1 Mon Sep 17 00:00:00 2001
From: "Brian C. Lane" <bcl@redhat.com>
Date: Mon, 31 Jul 2017 15:20:45 -0700
Subject: [PATCH] atari.c: Drop xlocale.h (#1476934)
glibc no longer includes this header. locale.h should work just fine.
---
libparted/labels/atari.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libparted/labels/atari.c b/libparted/labels/atari.c
index 36e68b9..ea4c87f 100644
--- a/libparted/labels/atari.c
+++ b/libparted/labels/atari.c
@@ -37,7 +37,6 @@
#include <parted/endian.h>
#include <string.h>
#include <locale.h>
-#include <xlocale.h>
#include <stdint.h>
#include <ctype.h>
#include <stddef.h>
--
2.9.4

View File

@ -4,7 +4,7 @@
Summary: The GNU disk partition manipulation program
Name: parted
Version: 3.2
Release: 27%{?dist}
Release: 28%{?dist}
License: GPLv3+
Group: Applications/System
URL: http://www.gnu.org/software/parted
@ -92,6 +92,7 @@ Patch0075: 0075-libparted-dasd-add-test-cases-for-the-new-fdasd-func.patch
Patch0076: 0076-Increase-timeout-for-rmmod-scsi_debug-and-make-it-a-.patch
Patch0077: 0077-tests-t1701-rescue-fs-wait-for-the-device-to-appear.patch
Patch0078: 0078-libparted-Fix-udev-cookie-leak-in-_dm_resize_partiti.patch
Patch0079: 0079-atari.c-Drop-xlocale.h-1476934.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -230,6 +231,10 @@ fi
%changelog
* Mon Jul 31 2017 Brian C. Lane <bcl@redhat.com> - 3.2-28
- atari.c: Drop xlocale.h
Resloves: rhbz#1476934
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild