Patch 8.2.2089

6 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 4, 2020, 12:11:12 PM12/4/20
to vim...@googlegroups.com

Patch 8.2.2089
Problem: Libvterm test fails to build on Mac.
Solution: Adjust configure to remove a space between -L and the path that
follows.
Files: src/configure.ac, src/auto/configure


*** ../vim-8.2.2088/src/configure.ac 2020-11-26 20:11:08.048626195 +0100
--- src/configure.ac 2020-12-04 18:02:58.878235150 +0100
***************
*** 4467,4472 ****
--- 4467,4476 ----
AC_MSG_RESULT(no)
fi

+ dnl $LDFLAGS is passed to glibtool in libvterm, it doesn't like a space
+ dnl between "-L" and the path that follows.
+ LDFLAGS=`echo "$LDFLAGS" | sed -e 's/-L /-L/g'`
+
dnl link.sh tries to avoid overlinking in a hackish way.
dnl At least GNU ld supports --as-needed which provides the same functionality
dnl at linker level. Let's use it.
*** ../vim-8.2.2088/src/auto/configure 2020-11-26 20:11:08.052626187 +0100
--- src/auto/configure 2020-12-04 18:03:01.550226973 +0100
***************
*** 14861,14866 ****
--- 14861,14868 ----
$as_echo "no" >&6; }
fi

+ LDFLAGS=`echo "$LDFLAGS" | sed -e 's/-L /-L/g'`
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
$as_echo_n "checking linker --as-needed support... " >&6; }
LINK_AS_NEEDED=
*** ../vim-8.2.2088/src/version.c 2020-12-04 17:37:56.250324484 +0100
--- src/version.c 2020-12-04 18:09:28.569034959 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2089,
/**/

--
If cars evolved at the same rate as computers have, they'd cost five euro,
run for a year on a couple of liters of petrol, and explode once a day.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages