openpkg/curl.patch

Fri, 03 Aug 2012 20:11:53 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 20:11:53 +0200
changeset 470
f8813e60f168
permissions
-rw-r--r--

Neutralize buggy code causing OpenPKG to have 'fatal problems' in
spite of correct installation, configuration, and operation. An
administrator suffering from this failure is even unable to
uninstall the flawed software.

     1 Index: configure
     2 --- configure.orig	2012-05-22 23:46:41.000000000 +0200
     3 +++ configure	2012-05-25 22:56:57.000000000 +0200
     4 @@ -4886,10 +4886,7 @@
     5  if $ac_preproc_ok; then :
     7  else
     8 -  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10 -as_fn_error "C preprocessor \"$CPP\" fails sanity check
    11 -See \`config.log' for more details." "$LINENO" 5; }
    12 +    :
    13  fi
    15  ac_ext=c
    16 @@ -19472,7 +19469,7 @@
    17    $as_echo_n "(cached) " >&6
    18  else
    19    ac_check_lib_save_LIBS=$LIBS
    20 -LIBS="-l"$LDAPLIBNAME"  $LIBS"
    21 +LIBS="-l$LDAPLIBNAME $LIBS"
    22  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23  /* end confdefs.h.  */
    25 @@ -19506,7 +19503,7 @@
    26  #define `$as_echo "HAVE_LIB"$LDAPLIBNAME"" | $as_tr_cpp` 1
    27  _ACEOF
    29 -  LIBS="-l"$LDAPLIBNAME" $LIBS"
    30 +  LIBS="-l$LDAPLIBNAME $LIBS"
    32  else

mercurial