components/w3m/patches/02-autobits.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 19 Mar 2015 16:43:24 -0700
changeset 3995 7d35330d300c
parent 3680 4dc408325e7e
permissions -rw-r--r--
20738232 w3m should be updated to version 0.5.3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3680
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
# Check for floor() instead of sqrt() to decide if we need libm
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
#
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
# This patch needs to be evaluated to see if it needs to be passed upstream.
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
3995
7d35330d300c 20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3680
diff changeset
     5
--- w3m-0.5.3/configure.ac.orig	2015-02-16 19:03:26.191283591 -0800
7d35330d300c 20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3680
diff changeset
     6
+++ w3m-0.5.3/configure.ac	2015-02-16 19:08:11.367778846 -0800
7d35330d300c 20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3680
diff changeset
     7
@@ -91,7 +91,7 @@
7d35330d300c 20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents: 3680
diff changeset
     8
 AC_W3M_SSL_DIGEST_AUTH
3680
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
 
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 dnl Checks for libraries.
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
-AC_CHECK_FUNC(sqrt,,[AC_CHECK_LIB(m, sqrt)])
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
+AC_CHECK_FUNC(floor,,[AC_CHECK_LIB(m, floor)])
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 if test x"$enable_mouse" = xyes; then
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
  AC_SUBST(USE_W3M)
4dc408325e7e 20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
  AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM)