public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/coolio/files: coolio-1.1.0-libev.patch
@ 2012-03-14 18:40 Matsuu Takuto (matsuu)
  0 siblings, 0 replies; only message in thread
From: Matsuu Takuto (matsuu) @ 2012-03-14 18:40 UTC (permalink / raw
  To: gentoo-commits

matsuu      12/03/14 18:40:06

  Added:                coolio-1.1.0-libev.patch
  Log:
  Added dev-libs/libev to DEPEND and removed bundled libev. Added test.
  
  (Portage version: 2.1.10.44/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/coolio/files/coolio-1.1.0-libev.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/coolio/files/coolio-1.1.0-libev.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/coolio/files/coolio-1.1.0-libev.patch?rev=1.1&content-type=text/plain

Index: coolio-1.1.0-libev.patch
===================================================================
diff -Naur coolio-1.1.0.orig/ext/cool.io/ev_wrap.h coolio-1.1.0/ext/cool.io/ev_wrap.h
--- coolio-1.1.0.orig/ext/cool.io/ev_wrap.h	2012-03-15 03:30:08.755266522 +0900
+++ coolio-1.1.0/ext/cool.io/ev_wrap.h	2012-03-15 03:31:50.839378421 +0900
@@ -4,5 +4,5 @@
 # define FD_SETSIZE 2048 /* wishful thinking, as msvcrt6 [?] seems to only allow 512 fd's and 256 sockets max */
 #endif
 
-#include "../libev/ev.h"
+#include "ev.h"
 
diff -Naur coolio-1.1.0.orig/ext/cool.io/extconf.rb coolio-1.1.0/ext/cool.io/extconf.rb
--- coolio-1.1.0.orig/ext/cool.io/extconf.rb	2012-03-15 03:30:08.755266522 +0900
+++ coolio-1.1.0/ext/cool.io/extconf.rb	2012-03-15 03:31:04.114327009 +0900
@@ -20,6 +20,10 @@
   libs << "-lrt"
 end
 
+if have_library('ev', 'ev_loop_new')
+  libs << "-lev"
+end
+
 if have_header('sys/select.h')
   $defs << '-DEV_USE_SELECT'
 end






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-14 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14 18:40 [gentoo-commits] gentoo-x86 commit in dev-ruby/coolio/files: coolio-1.1.0-libev.patch Matsuu Takuto (matsuu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox