rpms/rawstudio/devel rawstudio-0.7-ppc.patch, NONE, 1.1 rawstudio.spec, 1.8, 1.9

Gianluca Sforna (giallu) fedora-extras-commits at redhat.com
Sun Jan 27 13:24:54 UTC 2008


Author: giallu

Update of /cvs/extras/rpms/rawstudio/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9918

Modified Files:
	rawstudio.spec 
Added Files:
	rawstudio-0.7-ppc.patch 
Log Message:
* Thu Jan 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-1
- New upstream release
- Improved package description
- Add fix for PPC build


rawstudio-0.7-ppc.patch:

--- NEW FILE rawstudio-0.7-ppc.patch ---
Index: src/rs-image.c
===================================================================
--- src/rs-image.c	(revision 1598)
+++ src/rs-image.c	(revision 1599)
@@ -1374,6 +1374,7 @@
 	return out;
 }
 
+#if defined (__i386__) || defined (__x86_64__)
 RS_IMAGE16 *
 rs_image16_copy_double_mmx(RS_IMAGE16 *in, RS_IMAGE16 *out)
 {
@@ -1452,6 +1453,7 @@
 
 	return out;
 }
+#endif /* defined (__i386__) || defined (__x86_64__) */
 
 /*
 The rest of this file is pretty much copied verbatim from dcraw/ufraw
Index: src/rs-image.h
===================================================================
--- src/rs-image.h	(revision 1598)
+++ src/rs-image.h	(revision 1599)
@@ -121,7 +121,9 @@
  */
 extern RS_IMAGE16 *(*rs_image16_copy_double)(RS_IMAGE16 *in, RS_IMAGE16 *out);
 extern RS_IMAGE16 *rs_image16_copy_double_c(RS_IMAGE16 *in, RS_IMAGE16 *out);
+#if defined (__i386__) || defined (__x86_64__)
 extern RS_IMAGE16 *rs_image16_copy_double_mmx(RS_IMAGE16 *in, RS_IMAGE16 *out);
+#endif /* defined (__i386__) || defined (__x86_64__) */
 
 /**
  * Demosaics a RS_IMAGE16


Index: rawstudio.spec
===================================================================
RCS file: /cvs/extras/rpms/rawstudio/devel/rawstudio.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- rawstudio.spec	24 Jan 2008 21:50:59 -0000	1.8
+++ rawstudio.spec	27 Jan 2008 13:24:15 -0000	1.9
@@ -13,6 +13,8 @@
 BuildRequires:  lcms-devel, libjpeg-devel, libtiff-devel
 BuildRequires:  desktop-file-utils
 
+Patch0:         rawstudio-0.7-ppc.patch
+
 
 %description
 Rawstudio is a highly specialized application for processing RAW images
@@ -29,6 +31,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 
 %build
@@ -75,6 +78,7 @@
 * Thu Jan 24 2008 Gianluca Sforna <giallu gmail com> - 0.7-1
 - New upstream release
 - Improved package description
+- Add fix for PPC build
 
 * Sun Aug 19 2007 Gianluca Sforna <giallu gmail com> 0.6-1
 - New upstream release




More information about the fedora-extras-commits mailing list