components/w3m/patches/02-autobits.patch
changeset 7220 69d9c93534a6
parent 7219 ed371e14667e
child 7221 0e3ebbcfc116
equal deleted inserted replaced
7219:ed371e14667e 7220:69d9c93534a6
     1 # Check for floor() instead of sqrt() to decide if we need libm
       
     2 #
       
     3 # This patch needs to be evaluated to see if it needs to be passed upstream.
       
     4 
       
     5 --- w3m-0.5.3/configure.ac.orig	2015-02-16 19:03:26.191283591 -0800
       
     6 +++ w3m-0.5.3/configure.ac	2015-02-16 19:08:11.367778846 -0800
       
     7 @@ -91,7 +91,7 @@
       
     8  AC_W3M_SSL_DIGEST_AUTH
       
     9  
       
    10  dnl Checks for libraries.
       
    11 -AC_CHECK_FUNC(sqrt,,[AC_CHECK_LIB(m, sqrt)])
       
    12 +AC_CHECK_FUNC(floor,,[AC_CHECK_LIB(m, floor)])
       
    13  if test x"$enable_mouse" = xyes; then
       
    14   AC_SUBST(USE_W3M)
       
    15   AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM)