|
Karsten Hopp |
81c285 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
81c285 |
Subject: Patch 7.2.236
|
|
Karsten Hopp |
81c285 |
Fcc: outbox
|
|
Karsten Hopp |
81c285 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
81c285 |
Mime-Version: 1.0
|
|
Karsten Hopp |
81c285 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
81c285 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
81c285 |
------------
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
Patch 7.2.236
|
|
Karsten Hopp |
81c285 |
Problem: Mac: Compiling with Ruby doesn't always work.
|
|
Karsten Hopp |
81c285 |
Solution: In configure filter out the --arch argument (Bjorn Winckler)
|
|
Karsten Hopp |
81c285 |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.235/src/configure.in 2009-05-26 22:58:43.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/configure.in 2009-07-14 16:09:34.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 984,990 ****
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG[["LDFLAGS"]]'`
|
|
Karsten Hopp |
81c285 |
if test "X$rubyldflags" != "X"; then
|
|
Karsten Hopp |
81c285 |
! LDFLAGS="$rubyldflags $LDFLAGS"
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
RUBY_SRC="if_ruby.c"
|
|
Karsten Hopp |
81c285 |
RUBY_OBJ="objects/if_ruby.o"
|
|
Karsten Hopp |
81c285 |
--- 984,996 ----
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG[["LDFLAGS"]]'`
|
|
Karsten Hopp |
81c285 |
if test "X$rubyldflags" != "X"; then
|
|
Karsten Hopp |
81c285 |
! dnl Ruby on Mac OS X 10.5 adds "-arch" flags but these should only
|
|
Karsten Hopp |
81c285 |
! dnl be included if requested by passing --with-mac-arch to
|
|
Karsten Hopp |
81c285 |
! dnl configure, so strip these flags first (if present)
|
|
Karsten Hopp |
81c285 |
! rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//'`
|
|
Karsten Hopp |
81c285 |
! if test "X$rubyldflags" != "X"; then
|
|
Karsten Hopp |
81c285 |
! LDFLAGS="$rubyldflags $LDFLAGS"
|
|
Karsten Hopp |
81c285 |
! fi
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
RUBY_SRC="if_ruby.c"
|
|
Karsten Hopp |
81c285 |
RUBY_OBJ="objects/if_ruby.o"
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.235/src/auto/configure 2009-05-26 22:58:43.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/auto/configure 2009-07-14 16:11:58.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 5780,5786 ****
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'`
|
|
Karsten Hopp |
81c285 |
if test "X$rubyldflags" != "X"; then
|
|
Karsten Hopp |
81c285 |
! LDFLAGS="$rubyldflags $LDFLAGS"
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
RUBY_SRC="if_ruby.c"
|
|
Karsten Hopp |
81c285 |
RUBY_OBJ="objects/if_ruby.o"
|
|
Karsten Hopp |
81c285 |
--- 5780,5789 ----
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'`
|
|
Karsten Hopp |
81c285 |
if test "X$rubyldflags" != "X"; then
|
|
Karsten Hopp |
81c285 |
! rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//'`
|
|
Karsten Hopp |
81c285 |
! if test "X$rubyldflags" != "X"; then
|
|
Karsten Hopp |
81c285 |
! LDFLAGS="$rubyldflags $LDFLAGS"
|
|
Karsten Hopp |
81c285 |
! fi
|
|
Karsten Hopp |
81c285 |
fi
|
|
Karsten Hopp |
81c285 |
RUBY_SRC="if_ruby.c"
|
|
Karsten Hopp |
81c285 |
RUBY_OBJ="objects/if_ruby.o"
|
|
Karsten Hopp |
81c285 |
*** ../vim-7.2.235/src/version.c 2009-07-22 11:03:38.000000000 +0200
|
|
Karsten Hopp |
81c285 |
--- src/version.c 2009-07-22 11:14:38.000000000 +0200
|
|
Karsten Hopp |
81c285 |
***************
|
|
Karsten Hopp |
81c285 |
*** 678,679 ****
|
|
Karsten Hopp |
81c285 |
--- 678,681 ----
|
|
Karsten Hopp |
81c285 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
81c285 |
+ /**/
|
|
Karsten Hopp |
81c285 |
+ 236,
|
|
Karsten Hopp |
81c285 |
/**/
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
--
|
|
Karsten Hopp |
81c285 |
From "know your smileys":
|
|
Karsten Hopp |
81c285 |
<|-) Chinese
|
|
Karsten Hopp |
81c285 |
<|-( Chinese and doesn't like these kind of jokes
|
|
Karsten Hopp |
81c285 |
|
|
Karsten Hopp |
81c285 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
81c285 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
81c285 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
81c285 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|