rpms/libexif/devel libexif-0.6.12-gcc4.patch, NONE, 1.1 libexif.spec, 1.9, 1.10

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Mar 28 21:42:51 UTC 2005


Update of /cvs/dist/rpms/libexif/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv3163

Modified Files:
	libexif.spec 
Added Files:
	libexif-0.6.12-gcc4.patch 
Log Message:
Fix a gcc4 complaint


libexif-0.6.12-gcc4.patch:
 exif-utils.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE libexif-0.6.12-gcc4.patch ---
--- 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;


Index: libexif.spec
===================================================================
RCS file: /cvs/dist/rpms/libexif/devel/libexif.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- libexif.spec	28 Mar 2005 21:36:16 -0000	1.9
+++ libexif.spec	28 Mar 2005 21:42:49 -0000	1.10
@@ -8,6 +8,8 @@
 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 @@
 
 %prep
 %setup -q
+%patch -p1 -b .gcc4
 
 %build
 %configure




More information about the fedora-cvs-commits mailing list