SHA256
1
0
forked from pool/libmicro

2 Commits

3 changed files with 35 additions and 1 deletions

25
libmicro-gcc15.patch Normal file
View File

@@ -0,0 +1,25 @@
--- libmicro.h 2025-07-01 06:45:32.384120175 +0000
+++ libmicro.h 2025-07-01 06:54:04.256882783 +0000
@@ -138,8 +138,8 @@ int benchmark_init();
int benchmark_fini();
int benchmark_initrun();
int benchmark_finirun();
-int benchmark_initworker();
-int benchmark_finiworker();
+int benchmark_initworker(void *tsd);
+int benchmark_finiworker(void *tsd);
int benchmark_initbatch(void *tsd);
int benchmark_finibatch(void *tsd);
int benchmark_optswitch(int opt, char *optarg);
@@ -188,8 +188,8 @@ void *gettsd(int p, int t);
long long getusecs();
long long getnsecs();
int setfdlimit(int limit);
-long long sizetoll();
-int sizetoint();
+long long sizetoll(const char *arg);
+int sizetoint(const char *arg);
int fit_line(double *, double *, int, double *, double *);
long long get_nsecs_resolution();

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 1 07:06:22 UTC 2025 - pgajdos@suse.com
- added patches
fix build with gcc15
+ libmicro-gcc15.patch
-------------------------------------------------------------------
Thu Aug 1 19:27:50 UTC 2024 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libmicro
#
# Copyright (c) 2024 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,6 +29,8 @@ Patch1: removed_undefined_warning.patch
Patch2: fix-link.diff
Patch3: libmicro-implicit-fortify-decl.patch
Patch4: libmicro-gcc14.patch
# fix build with gcc15
Patch5: libmicro-gcc15.patch
%description
LibMicro is a portable set of microbenchmarks that many Solaris