Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| bc0520570b | |||
| 1f9f447b82 |
15
powerd-2.0.2-gcc14.patch
Normal file
15
powerd-2.0.2-gcc14.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
configure | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- configure
|
||||
+++ configure 2024-11-07 11:59:11.130929932 +0000
|
||||
@@ -659,7 +659,7 @@ cat > conftest.$ac_ext << EOF
|
||||
|
||||
#line 661 "configure"
|
||||
#include "confdefs.h"
|
||||
-
|
||||
+int
|
||||
main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
@@ -160,7 +160,7 @@
|
||||
+#ifdef NEWINIT
|
||||
+ struct init_request req;
|
||||
+ int success = 0;
|
||||
+ void (*save_sigalrm)();
|
||||
+ void (*save_sigalrm)(int);
|
||||
+#endif
|
||||
|
||||
errno = 0;
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 24 09:01:46 UTC 2025 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Fix patch powerd-2.0.2.dif
|
||||
* saved signal function has int aka the signal as argument
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 12:00:59 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add patch powerd-2.0.2-gcc14.patch
|
||||
* Make it build even with gcc14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 29 14:47:49 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package powerd
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -35,6 +35,7 @@ Source0: powerd-%{version}.tar.bz2
|
||||
Source2: powerd.service
|
||||
Patch0: powerd-%{version}.dif
|
||||
Patch1: powerd-%{version}-getaddrinfo.patch
|
||||
Patch2: powerd-%{version}-gcc14.patch
|
||||
%if %{undefined _unitdir}
|
||||
%{expand: %%global %_unitdir %(pkg-config systemd --variable=systemdsystemunitdir)}
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user