diff --git a/hamlib-add-stdlib-header.patch b/hamlib-add-stdlib-header.patch new file mode 100644 index 0000000..eacedcd --- /dev/null +++ b/hamlib-add-stdlib-header.patch @@ -0,0 +1,11 @@ +diff -up Hamlib-4.5.5/tests/memload.c.aaaa Hamlib-4.5.5/tests/memload.c +--- Hamlib-4.5.5/tests/memload.c.aaaa 2024-09-27 00:26:05.524462705 +0200 ++++ Hamlib-4.5.5/tests/memload.c 2024-09-27 00:28:25.596543302 +0200 +@@ -23,6 +23,7 @@ + + #include + #include "misc.h" ++#include + + #ifdef HAVE_XML2 + # include diff --git a/hamlib.changes b/hamlib.changes index 2a28f99..6eb7388 100644 --- a/hamlib.changes +++ b/hamlib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 26 22:51:51 UTC 2024 - Wojciech Kazubski + +- add patch hamlib-add-stdlib-header.patch to fix the build for + Tumbleweed + ------------------------------------------------------------------- Mon May 22 18:36:53 UTC 2023 - Andreas Stieger diff --git a/hamlib.spec b/hamlib.spec index 7eec7b7..4c1b8bf 100644 --- a/hamlib.spec +++ b/hamlib.spec @@ -29,6 +29,7 @@ Source2: https://github.com/Hamlib/Hamlib/releases/download/%{version}/%{ # taken from debian Source3: %{name}.keyring Patch0: hamlib-3.0-perl_install.patch +Patch1: hamlib-add-stdlib-header.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool