openssl-1.1.1b.patch 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. diff -urN a/Configurations/10-main.conf b/Configurations/10-main.conf
  2. --- a/Configurations/10-main.conf 2019-02-26 06:15:30.000000000 -0800
  3. +++ b/Configurations/10-main.conf 2020-11-03 19:48:02.000000000 -0800
  4. @@ -1554,6 +1554,14 @@
  5. bn_ops => "SIXTY_FOUR_BIT_LONG",
  6. perlasm_scheme => "macosx",
  7. },
  8. + "darwin64-arm64-cc" => {
  9. + inherit_from => [ "darwin-common", asm("aarch64_asm") ],
  10. + CFLAGS => add("-Wall"),
  11. + cflags => add("-arch arm64"),
  12. + lib_cppflags => add("-DL_ENDIAN"),
  13. + bn_ops => "SIXTY_FOUR_BIT_LONG",
  14. + perlasm_scheme => "ios64",
  15. + },
  16. ##### GNU Hurd
  17. "hurd-x86" => {
  18. diff --color -Naur a/Configurations/15-ios.conf b/Configurations/15-ios.conf
  19. --- a/Configurations/15-ios.conf 2019-02-26 06:15:30
  20. +++ b/Configurations/15-ios.conf 2023-08-07 19:53:43
  21. @@ -32,6 +32,13 @@
  22. inherit_from => [ "ios-common" ],
  23. CC => "xcrun -sdk iphonesimulator cc",
  24. },
  25. + "iossimulator64-xcrun" => {
  26. + inherit_from => [ "ios-common", asm("x86_64_asm") ],
  27. + CC => "xcrun -sdk iphonesimulator cc",
  28. + cflags => add("-arch x86_64 -mios-version-min=7.0.0 -fno-common"),
  29. + bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
  30. + perlasm_scheme => "macosx",
  31. + },
  32. # It takes three prior-set environment variables to make it work:
  33. #
  34. # CROSS_COMPILE=/where/toolchain/is/usr/bin/ [note ending slash]
  35. @@ -58,5 +65,35 @@
  36. inherit_from => [ "ios64-xcrun" ],
  37. CC => "cc",
  38. cflags => add("-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK)"),
  39. + },
  40. + "iossimulator64-cross" => {
  41. + inherit_from => [ "iossimulator64-xcrun" ],
  42. + CC => "cc",
  43. + cflags => add("-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK)"),
  44. + },
  45. +## Apple visionOS
  46. + "visionos-common" => {
  47. + template => 1,
  48. + inherit_from => [ "darwin-common" ],
  49. + sys_id => "visionOS",
  50. + disable => [ "engine", "async" ],
  51. + },
  52. + "visionos-cross-arm64" => {
  53. + inherit_from => [ "visionos-common", asm("aarch64_asm") ],
  54. + CC => "xcrun -sdk xros cc",
  55. + cflags => add("-arch arm64"),
  56. + bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
  57. + perlasm_scheme => "ios64",
  58. + },
  59. + "visionos-sim-cross-arm64" => {
  60. + inherit_from => [ "visionos-common" ],
  61. + CC => "xcrun -sdk xrsimulator cc",
  62. + },
  63. + "visionos-sim-cross-x86_64" => {
  64. + inherit_from => [ "visionos-common", asm("x86_64_asm") ],
  65. + CC => "xcrun -sdk xrsimulator cc",
  66. + cflags => add("-arch x86_64"),
  67. + bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
  68. + perlasm_scheme => "macosx",
  69. },
  70. );