[packages/gthumb] - use proper type for time representation, rel 3
baggins
baggins at pld-linux.org
Thu Jan 30 23:24:27 CET 2025
commit 8be05ac49cc7471d599cbdfa20c78ada5a544b6d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Jan 31 00:23:46 2025 +0100
- use proper type for time representation, rel 3
gthumb.spec | 4 +++-
time-type.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gthumb.spec b/gthumb.spec
index 0744563..dc06a8a 100644
--- a/gthumb.spec
+++ b/gthumb.spec
@@ -2,11 +2,12 @@ Summary: An image viewer and browser for GNOME
Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME
Name: gthumb
Version: 3.12.6
-Release: 2
+Release: 3
License: GPL v2+
Group: X11/Applications/Graphics
Source0: https://download.gnome.org/sources/gthumb/3.12/%{name}-%{version}.tar.xz
# Source0-md5: 8543b0e1179e5aeae1689d83ba25655b
+Patch0: time-type.patch
URL: https://wiki.gnome.org/Apps/Gthumb
BuildRequires: AppStream-devel >= 0.14.6
BuildRequires: automake
@@ -100,6 +101,7 @@ rozszerzeń gThumb.
%prep
%setup -q
+%patch -P 0 -p1
%build
%meson build \
diff --git a/time-type.patch b/time-type.patch
new file mode 100644
index 0000000..cfcc04d
--- /dev/null
+++ b/time-type.patch
@@ -0,0 +1,11 @@
+--- gthumb-3.12.6/gthumb/main-migrate-catalogs.c~ 2024-03-10 18:14:47.000000000 +0100
++++ gthumb-3.12.6/gthumb/main-migrate-catalogs.c 2025-01-31 00:21:15.426665006 +0100
+@@ -171,7 +171,7 @@
+ gboolean b;
+ int line_ofs;
+ /*gboolean all_keywords;*/
+- long date;
++ time_t date;
+ int date_scope;
+
+ extension = ".search";
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gthumb.git/commitdiff/8be05ac49cc7471d599cbdfa20c78ada5a544b6d
More information about the pld-cvs-commit
mailing list