Accepting request 860151 from utilities
OBS-URL: https://build.opensuse.org/request/show/860151 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=25
This commit is contained in:
commit
6902bde3c3
11
dateutils-remove-deprecated-header.patch
Normal file
11
dateutils-remove-deprecated-header.patch
Normal file
@ -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 <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
-#include <sys/sysctl.h>
|
||||
#include <time.h>
|
||||
#if defined __APPLE__
|
||||
# include <mach-o/dyld.h>
|
@ -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 <mvetter@suse.com>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user