Fix a gcc4 complaint
This commit is contained in:
parent
5212a6e162
commit
d8fec63469
11
libexif-0.6.12-gcc4.patch
Normal file
11
libexif-0.6.12-gcc4.patch
Normal 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;
|
@ -8,6 +8,8 @@ URL: http://libexif.sourceforge.net/
|
|||||||
Source0: http://umn.dl.sourceforge.net/sourceforge/libexif/%{name}-%{version}.tar.bz2
|
Source0: http://umn.dl.sourceforge.net/sourceforge/libexif/%{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
|
|
||||||
|
Patch0: libexif-0.6.12-gcc4.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Most digital cameras produce EXIF files, which are JPEG files with
|
Most digital cameras produce EXIF files, which are JPEG files with
|
||||||
extra tags that contain information about the image. The EXIF library
|
extra tags that contain information about the image. The EXIF library
|
||||||
@ -24,6 +26,7 @@ for writing programs that use libexif.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p1 -b .gcc4
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
Loading…
Reference in New Issue
Block a user