rpms/rawstudio/devel rawstudio-1.1.1-stricter-str-functions.patch, NONE, 1.1 rawstudio.spec, 1.16, 1.17

Gianluca Sforna giallu at fedoraproject.org
Wed Feb 25 23:08:17 UTC 2009


Author: giallu

Update of /cvs/extras/rpms/rawstudio/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12827

Modified Files:
	rawstudio.spec 
Added Files:
	rawstudio-1.1.1-stricter-str-functions.patch 
Log Message:
* Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 1.1.1-4
- Fix build with newer glibc


rawstudio-1.1.1-stricter-str-functions.patch:

--- NEW FILE rawstudio-1.1.1-stricter-str-functions.patch ---
diff --git a/src/dcraw.cc b/src/dcraw.cc
index a4facf6..63d8be4 100644
--- a/src/dcraw.cc
+++ b/src/dcraw.cc
@@ -8253,8 +8253,8 @@ int CLASS main (int argc, const char **argv)
   static int timestamp_only=0, thumbnail_only=0, identify_only=0;
   static int user_qual=-1, user_black=-1, user_sat=-1, user_flip=-1;
   static int use_fuji_rotate=1, write_to_stdout=0, quality, i, c;
-  static char opm, opt, *ofname, *cp, *bpfile=0;
-  static const char *sp, *dark_frame=0, *write_ext;
+  static char opm, opt, *ofname, *sp, *cp, *bpfile=0;
+  static const char *dark_frame=0, *write_ext;
   static struct utimbuf ut;
   static FILE *ofp;
 #ifndef NO_LCMS


Index: rawstudio.spec
===================================================================
RCS file: /cvs/extras/rpms/rawstudio/devel/rawstudio.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- rawstudio.spec	25 Feb 2009 18:55:14 -0000	1.16
+++ rawstudio.spec	25 Feb 2009 23:07:47 -0000	1.17
@@ -1,6 +1,6 @@
 Name:           rawstudio 
 Version:        1.1.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Read, manipulate and convert digital camera raw images
 
 Group:          Applications/Multimedia 
@@ -13,6 +13,7 @@
 BuildRequires:  lcms-devel, libjpeg-devel, libtiff-devel, exiv2-devel
 BuildRequires:  desktop-file-utils
 
+Patch0:         rawstudio-1.1.1-stricter-str-functions.patch
 
 
 %description
@@ -30,7 +31,7 @@
 
 %prep
 %setup -q
-
+%patch0 -p1
 
 %build
 %configure
@@ -74,6 +75,9 @@
 
 
 %changelog
+* Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 1.1.1-4
+- Fix build with newer glibc
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list