[packages/exifprobe] - rel 4, build fixes
baggins
baggins at pld-linux.org
Sat Jun 6 15:17:58 CEST 2026
commit 01c30c5f2331eb773a9c29461a4278d7edc9f744
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Jun 6 15:17:49 2026 +0200
- rel 4, build fixes
c99.patch | 15 +++++++++++++++
exifprobe.spec | 6 +++++-
time_t.patch | 11 +++++++++++
3 files changed, 31 insertions(+), 1 deletion(-)
---
diff --git a/exifprobe.spec b/exifprobe.spec
index 848ae8c..3d236de 100644
--- a/exifprobe.spec
+++ b/exifprobe.spec
@@ -2,11 +2,13 @@ Summary: JPEG/TIFF image probe
Summary(pl.UTF-8): Sprawdzanie informacji o obrazach JPEG/TIFF
Name: exifprobe
Version: 2.0.1
-Release: 3
+Release: 4
License: BSD
Group: Applications/Multimedia
Source0: http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/%{name}-%{version}.tar.gz
# Source0-md5: 3aa2ba4baa6d60c72fb8a4b9b6341c4c
+Patch0: c99.patch
+Patch1: time_t.patch
URL: http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,6 +35,8 @@ rozwijane. Podawane jest położenie, rozmiar i format danych obrazu.
%prep
%setup -q
+%patch -P0 -p1
+%patch -P1 -p1
%build
%{__make} \
diff --git a/c99.patch b/c99.patch
new file mode 100644
index 0000000..658b2ad
--- /dev/null
+++ b/c99.patch
@@ -0,0 +1,15 @@
+--- exifprobe-2.0.1/lib/veclib.c.orig 2003-02-20 01:56:58.000000000 +0100
++++ exifprobe-2.0.1/lib/veclib.c 2026-06-06 15:15:53.832562864 +0200
+@@ -4,8 +4,10 @@
+
+ #define CNULL (char *)0
+
+-static char *next_word();
+-static int is_sep();
++static char *next_word(char* string, char* sepchars, int singlesep);
++#ifndef is_sep
++static int is_sep(char c, char* sepchars);
++#endif
+
+ /* FUNCTION vector() */
+ /* Convert a null-terminated string into a vector of words. Words */
diff --git a/time_t.patch b/time_t.patch
new file mode 100644
index 0000000..679b5cd
--- /dev/null
+++ b/time_t.patch
@@ -0,0 +1,11 @@
+--- exifprobe-2.0.1/ciff.c~ 2005-07-24 19:03:18.000000000 +0200
++++ exifprobe-2.0.1/ciff.c 2026-06-06 15:12:25.001618703 +0200
+@@ -419,7 +419,7 @@
+ unsigned long timezone;
+ unsigned long zoneinfo;
+ struct tm *ts_time;
+- long timestamp;
++ time_t timestamp;
+ int chpr = 0;
+
+ if(PRINT_SECTION)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/exifprobe.git/commitdiff/01c30c5f2331eb773a9c29461a4278d7edc9f744
More information about the pld-cvs-commit
mailing list