Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Richard Shaw
dfa382fde8 Add patch from rawhide for hamlib 4.4. 2021-12-23 16:12:54 -06:00
Richard Shaw
1ba1cb4609 Rebuild for hamlib 4.4. 2021-12-23 13:45:19 -06:00
Richard Shaw
a313d33b47 Rebuild for hamlib 4.2. 2021-05-31 11:58:37 -05:00
2 changed files with 32 additions and 1 deletions

24
xlog-hamlib42.patch Normal file
View file

@ -0,0 +1,24 @@
Index: xlog-2.0.22/src/hamlib-utils.c
===================================================================
--- xlog-2.0.22.orig/src/hamlib-utils.c
+++ xlog-2.0.22/src/hamlib-utils.c
@@ -45,6 +45,10 @@
#include "../data/pixmaps/s8.xpm"
#include "../data/pixmaps/s9.xpm"
+#ifndef HAMLIB_FILPATHLEN
+#define HAMLIB_FILPATHLEN FILEPATHLEN
+#endif
+
struct rig_id {
const gint modelnr;
const gchar *modelname;
@@ -168,7 +172,7 @@ start_hamlib (gint rigid, gchar *device,
update_statusbar (temp);
}
}
- strncpy (myrig->state.rigport.pathname, device, FILPATHLEN);
+ strncpy (myrig->state.rigport.pathname, device, HAMLIB_FILPATHLEN);
retcode = rig_open (myrig);
if (retcode != RIG_OK)
{

View file

@ -1,6 +1,6 @@
Name: xlog
Version: 2.0.22
Release: 1%{?dist}
Release: 3%{?dist}
Summary: Logging program for Hamradio Operators
License: GPLv3
@ -8,6 +8,7 @@ URL: http://www.nongnu.org/xlog/
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Patch0: %{name}-2.0.19-no-error.patch
Patch1: xlog-hamlib42.patch
BuildRequires: make
BuildRequires: gcc
@ -63,6 +64,12 @@ desktop-file-install \
%changelog
* Thu Dec 23 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-3
- Rebuild for hamlib 4.4.
* Mon May 31 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-2
- Rebuild for hamlib 4.2.
* Mon May 10 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-1
- Update to 2.0.22.