Patch for libexif 0.6.9
Hugo Haas <[email protected]> Sun, 31 Oct 2004 22:10:37 +0100
| Newsgroups | gmane.comp.web.picfolio.user |
|---|---|
| Message-ID | <[email protected]> |
--===============28420543136276155==
Content-Type: multipart/signed; micalg=pgp-md5;
protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi"
Content-Disposition: inline
--DIOMP1UsTsWJauNi
Content-Type: multipart/mixed; boundary="LpQ9ahxlCli8rRTG"
Content-Disposition: inline
--LpQ9ahxlCli8rRTG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi.
The API for libexif changed with the latest version.
Attached is a patch for picfolio to compile with libexif 0.6.9.
Regards,
Hugo
--=20
Hugo Haas - http://larve.net/people/hugo/
--LpQ9ahxlCli8rRTG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="picfolio-libexif.diff"
--- /usr/local/src/picfolio-0.3.1/src/library/load_exif_libexif.cxx 2003-10-04 02:53:19.000000000 +0200
+++ picfolio-0.3.1/src/library/load_exif_libexif.cxx 2004-10-31 22:03:11.000000000 +0100
@@ -83,9 +83,10 @@
//####################################################################
extern "C" void callback_exif_entry (ExifEntry *ee, void *user_data)
{
+ char val[255];
xml::node::iterator tag(static_cast<xml::node*>(user_data)->insert(xml::node("tag")));
tag->get_attributes().insert("name", exif_tag_get_name(ee->tag));
- tag->get_attributes().insert("value", exif_entry_get_value(ee));
+ tag->get_attributes().insert("value", exif_entry_get_value(ee, val, 254));
}
//####################################################################
}
--LpQ9ahxlCli8rRTG--
--DIOMP1UsTsWJauNi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQCVAwUBQYVUzaN/9WeKWvkNAQFNvAQArpOaqZ1We9reOl/yx98Cby+yTB8gcIpW
jUDPz4Ao3gxGWgFKVsxPFTPwkdswTH/yCsPTyOUADgTteqokYd+nIql87GGlZfP0
jD6IXxxNroDznC+iidLlWEASmsouhkC9SJcsMZJv4rU6EjKGb+yIom6pMd1Kc/sV
yLA02mvx3hQ=
=hJ8t
-----END PGP SIGNATURE-----
--DIOMP1UsTsWJauNi--
--===============28420543136276155==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
picfolio-users mailing list
[email protected]
http://pmade.org/mailman/listinfo/picfolio-users
--===============28420543136276155==--