From 3b1b0a6fed648565d8458f7429ab8742c021b697047081629b630bb9d8ab6eed Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 4 Jan 2021 11:40:48 +0000 Subject: [PATCH] Accepting request 856938 from home:malcolmlewis:branches:utilities - Add dateutils-remove-deprecated-header.patch: Remove deprecated glibc sysctl.h header. OBS-URL: https://build.opensuse.org/request/show/856938 OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=69 --- dateutils-remove-deprecated-header.patch | 11 +++++++++++ dateutils.changes | 6 ++++++ dateutils.spec | 6 ++++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 dateutils-remove-deprecated-header.patch diff --git a/dateutils-remove-deprecated-header.patch b/dateutils-remove-deprecated-header.patch new file mode 100644 index 0000000..07a6caf --- /dev/null +++ b/dateutils-remove-deprecated-header.patch @@ -0,0 +1,11 @@ +diff -Naur a/build-aux/yuck.c b/build-aux/yuck.c +--- a/build-aux/yuck.c 2020-02-03 06:52:59.000000000 -0600 ++++ b/build-aux/yuck.c 2020-12-18 18:23:04.505541977 -0600 +@@ -65,7 +65,6 @@ + #include + #include + #include +-#include + #include + #if defined __APPLE__ + # include diff --git a/dateutils.changes b/dateutils.changes index ec30325..f94d8aa 100644 --- a/dateutils.changes +++ b/dateutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 19 00:28:09 UTC 2020 - malcolmlewis@opensuse.org + +- Add dateutils-remove-deprecated-header.patch: Remove deprecated + glibc sysctl.h header. + ------------------------------------------------------------------- Wed Feb 5 19:16:19 UTC 2020 - Michael Vetter diff --git a/dateutils.spec b/dateutils.spec index 1550edf..59b042d 100644 --- a/dateutils.spec +++ b/dateutils.spec @@ -1,7 +1,7 @@ # # spec file for package dateutils # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ Group: Productivity/Text/Utilities URL: https://github.com/hroptatyr/dateutils/ Source0: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.asc +#PATCH-FIX-OPENSUSE dateutils-remove-deprecated-header.patch malcolmlewis@opensuse.org -- Remove deprecated glibc sysctl.h header. +Patch0: dateutils-remove-deprecated-header.patch BuildRequires: octave-devel BuildRequires: pkgconfig BuildRequires: timezone @@ -49,7 +51,7 @@ Requires: octave Dateutils can be used from within matlab or ocatave. %prep -%setup -q +%autosetup -p1 %build %configure \