rpms/dietlibc/devel dietlibc-0.30-longdouble.patch, NONE, 1.1 dietlibc.spec, 1.24, 1.25

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Wed Jan 17 00:45:42 UTC 2007


Author: dwmw2

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

Modified Files:
	dietlibc.spec 
Added Files:
	dietlibc-0.30-longdouble.patch 
Log Message:
Apply GCC PR26374 workaround; enable build on PPC

dietlibc-0.30-longdouble.patch:

--- NEW FILE dietlibc-0.30-longdouble.patch ---
--- dietlibc-0.30/libm/gamma.c~	2005-03-15 08:51:23.000000000 +0000
+++ dietlibc-0.30/libm/gamma.c	2006-12-28 14:36:58.000000000 +0000
@@ -33,19 +33,19 @@ Return value    gamma returns a value in
 #include <stdlib.h>
 #include <math.h>
 
-#define B0      +            1.0l/   6/ 1/ 2
-#define B1      -            1.0l/  30/ 3/ 4
-#define B2      +            1.0l/  42/ 5/ 6
-#define B3      -            1.0l/  30/ 7/ 8
-#define B4      +            5.0l/  66/ 9/10
-#define B5      -          691.0l/2730/11/12
-#define B6      +            7.0l/   6/13/14
-#define B7      -         3617.0l/ 510/15/16
-#define B8      +        43867.0l/ 798/17/18
-#define B9      -       174611.0l/ 330/19/20
-#define B10     +       854513.0l/ 138/21/22
-#define B11     -    236364091.0l/2730/23/24
-#define B12     +      8553103.0l/   6/25/26
+#define B0      +            1.0/   6/ 1/ 2
+#define B1      -            1.0/  30/ 3/ 4
+#define B2      +            1.0/  42/ 5/ 6
+#define B3      -            1.0/  30/ 7/ 8
+#define B4      +            5.0/  66/ 9/10
+#define B5      -          691.0/2730/11/12
+#define B6      +            7.0/   6/13/14
+#define B7      -         3617.0/ 510/15/16
+#define B8      +        43867.0/ 798/17/18
+#define B9      -       174611.0/ 330/19/20
+#define B10     +       854513.0/ 138/21/22
+#define B11     -    236364091.0/2730/23/24
+#define B12     +      8553103.0/   6/25/26
 
 static const double  coeff[] = { B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10 };
 int                  signgam;


Index: dietlibc.spec
===================================================================
RCS file: /cvs/extras/rpms/dietlibc/devel/dietlibc.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- dietlibc.spec	8 Oct 2006 15:35:58 -0000	1.24
+++ dietlibc.spec	17 Jan 2007 00:45:12 -0000	1.25
@@ -27,7 +27,7 @@
 Summary:	Small libc implementation
 Name:		dietlibc
 Version:	0.30
-Release:	%release_func 2
+Release:	%release_func 3
 License:	GPL
 Group:		Development/Libraries
 URL:		http://www.fefe.de/dietlibc/
@@ -36,11 +36,10 @@
 Patch1:		dietlibc-0.28-setpriority.patch
 Patch10:	dietlibc-0.29-scall.patch
 Patch20:	dietlibc-0.29-nostackprotector.patch
+Patch30:	dietlibc-0.30-longdouble.patch
 BuildRoot:	%_tmppath/%name-%version-%release-buildroot
 %{?with_dyn:Requires:	dietlibc-lib = %version-%release}
 
-# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182118
-ExcludeArch:	ppc
 
 
 %package lib
@@ -66,6 +65,7 @@
 %patch1  -p1 -b .nice
 %patch10 -p1 -b .scall
 %patch20 -p1 -b .nostackprotector
+%patch30 -p1 -b .longdouble
 
 sed -i -e 's!strip !: !g' Makefile
 sed -i -e 's!^#define WANT_SSP$!// \0!g;
@@ -116,6 +116,9 @@
 
 
 %changelog
+* Wed Jan 17 2006 David Woodhouse <dwmw2 at infradead.org> 0.30-3
+- Apply workaround for GCC PR26374 to build on PPC again (#182118)
+
 * Fri Sep 15 2006 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.30-2
 - rebuilt
 




More information about the scm-commits mailing list