Hey there,
I've taken over the ruby package, which basically is the first
core-component piece of software on my relatively small list of packages.
Attached is a patch that was in ruby-1.8.6, and that I rebased to
ruby-1.8.7. Since it's a really simple patch, I wonder why it's not
upstream.
I'm not sure what this fixes, in that ruby will build without the patch
as well. I've searched through the logs to see if there's some kind of
warning related to socket.c, but there is none from what I can tell.
I'd love to learn what this patch does and then try and get upstream to
accept it (so that I have less work to do). Can someone on this list
help me with this?
Thanks in advance,
Kind regards,
Jeroen van Meeuwen
-kanarip
diff -ur ruby-1.8.7-p72.orig/ext/socket/socket.c ruby-1.8.7-p72/ext/socket/socket.c
--- ruby-1.8.7-p72.orig/ext/socket/socket.c 2008-04-15 05:35:55.000000000 +0200
+++ ruby-1.8.7-p72/ext/socket/socket.c 2009-02-02 06:48:54.000000000 +0100
@@ -893,10 +893,10 @@
}
#ifndef NI_MAXHOST
-# define 1025
+# define NI_MAXHOST 1025
#endif
#ifndef NI_MAXSERV
-# define 32
+# define NI_MAXSERV 32
#endif
static struct addrinfo*
--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging