components/w3m/patches/02-autobits.patch
author Channappa BV<channappa.vakkalad@oracle.com>
Wed, 20 Jul 2016 03:28:41 -0700
branchs11u3-sru
changeset 6435 c1b087ff0a7e
parent 3830 d9fd82448491
child 3995 7d35330d300c
permissions -rw-r--r--
23759117 Update timezone data to 2016f

#
# Use AC_W3M_SSL and AC_W3M_DIGEST_AUTH from acinclude.m4 instead of the
# combined version in aclocal.m4, which gets overwritten when aclocal is run.
#
# Check for floor() instead of sqrt() to decide if we need libm
#
# use $(INSTALL) -d instead of @MKINSTALLDIR@ in po/Makefile...
#
# This patch needs to be evaluated to see if it needs to be passed upstream.

--- w3m-0.5.2.orig/configure.ac	Thu May 31 07:17:05 2007
+++ w3m-0.5.2/configure.ac	Thu Dec  4 09:51:48 2014
@@ -88,10 +88,11 @@
 done
 
 AC_W3M_IPv6
-AC_W3M_SSL_DIGEST_AUTH
+AC_W3M_SSL
+AC_W3M_DIGEST_AUTH
 
 dnl Checks for libraries.
-AC_CHECK_FUNC(sqrt,,[AC_CHECK_LIB(m, sqrt)])
+AC_CHECK_FUNC(floor,,[AC_CHECK_LIB(m, floor)])
 if test x"$enable_mouse" = xyes; then
  AC_SUBST(USE_W3M)
  AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM)


--- w3m-0.5.2.orig/po/Makefile.in.in	Tue May 29 22:15:13 2007
+++ w3m-0.5.2/po/Makefile.in.in	Thu Dec  4 09:57:40 2014
@@ -27,8 +27,7 @@
 
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
-MKINSTALLDIRS = @MKINSTALLDIRS@
-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
+mkinstalldirs = $(INSTALL) -d
 
 GMSGFMT = @GMSGFMT@
 MSGFMT = @MSGFMT@