From 8535d9f20a98f27ae5d2d58377d5248db9b27401 Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 9 May 2005 13:21:16 +0000 Subject: Declare a static function in .c, not in .h. --- graphics/libexif/distinfo | 4 +++- graphics/libexif/patches/patch-aa | 12 ++++++++++++ graphics/libexif/patches/patch-ab | 14 ++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 graphics/libexif/patches/patch-aa create mode 100644 graphics/libexif/patches/patch-ab (limited to 'graphics/libexif') diff --git a/graphics/libexif/distinfo b/graphics/libexif/distinfo index 88c732927cf..b66ba9c41e1 100644 --- a/graphics/libexif/distinfo +++ b/graphics/libexif/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.13 2005/04/20 12:40:40 adam Exp $ +$NetBSD: distinfo,v 1.14 2005/05/09 13:21:16 minskim Exp $ SHA1 (libexif-0.6.12.tar.bz2) = 5d2c5976521e179d41ff8908b678b14f2e8e690b RMD160 (libexif-0.6.12.tar.bz2) = 24cfdb7663f0566f2907987e5dbc472c21b583d9 Size (libexif-0.6.12.tar.bz2) = 378650 bytes +SHA1 (patch-aa) = e32ab9cad1720f0b4d6178240e78193a97c4c876 +SHA1 (patch-ab) = 973ca09fc059d74e3221bba12e6e8f4630db20bb diff --git a/graphics/libexif/patches/patch-aa b/graphics/libexif/patches/patch-aa new file mode 100644 index 00000000000..58bfa75dec6 --- /dev/null +++ b/graphics/libexif/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.3 2005/05/09 13:21:16 minskim Exp $ + +--- libexif/exif-utils.h.orig 2005-03-12 20:27:13.000000000 -0600 ++++ libexif/exif-utils.h +@@ -45,7 +45,6 @@ typedef struct {ExifSLong numerator; Exi + + + ExifShort exif_get_short (const unsigned char *b, ExifByteOrder order); +-ExifSShort exif_get_sshort (const unsigned char *b, ExifByteOrder order); + ExifLong exif_get_long (const unsigned char *b, ExifByteOrder order); + ExifSLong exif_get_slong (const unsigned char *b, ExifByteOrder order); + ExifRational exif_get_rational (const unsigned char *b, ExifByteOrder order); diff --git a/graphics/libexif/patches/patch-ab b/graphics/libexif/patches/patch-ab new file mode 100644 index 00000000000..1744cc9b194 --- /dev/null +++ b/graphics/libexif/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.3 2005/05/09 13:21:16 minskim Exp $ + +--- libexif/exif-utils.c.orig 2005-03-12 20:27:13.000000000 -0600 ++++ libexif/exif-utils.c +@@ -22,6 +22,9 @@ + + #include + ++static ExifSShort ++exif_get_sshort (const unsigned char *buf, ExifByteOrder order); ++ + void + exif_array_set_byte_order (ExifFormat f, unsigned char *b, unsigned int n, + ExifByteOrder o_orig, ExifByteOrder o_new) -- cgit v1.2.3