Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
htop
> htop-1.0.1-remove-proc-test.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File htop-1.0.1-remove-proc-test.patch of Package htop
diff -Naur htop-1.0.1/configure htop-1.0.1-modified/configure --- htop-1.0.1/configure 2011-12-26 23:47:26.000000000 +0200 +++ htop-1.0.1-modified/configure 2012-08-15 15:08:28.600674258 +0300 @@ -12452,56 +12452,56 @@ as_fn_error "missing headers: $missing_headers" "$LINENO" 5 fi -if test "x$cross_compiling" = xno; then -as_ac_File=`$as_echo "ac_cv_file_$PROCDIR/stat" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PROCDIR/stat" >&5 -$as_echo_n "checking for $PROCDIR/stat... " >&6; } -if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - test "$cross_compiling" = yes && - as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5 -if test -r "$PROCDIR/stat"; then - eval "$as_ac_File=yes" -else - eval "$as_ac_File=no" -fi -fi -eval ac_res=\$$as_ac_File - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -eval as_val=\$$as_ac_File - if test "x$as_val" = x""yes; then : - -else - as_fn_error "Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help." "$LINENO" 5 -fi - -as_ac_File=`$as_echo "ac_cv_file_$PROCDIR/meminfo" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PROCDIR/meminfo" >&5 -$as_echo_n "checking for $PROCDIR/meminfo... " >&6; } -if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - test "$cross_compiling" = yes && - as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5 -if test -r "$PROCDIR/meminfo"; then - eval "$as_ac_File=yes" -else - eval "$as_ac_File=no" -fi -fi -eval ac_res=\$$as_ac_File - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -eval as_val=\$$as_ac_File - if test "x$as_val" = x""yes; then : - -else - as_fn_error "Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help." "$LINENO" 5 -fi - -fi +#if test "x$cross_compiling" = xno; then +#as_ac_File=`$as_echo "ac_cv_file_$PROCDIR/stat" | $as_tr_sh` +#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PROCDIR/stat" >&5 +#$as_echo_n "checking for $PROCDIR/stat... " >&6; } +#if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then : +# $as_echo_n "(cached) " >&6 +#else +# test "$cross_compiling" = yes && +# as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5 +#if test -r "$PROCDIR/stat"; then +# eval "$as_ac_File=yes" +#else +# eval "$as_ac_File=no" +#fi +#fi +#eval ac_res=\$$as_ac_File +# { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +#$as_echo "$ac_res" >&6; } +#eval as_val=\$$as_ac_File +# if test "x$as_val" = x""yes; then : +# +#else +# as_fn_error "Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. #See the file README for help." "$LINENO" 5 +#fi +# +#as_ac_File=`$as_echo "ac_cv_file_$PROCDIR/meminfo" | $as_tr_sh` +#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PROCDIR/meminfo" >&5 +#$as_echo_n "checking for $PROCDIR/meminfo... " >&6; } +#if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then : +# $as_echo_n "(cached) " >&6 +#else +# test "$cross_compiling" = yes && +# as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5 +#if test -r "$PROCDIR/meminfo"; then +# eval "$as_ac_File=yes" +#else +# eval "$as_ac_File=no" +#fi +#fi +#eval ac_res=\$$as_ac_File +# { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +#$as_echo "$ac_res" >&6; } +#eval as_val=\$$as_ac_File +# if test "x$as_val" = x""yes; then : +# +#else +# as_fn_error "Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem #mounted. See the file README for help." "$LINENO" 5 +#fi +# +#fi # Check whether --enable-native_affinity was given. if test "${enable_native_affinity+set}" = set; then :