2 Commits

4 changed files with 27 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b01a99d82c90db578302f64c336d0df0467089850ddf135aa271f4b3e38031b9
size 110362

13
httperf-gcc15.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: httperf-0.9.0+git.20201206/src/httperf.c
===================================================================
--- httperf-0.9.0+git.20201206.orig/src/httperf.c
+++ httperf-0.9.0+git.20201206/src/httperf.c
@@ -1381,7 +1381,7 @@ main(int argc, char **argv)
}
core_init();
- signal(SIGINT, (void (*)()) core_exit);
+ signal(SIGINT, (void (*)(int)) core_exit);
for (i = 0; i < num_stats; ++i)
(*stat[i]->init) ();

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 5 11:47:53 UTC 2025 - pgajdos@suse.com
- added patches
fix build with gcc15
+ httperf-gcc15.patch
-------------------------------------------------------------------
Wed Dec 11 13:45:33 UTC 2024 - Martin Pluskal <mpluskal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package httperf
#
# 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
@@ -23,6 +23,8 @@ Summary: A tool for measuring web server performance
License: SUSE-GPL-2.0+-with-openssl-exception
URL: https://github.com/httperf/httperf
Source0: %{name}-%{version}.tar.gz
# build with gcc15
Patch0: httperf-gcc15.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -35,7 +37,7 @@ flexible facility for generating various HTTP workloads and for measuring
server performance.
%prep
%autosetup
%autosetup -p1
chmod -x AUTHORS ChangeLog NEWS README.md TODO
%build