SOURCES: ruby-lib64.patch - fix tk ext build on ac-lib64

glen glen at pld-linux.org
Thu Feb 26 00:38:13 CET 2009


Author: glen                         Date: Wed Feb 25 23:38:13 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix tk ext build on ac-lib64

---- Files affected:
SOURCES:
   ruby-lib64.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/ruby-lib64.patch
diff -u SOURCES/ruby-lib64.patch:1.2 SOURCES/ruby-lib64.patch:1.3
--- SOURCES/ruby-lib64.patch:1.2	Fri Aug 15 23:06:45 2008
+++ SOURCES/ruby-lib64.patch	Thu Feb 26 00:38:06 2009
@@ -1,4 +1,3 @@
-diff -ur ruby-1.8.6-preview1-o/configure.in ruby-1.8.6-preview1-n/configure.in
 --- ruby-1.8.6-preview1-o/configure.in	2007-02-20 01:02:11.000000000 -0700
 +++ ruby-1.8.6-preview1-n/configure.in	2007-02-20 01:20:48.000000000 -0700
 @@ -1241,7 +1241,7 @@
@@ -11,3 +10,14 @@
      XCFLAGS="$XCFLAGS -cc1-stack=262144 -cpp-stack=2694144"
      EXEEXT=.x
 
+--- ruby-1.8.7-p72/ext/tk/extconf.rb~	2009-02-26 01:29:16.000000000 +0200
++++ ruby-1.8.7-p72/ext/tk/extconf.rb	2009-02-26 01:33:54.847015682 +0200
+@@ -182,7 +182,7 @@
+ 
+ def find_X11(*opt_paths)
+   default_paths = 
+-    [ "/usr/X11/lib", "/usr/lib/X11", "/usr/X11R6/lib", "/usr/openwin/lib" ]
++    [ "/usr/X11/lib", "/usr/lib/X11", "/usr/X11R6/lib64", "/usr/X11R6/lib", "/usr/openwin/lib" ]
+   paths = opt_paths.compact.concat(default_paths)
+   st = find_library("X11", "XOpenDisplay", *paths)
+   unless st
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ruby-lib64.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list