Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ea88fe7304 | |||
| 3d3882b03f | |||
| 0169d94865 | |||
| 3f1faed004 |
13
time-gcc15.patch
Normal file
13
time-gcc15.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: time-1.9/src/time.c
|
||||
===================================================================
|
||||
--- time-1.9.orig/src/time.c
|
||||
+++ time-1.9/src/time.c
|
||||
@@ -76,7 +76,7 @@ enum
|
||||
|
||||
|
||||
/* A Pointer to a signal handler. */
|
||||
-typedef RETSIGTYPE (*sighandler) ();
|
||||
+typedef RETSIGTYPE (*sighandler) (int);
|
||||
|
||||
/* msec = milliseconds = 1/1,000 (1*10e-3) second.
|
||||
usec = microseconds = 1/1,000,000 (1*10e-6) second. */
|
||||
11
time.changes
11
time.changes
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 13:17:22 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- fix build with gcc15
|
||||
+ time-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 12:43:16 UTC 2025 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Use -std=gnu99 to avoid traps from C23 made default with GCC 15.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 14:48:17 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package time
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -29,8 +29,10 @@ Source2: https://ftp.gnu.org/gnu/time/%{name}-%{version}.tar.gz.sig
|
||||
Source3: https://savannah.gnu.org/people/viewgpg.php?user_id=94790#/%{name}.keyring
|
||||
# PATCH-FIX-OPENSUSE disable-time-max-rss-test.patch bsc#1211092
|
||||
Patch1: disable-time-max-rss-test.patch
|
||||
# build with gcc15
|
||||
Patch2: time-gcc15.patch
|
||||
Requires(post): %{install_info_prereq}
|
||||
Requires(preun):%{install_info_prereq}
|
||||
Requires(preun): %{install_info_prereq}
|
||||
|
||||
%description
|
||||
The "time" command runs another program, then displays information
|
||||
@@ -42,6 +44,7 @@ while the program was running.
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
%patch -P 1 -p1
|
||||
%endif
|
||||
%patch -P 2 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
Reference in New Issue
Block a user