Control: tags -1 confirmed patch

The issue is that the tzdata-legacy package defining the 3/4-letter
timezone abbreviations was split off from tzdata. The attached patch
mitigates this and fixes FTBFS by build-depending on tzdata-legacy and
recommending that package at runtime.
From 014457449d1b6f037f9012d8ea6f37b1b3087174 Mon Sep 17 00:00:00 2001
From: Andrew Bower <and...@bower.uk>
Date: Tue, 4 Mar 2025 21:18:35 +0000
Subject: Install tzdata-legacy to fix ftbfs (Closes: #1086259)

---
 debian/control | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 922ae1a..420ad86 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,14 @@ Source: calcurse
 Section: utils
 Priority: optional
 Maintainer: Bartosz Fenski <fe...@debian.org>
-Build-Depends: debhelper (>= 10.0.0), libncurses-dev, tzdata
+Build-Depends: debhelper (>= 10.0.0), libncurses-dev, tzdata, tzdata-legacy
 Standards-Version: 4.5.0
 Homepage: https://calcurse.org
 
 Package: calcurse
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, python3
+Recommends: tzdata-legacy
 Description: text-based calendar and todo manager
  CalCurse is a calendar and todo list for the console which allows
  you to keep track of your appointments and everyday tasks. CalCurse
-- 
2.47.2

Attachment: signature.asc
Description: PGP signature

Reply via email to