Karsten Hopp 345f68
To: vim_dev@googlegroups.com
Karsten Hopp 345f68
Subject: Patch 7.3.1300
Karsten Hopp 345f68
Fcc: outbox
Karsten Hopp 345f68
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 345f68
Mime-Version: 1.0
Karsten Hopp 345f68
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 345f68
Content-Transfer-Encoding: 8bit
Karsten Hopp 345f68
------------
Karsten Hopp 345f68
Karsten Hopp 345f68
Patch 7.3.1300
Karsten Hopp 345f68
Problem:    Mac: tiny and small build fails.
Karsten Hopp 345f68
Solution:   Don't include os_macosx.m in tiny build. Include mouse support in
Karsten Hopp 345f68
	    small build. (Kazunobu Kuriyama)
Karsten Hopp 345f68
Files:	    src/configure.in, src/auto/configure, src/vim.h
Karsten Hopp 345f68
Karsten Hopp 345f68
Karsten Hopp 345f68
*** ../vim-7.3.1299/src/configure.in	2013-06-18 23:31:41.000000000 +0200
Karsten Hopp 345f68
--- src/configure.in	2013-07-03 19:25:28.000000000 +0200
Karsten Hopp 345f68
***************
Karsten Hopp 345f68
*** 3698,3703 ****
Karsten Hopp 345f68
--- 3698,3710 ----
Karsten Hopp 345f68
    else
Karsten Hopp 345f68
      AC_MSG_RESULT(no)
Karsten Hopp 345f68
    fi
Karsten Hopp 345f68
+   dnl As mentioned above, tiny build implies os_macosx.m isn't needed.  
Karsten Hopp 345f68
+   dnl Exclude it from OS_EXTRA_SRC so that linker won't complain about
Karsten Hopp 345f68
+   dnl missing Objective-C symbols.
Karsten Hopp 345f68
+   if test "x$features" = "xtiny"; then
Karsten Hopp 345f68
+     OS_EXTRA_SRC=`echo "$OS_EXTRA_SRC" | sed -e 's+os_macosx.m++'`
Karsten Hopp 345f68
+     OS_EXTRA_OBJ=`echo "$OS_EXTRA_OBJ" | sed -e 's+objects/os_macosx.o++'`
Karsten Hopp 345f68
+   fi
Karsten Hopp 345f68
  fi
Karsten Hopp 345f68
  if test "x$MACARCH" = "xboth" && test "x$GUITYPE" = "xCARBONGUI"; then
Karsten Hopp 345f68
    LDFLAGS="$LDFLAGS -isysroot $DEVELOPER_DIR/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
Karsten Hopp 345f68
*** ../vim-7.3.1299/src/auto/configure	2013-06-18 23:31:41.000000000 +0200
Karsten Hopp 345f68
--- src/auto/configure	2013-07-03 19:25:34.000000000 +0200
Karsten Hopp 345f68
***************
Karsten Hopp 345f68
*** 12674,12679 ****
Karsten Hopp 345f68
--- 12674,12683 ----
Karsten Hopp 345f68
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Karsten Hopp 345f68
  $as_echo "no" >&6; }
Karsten Hopp 345f68
    fi
Karsten Hopp 345f68
+         if test "x$features" = "xtiny"; then
Karsten Hopp 345f68
+     OS_EXTRA_SRC=`echo "$OS_EXTRA_SRC" | sed -e 's+os_macosx.m++'`
Karsten Hopp 345f68
+     OS_EXTRA_OBJ=`echo "$OS_EXTRA_OBJ" | sed -e 's+objects/os_macosx.o++'`
Karsten Hopp 345f68
+   fi
Karsten Hopp 345f68
  fi
Karsten Hopp 345f68
  if test "x$MACARCH" = "xboth" && test "x$GUITYPE" = "xCARBONGUI"; then
Karsten Hopp 345f68
    LDFLAGS="$LDFLAGS -isysroot $DEVELOPER_DIR/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
Karsten Hopp 345f68
*** ../vim-7.3.1299/src/vim.h	2013-06-08 15:24:41.000000000 +0200
Karsten Hopp 345f68
--- src/vim.h	2013-07-03 19:25:01.000000000 +0200
Karsten Hopp 345f68
***************
Karsten Hopp 345f68
*** 101,106 ****
Karsten Hopp 345f68
--- 101,109 ----
Karsten Hopp 345f68
  # endif
Karsten Hopp 345f68
  # ifndef FEAT_CLIPBOARD
Karsten Hopp 345f68
  #  define FEAT_CLIPBOARD
Karsten Hopp 345f68
+ #  if defined(FEAT_SMALL) && !defined(FEAT_MOUSE)
Karsten Hopp 345f68
+ #   define FEAT_MOUSE
Karsten Hopp 345f68
+ #  endif
Karsten Hopp 345f68
  # endif
Karsten Hopp 345f68
  #endif
Karsten Hopp 345f68
  #if defined(MACOS_X) || defined(MACOS_CLASSIC)
Karsten Hopp 345f68
*** ../vim-7.3.1299/src/version.c	2013-07-03 18:49:12.000000000 +0200
Karsten Hopp 345f68
--- src/version.c	2013-07-03 19:49:02.000000000 +0200
Karsten Hopp 345f68
***************
Karsten Hopp 345f68
*** 730,731 ****
Karsten Hopp 345f68
--- 730,733 ----
Karsten Hopp 345f68
  {   /* Add new patch number below this line */
Karsten Hopp 345f68
+ /**/
Karsten Hopp 345f68
+     1300,
Karsten Hopp 345f68
  /**/
Karsten Hopp 345f68
Karsten Hopp 345f68
-- 
Karsten Hopp 345f68
TALL KNIGHT: When you have found the shrubbery, then you must cut down the
Karsten Hopp 345f68
             mightiest tree in the forest ... with a herring.
Karsten Hopp 345f68
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 345f68
Karsten Hopp 345f68
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 345f68
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 345f68
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 345f68
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///