Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfa382fde8 | ||
|
|
1ba1cb4609 | ||
|
|
a313d33b47 |
2 changed files with 32 additions and 1 deletions
24
xlog-hamlib42.patch
Normal file
24
xlog-hamlib42.patch
Normal 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)
|
||||
{
|
||||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue