public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/cqrlog] f43: Fix build with FPC 3.2.4
Date: Tue, 30 Jun 2026 02:02:01 GMT	[thread overview]
Message-ID: <178278492184.1.15503501994686929339.rpms-cqrlog-21556795da94@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-06-30  2:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178278492184.1.15503501994686929339.rpms-cqrlog-21556795da94@fedoraproject.org \
    --to=fedora@svgames.pl \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox