[packages/crossvc] Rel 5
arekm
arekm at pld-linux.org
Fri Apr 10 10:12:32 CEST 2026
commit 6a76bdeaa034c520f8594ba8809750238828b1f8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Apr 10 10:12:22 2026 +0200
Rel 5
crossvc-rvalue.patch | 12 ++++++++++++
crossvc.spec | 6 ++++--
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/crossvc.spec b/crossvc.spec
index e29d070..a812ddb 100644
--- a/crossvc.spec
+++ b/crossvc.spec
@@ -5,20 +5,21 @@ Summary: A Qt-based tool for managing CVS
Summary(pl.UTF-8): Narzędzie do zarządzania CVS-em oparte na Qt
Name: crossvc
Version: 1.5.2
-Release: 4
+Release: 5
# GPL v2 if linked with GPLed qt (as in PLD), custom otherwise (see LICENSE)
License: GPL v2
Group: Development/Version Control
Source0: http://crossvc.com/download/%{name}-%{version}-%{srcrel}-generic-src.tgz
# Source0-md5: 4fb196e4e5fb5b6c5d901601869308b2
Source1: LinCVS.desktop
+Patch0: crossvc-rvalue.patch
URL: http://www.crossvc.org/
BuildRequires: libtool
BuildRequires: qmake
BuildRequires: qt-devel >= 6:3.3
BuildRequires: sed >= 4.0
Requires: cvs-client >= 1.9
-Obsoletes: lincvs
+Obsoletes: lincvs < 1.5
Conflicts: lincvs
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,6 +41,7 @@ wielu innych programów jest NAPRAWDĘ prosty w użyciu ;-)
%prep
%setup -q -n CrossVC
+%patch -P0 -p1
%{__sed} -i 's,`dirname.*,%{_datadir}/%{name},' CrossVC/AppRun
%build
diff --git a/crossvc-rvalue.patch b/crossvc-rvalue.patch
new file mode 100644
index 0000000..750a4f9
--- /dev/null
+++ b/crossvc-rvalue.patch
@@ -0,0 +1,12 @@
+--- CrossVC/src/CvsDirectory.cpp.orig 2005-07-14 12:00:00.000000000 +0200
++++ CrossVC/src/CvsDirectory.cpp 2026-04-10 09:52:39.000000000 +0200
+@@ -2184,7 +2184,8 @@
+ cvsEntry->date.dummy = false;
+ cvsEntry->date.newDummy = false;
+ }
+- QDateTime tmpTime = *((QDateTime *) &QtDateTime::fromString(cvsEntry->date.string)); // bugfix for qt3.3.8 datetime parsing bug
++ QtDateTime qtDt = QtDateTime::fromString(cvsEntry->date.string);
++ QDateTime tmpTime = *((QDateTime *) &qtDt);
+ cvsEntry->date.datetime = tmpTime;
+ bool invalid = false;
+ if (!tmpTime.isValid()) {//no date in entries but "Result of merge" or alike
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossvc.git/commitdiff/6a76bdeaa034c520f8594ba8809750238828b1f8
More information about the pld-cvs-commit
mailing list