[Ttssh2-commit] [7812] 古いWindows(XP以前)サポートのための修正。

アーカイブの一覧に戻る
scmno****@osdn***** scmno****@osdn*****
2019年 6月 26日 (水) 20:16:57 JST


Revision: 7812
          https://osdn.net/projects/ttssh2/scm/svn/commits/7812
Author:   yutakapon
Date:     2019-06-26 20:16:56 +0900 (Wed, 26 Jun 2019)
Log Message:
-----------
古いWindows(XP以前)サポートのための修正。
 - patchは ws2_32.dll にfreeaddrinfo/getnameinfo/getaddrinfo のリンク回避
 - no-dsoとno-engineは GetModuleHandeEx リンク回避(元々ないから不要?)

チケット #36876 

Ticket Links:
------------
    https://osdn.net/projects/ttssh2/tracker/detail/36876

Modified Paths:
--------------
    branches/openssl_1_1_1_v2/libs/buildopenssl11.bat

Added Paths:
-----------
    branches/openssl_1_1_1_v2/libs/openssl_patch/
    branches/openssl_1_1_1_v2/libs/openssl_patch/openssl_build_patch.txt

-------------- next part --------------
Modified: branches/openssl_1_1_1_v2/libs/buildopenssl11.bat
===================================================================
--- branches/openssl_1_1_1_v2/libs/buildopenssl11.bat	2019-06-26 11:10:53 UTC (rev 7811)
+++ branches/openssl_1_1_1_v2/libs/buildopenssl11.bat	2019-06-26 11:16:56 UTC (rev 7812)
@@ -5,7 +5,7 @@
 perl -e "open(IN,'Configurations/10-main.conf');while(<IN>){s|/WX|/W1|;print $_;}close(IN);" > conf.tmp
 move conf.tmp Configurations/10-main.conf
 
-perl Configure no-asm no-async no-shared no-capieng VC-WIN32 -D_WIN32_WINNT=0x0501 --debug
+perl Configure no-asm no-async no-shared no-capieng no-dso no-engine VC-WIN32 -D_WIN32_WINNT=0x0501 --debug
 perl -e "open(IN,'makefile');while(<IN>){s| /MDd| /MTd|;print $_;}close(IN);" > makefile.tmp
 if exist "makefile.dbg" del makefile.dbg
 ren makefile.tmp makefile.dbg
@@ -17,7 +17,7 @@
 :build_dbg_end
 
 if exist "out32\libcrypto.lib" goto build_end
-perl Configure no-asm no-async no-shared no-capieng VC-WIN32 -D_WIN32_WINNT=0x0501
+perl Configure no-asm no-async no-shared no-capieng no-dso no-engine VC-WIN32 -D_WIN32_WINNT=0x0501
 perl -e "open(IN,'makefile');while(<IN>){s| /MD| /MT|;print $_;}close(IN);" > makefile.tmp
 if exist "makefile" del makefile
 ren makefile.tmp makefile

Added: branches/openssl_1_1_1_v2/libs/openssl_patch/openssl_build_patch.txt
===================================================================
--- branches/openssl_1_1_1_v2/libs/openssl_patch/openssl_build_patch.txt	                        (rev 0)
+++ branches/openssl_1_1_1_v2/libs/openssl_patch/openssl_build_patch.txt	2019-06-26 11:16:56 UTC (rev 7812)
@@ -0,0 +1,13 @@
+diff -cwrp openssl-1.1.1c/crypto/bio/bio_lcl.h openssl/crypto/bio/bio_lcl.h
+*** openssl-1.1.1c/crypto/bio/bio_lcl.h	2019-05-28 22:12:20.000000000 +0900
+--- openssl/crypto/bio/bio_lcl.h	2019-06-26 19:48:45.072802700 +0900
+***************
+*** 11,16 ****
+--- 11,18 ----
+  #include "internal/sockets.h"
+  #include "internal/refcount.h"
+  
++ # undef AI_PASSIVE
++ 
+  /* BEGIN BIO_ADDRINFO/BIO_ADDR stuff. */
+  


Ttssh2-commit メーリングリストの案内
アーカイブの一覧に戻る