curl.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Index: configure
  2. --- configure.orig 2021-09-13 16:46:32.000000000 +0200
  3. +++ configure 2021-09-22 20:06:32.477430000 +0200
  4. @@ -5568,10 +5568,7 @@
  5. then :
  6. else $as_nop
  7. - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  8. -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  9. -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  10. -See \`config.log' for more details" "$LINENO" 5; }
  11. + :
  12. fi
  13. ac_ext=c
  14. @@ -23911,7 +23908,7 @@
  15. printf %s "(cached) " >&6
  16. else $as_nop
  17. ac_check_lib_save_LIBS=$LIBS
  18. -LIBS="-l"$LDAPLIBNAME" $LIBS"
  19. +LIBS="-l$LDAPLIBNAME $LIBS"
  20. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21. /* end confdefs.h. */
  22. @@ -23946,7 +23943,7 @@
  23. #define `printf "%s\n" "HAVE_LIB"$LDAPLIBNAME"" | $as_tr_cpp` 1
  24. _ACEOF
  25. - LIBS="-l"$LDAPLIBNAME" $LIBS"
  26. + LIBS="-l$LDAPLIBNAME $LIBS"
  27. else $as_nop
  28. @@ -45099,7 +45096,7 @@
  29. want_thres="no"
  30. ;;
  31. *)
  32. - want_thres="yes"
  33. + want_thres="$OPT_THRES"
  34. ;;
  35. esac
  36. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
  37. Index: curl-config.in
  38. --- curl-config.in.orig 2021-08-23 00:23:06.000000000 +0200
  39. +++ curl-config.in 2021-09-22 20:04:36.091973000 +0200
  40. @@ -150,7 +150,7 @@
  41. if test "X@includedir@" = "X/usr/include"; then
  42. echo "$CPPFLAG_CURL_STATICLIB"
  43. else
  44. - echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
  45. + echo "${CPPFLAG_CURL_STATICLIB} -I@includedir@"
  46. fi
  47. ;;
  48. Index: lib/vtls/openssl.c
  49. --- lib/vtls/openssl.c.orig 2021-09-11 23:46:15.000000000 +0200
  50. +++ lib/vtls/openssl.c 2021-09-22 20:04:36.092462000 +0200
  51. @@ -111,6 +111,9 @@
  52. #ifdef USE_OPENSSL_ENGINE
  53. #include <openssl/ui.h>
  54. #endif
  55. +#if defined(HAVE_ENGINE_LOAD_BUILTIN_ENGINES)
  56. +#include <openssl/engine.h>
  57. +#endif
  58. #if OPENSSL_VERSION_NUMBER >= 0x00909000L
  59. #define SSL_METHOD_QUAL const