rpms/ruby/devel ruby-1.8.6.111-gcc43.patch, NONE, 1.1 ruby.spec, 1.112, 1.113

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Tue Feb 19 02:55:31 UTC 2008


Author: tagoh

Update of /cvs/pkgs/rpms/ruby/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1166

Modified Files:
	ruby.spec 
Added Files:
	ruby-1.8.6.111-gcc43.patch 
Log Message:
add a patch to build on gcc-4.3

ruby-1.8.6.111-gcc43.patch:

--- NEW FILE ruby-1.8.6.111-gcc43.patch ---
diff -pruN ruby-1.8.6-p111.orig/ext/socket/socket.c ruby-1.8.6-p111/ext/socket/socket.c
--- ruby-1.8.6-p111.orig/ext/socket/socket.c	2007-05-23 00:08:43.000000000 +0900
+++ ruby-1.8.6-p111/ext/socket/socket.c	2008-02-19 11:24:22.000000000 +0900
@@ -893,10 +893,10 @@ port_str(port, pbuf, len)
 }
 
 #ifndef NI_MAXHOST
-# define 1025
+# define NI_MAXHOST 1025
 #endif
 #ifndef NI_MAXSERV
-# define 32
+# define NI_MAXSERV 32
 #endif
 
 static struct addrinfo*


Index: ruby.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ruby/devel/ruby.spec,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- ruby.spec	12 Feb 2008 10:12:29 -0000	1.112
+++ ruby.spec	19 Feb 2008 02:54:55 -0000	1.113
@@ -36,6 +36,7 @@
 Patch22:	ruby-deprecated-search-path.patch
 Patch23:	ruby-multilib.patch
 Patch24:	ruby-1.8.6.111-CVE-2007-5162.patch
+Patch25:	ruby-1.8.6.111-gcc43.patch
 
 Summary:	An interpreter of object-oriented scripting language
 Group:		Development/Languages
@@ -156,6 +157,7 @@
 %patch23 -p1
 %endif
 %patch24 -p1
+%patch25 -p1
 popd
 
 %build
@@ -509,7 +511,7 @@
 %endif
 
 %changelog
-* Tue Feb 12 2008 Akira TAGOH <tagoh at redhat.com> - 1.8.6.111-8
+* Tue Feb 19 2008 Akira TAGOH <tagoh at redhat.com> - 1.8.6.111-8
 - Rebuild for gcc-4.3.
 
 * Tue Jan 15 2008 Akira TAGOH <tagoh at redhat.com> - 1.8.6.111-7




More information about the fedora-extras-commits mailing list