Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8e15d41be4 | |||
|
|
5134c3fe6a | ||
|
|
4fe5076ecb |
14
wol-gcc15.patch
Normal file
14
wol-gcc15.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- wol-0.7.1/lib/realloc.c 2002-03-20 01:45:12.000000000 +0100
|
||||
+++ wol-0.7.1/lib/realloc.c 2025-02-17 11:35:13.552537462 +0100
|
||||
@@ -23,9 +23,7 @@
|
||||
#undef realloc
|
||||
|
||||
#include <sys/types.h>
|
||||
-
|
||||
-char *malloc ();
|
||||
-char *realloc ();
|
||||
+#include <stdlib.h>
|
||||
|
||||
/* Change the size of an allocated block of memory P to N bytes,
|
||||
with error checking. If N is zero, change it to 1. If P is NULL,
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 17 10:45:53 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- Added wol-gcc15.patch to fix build with gcc15.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 8 07:08:42 UTC 2024 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
|
||||
4
wol.spec
4
wol.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wol
|
||||
#
|
||||
# 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
|
||||
@@ -28,6 +28,8 @@ Source1: %{name}.rules
|
||||
Patch0: wol-0.7.1-Fix-config.h-test-consumption.patch
|
||||
Patch1: wol-0.7.1-Fix-malloc-detection.patch
|
||||
Patch2: wol-0.7.1-linux-headers.patch
|
||||
# fix build with gcc15
|
||||
Patch3: wol-gcc15.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
Requires(post): %{install_info_prereq}
|
||||
|
||||
Reference in New Issue
Block a user