Fix a gcc4 complaint

This commit is contained in:
Matthias Clasen 2005-03-28 21:42:49 +00:00
parent 5212a6e162
commit d8fec63469
2 changed files with 14 additions and 0 deletions

11
libexif-0.6.12-gcc4.patch Normal file
View File

@ -0,0 +1,11 @@
--- libexif-0.6.12/libexif/exif-utils.c.gcc4 2005-03-28 16:40:50.000000000 -0500
+++ libexif-0.6.12/libexif/exif-utils.c 2005-03-28 16:41:09.000000000 -0500
@@ -83,7 +83,7 @@
}
}
-static ExifSShort
+ExifSShort
exif_get_sshort (const unsigned char *buf, ExifByteOrder order)
{
if (!buf) return 0;

View File

@ -8,6 +8,8 @@ URL: http://libexif.sourceforge.net/
Source0: http://umn.dl.sourceforge.net/sourceforge/libexif/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Patch0: libexif-0.6.12-gcc4.patch
%description
Most digital cameras produce EXIF files, which are JPEG files with
extra tags that contain information about the image. The EXIF library
@ -24,6 +26,7 @@ for writing programs that use libexif.
%prep
%setup -q
%patch -p1 -b .gcc4
%build
%configure