HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #660

Ticket #660: htop-1.0.2.patch

File htop-1.0.2.patch, 1.4 KB (added by scottmc, 3 years ago)

need to remove the configure part of this patch and just rerun autotools instead

  • configure

    diff -Naur htop-1.0.2/configure htop-1.0.2-haiku/configure
    old new  
    1138811388 
    1138911389 
    1139011390# Checks for libraries. 
    11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 
    11392 $as_echo_n "checking for ceil in -lm... " >&6; } 
     11391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in $LIBM" >&5 
     11392$as_echo_n "checking for ceil in $LIBM... " >&6; } 
    1139311393if test "${ac_cv_lib_m_ceil+set}" = set; then : 
    1139411394  $as_echo_n "(cached) " >&6 
    1139511395else 
    1139611396  ac_check_lib_save_LIBS=$LIBS 
    11397 LIBS="-lm  $LIBS" 
     11397LIBS="$LIBM  $LIBS" 
    1139811398cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    1139911399/* end confdefs.h.  */ 
    1140011400 
    … …  
    1142911429#define HAVE_LIBM 1 
    1143011430_ACEOF 
    1143111431 
    11432   LIBS="-lm $LIBS" 
     11432  LIBS="$LIBM $LIBS" 
    1143311433 
    1143411434else 
    1143511435  missing_libraries="$missing_libraries libm" 
  • configure.ac

    diff -Naur htop-1.0.2/configure.ac htop-1.0.2-haiku/configure.ac
    old new  
     1 
     2 
    13#                                               -*- Autoconf -*- 
    24# Process this file with autoconf to produce a configure script. 
    35 
    … …  
    2224AC_PROG_LIBTOOL 
    2325 
    2426# Checks for libraries. 
    25 AC_CHECK_LIB([m], [ceil], [], [missing_libraries="$missing_libraries libm"]) 
     27AC_CHECK_LIB(m, cos, LIBM="$LIBM") 
    2628 
    2729# Checks for header files. 
    2830AC_HEADER_DIRENT 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/