public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cqrlog] f43: Fix build with FPC 3.2.4
@ 2026-06-30  2:02 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-06-30  2:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/cqrlog
Branch : f43
Commit : 21556795da945787837bc298603dd1f1d0d7d2a7
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2025-08-15T11:00:45+02:00
Stats  : +39/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/cqrlog/c/21556795da945787837bc298603dd1f1d0d7d2a7?branch=f43

Log:
Fix build with FPC 3.2.4

---
diff --git a/cqrlog-fpc-3.2.4.patch b/cqrlog-fpc-3.2.4.patch
new file mode 100644
index 0000000..dc46ced
--- /dev/null
+++ b/cqrlog-fpc-3.2.4.patch
@@ -0,0 +1,32 @@
+diff -rU4 cqrlog-2.5.2--orig/src/lnet/lib/lcommon.pp cqrlog-2.5.2--patched/src/lnet/lib/lcommon.pp
+--- cqrlog-2.5.2--orig/src/lnet/lib/lcommon.pp	2021-02-12 17:24:42.000000000 +0100
++++ cqrlog-2.5.2--patched/src/lnet/lib/lcommon.pp	2025-08-15 10:51:59.313858609 +0200
+@@ -460,9 +460,13 @@
+ end;
+ 
+ function TZSeconds: Integer; inline;
+ begin
++{$IF FPC_FULLVERSION > 30202}
++  Result := unix.TZSeconds;
++{$ELSE}
+   Result := unixutil.TZSeconds;
++{$ENDIF}
+ end;
+ 
+ {$ENDIF}
+ 
+diff -rU4 cqrlog-2.5.2--orig/src/lnet/lib/sys/osunits.inc cqrlog-2.5.2--patched/src/lnet/lib/sys/osunits.inc
+--- cqrlog-2.5.2--orig/src/lnet/lib/sys/osunits.inc	2021-02-12 17:24:42.000000000 +0100
++++ cqrlog-2.5.2--patched/src/lnet/lib/sys/osunits.inc	2025-08-15 11:00:17.226112454 +0200
+@@ -3,8 +3,11 @@
+ {$endif}
+ 
+ {$ifdef UNIX}
+   BaseUnix, NetDB,
++  {$IF FPC_FULLVERSION > 30202}
++    Unix,
++  {$ENDIF}
+ {$endif}
+ 
+ {$ifdef NETWARE}
+   WinSock,

diff --git a/cqrlog.spec b/cqrlog.spec
index 3d14ccb..92a31dc 100644
--- a/cqrlog.spec
+++ b/cqrlog.spec
@@ -1,6 +1,6 @@
 Name:		cqrlog
 Version:	2.5.2
-Release:	19%{?dist}
+Release:	20%{?dist}
 Summary:	An amateur radio contact logging program
 
 # Automatically converted from old format: GPLv2 - review is highly recommended.
@@ -12,6 +12,9 @@ Source0:	https://github.com/ok2cqr/cqrlog/archive/v%{version}/%{name}-%{version}
 Patch0:         cqrlog-install.patch
 Patch1:         cqrlog-desktop.patch
 
+# Fix build failure with FPC 3.2.4 (some symbols were moved around in RTL)
+Patch2:         cqrlog-fpc-3.2.4.patch
+
 ExclusiveArch:  %{fpc_arches}
 
 BuildRequires:	desktop-file-utils
@@ -100,6 +103,9 @@ appstream-util validate-relax --nonet \
 
 
 %changelog
+* Fri Aug 15 2025 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.5.2-20
+- Fix build with FPC 3.2.4
+
 * Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-30  2:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30  2:02 [rpms/cqrlog] f43: Fix build with FPC 3.2.4 Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox