[packages/exiftags] Rel 2

arekm arekm at pld-linux.org
Thu May 21 15:33:23 CEST 2026


commit dafaf68361ac9812d1f226b29ba16bc96d55d17b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu May 21 15:33:07 2026 +0200

    Rel 2

 exiftags-fnproto.patch | 25 +++++++++++++++++++++++++
 exiftags.spec          |  6 ++++--
 2 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/exiftags.spec b/exiftags.spec
index 7ce3111..d4a1ace 100644
--- a/exiftags.spec
+++ b/exiftags.spec
@@ -2,12 +2,13 @@ Summary:	A digital camera image meta-data (Exif) parser
 Summary(pl.UTF-8):	Analizator metadanych (Exif) obrazów z aparatów cyfrowych
 Name:		exiftags
 Version:	1.01
-Release:	1
+Release:	2
 License:	BSD
 Group:		Applications/Multimedia
 Source0:	http://johnst.org/sw/exiftags/%{name}-%{version}.tar.gz
 # Source0-md5:	9d5bce968fdde2dc24ba49c0024dc0cc
 Patch0:		%{name}-Makefile.patch
+Patch1:		%{name}-fnproto.patch
 URL:		http://johnst.org/sw/exiftags/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,11 +40,12 @@ o miejscu w samym obrazku.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}" \
+	CFLAGS="%{rpmcflags} %{rpmcppflags}" \
 	LDFLAGS="%{rpmldflags}"
 
 %install
diff --git a/exiftags-fnproto.patch b/exiftags-fnproto.patch
new file mode 100644
index 0000000..651f10a
--- /dev/null
+++ b/exiftags-fnproto.patch
@@ -0,0 +1,25 @@
+--- exiftags-1.01/makers.h.orig	2004-09-15 23:35:55.000000000 +0000
++++ exiftags-1.01/makers.h	2026-05-21 00:00:00.000000000 +0000
+@@ -52,8 +52,8 @@
+ struct makerfun {
+ 	int val;
+ 	const char *name;
+-	void (*propfun)();		/* Function to parse properties. */
+-	struct ifd *(*ifdfun)();	/* Function to read IFD. */
++	void (*propfun)(struct exifprop *prop, struct exiftags *t);
++	struct ifd *(*ifdfun)(u_int32_t offset, struct tiffmeta *md);
+ };
+ extern struct makerfun makers[];
+
+--- exiftags-1.01/canon.c.orig	2005-01-05 00:30:32.000000000 +0000
++++ exiftags-1.01/canon.c	2026-05-21 00:00:00.000000000 +0000
+@@ -1104,7 +1104,8 @@
+  */
+ static int
+ canon_subval(struct exifprop *prop, struct exiftags *t,
+-    struct exiftag *subtags, int (*valfun)())
++    struct exiftag *subtags,
++    int (*valfun)(struct exifprop *aprop, struct exifprop *prop, unsigned char *off, struct exiftags *t))
+ {
+ 	int i, j;
+ 	u_int16_t v;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/exiftags.git/commitdiff/dafaf68361ac9812d1f226b29ba16bc96d55d17b



More information about the pld-cvs-commit mailing list