[Groonga-commit] groonga/groonga at c3c4b3f [master] msgpack: apply a patch to fix link problem with MSVC

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Apr 28 10:27:15 JST 2018


Kouhei Sutou	2018-04-28 10:27:15 +0900 (Sat, 28 Apr 2018)

  New Revision: c3c4b3f6573d90888aa729f45c8a19592a0dbdc0
  https://github.com/groonga/groonga/commit/c3c4b3f6573d90888aa729f45c8a19592a0dbdc0

  Message:
    msgpack: apply a patch to fix link problem with MSVC
    
    It's just a workaround. We should remove it after the new msgpack-c
    release with the fix.

  Modified files:
    vendor/download_message_pack.rb

  Modified: vendor/download_message_pack.rb (+9 -0)
===================================================================
--- vendor/download_message_pack.rb    2018-04-28 10:21:22 +0900 (b2f09af70)
+++ vendor/download_message_pack.rb    2018-04-28 10:27:15 +0900 (1e71e4a74)
@@ -47,6 +47,15 @@ def download(url, base)
   end
   FileUtils.rm_rf(base)
   extract_tar_gz(tar_gz)
+  Dir.chdir(base) do
+    IO.popen(["patch", "-p1"], "r+") do |io|
+      open("https://patch-diff.githubusercontent.com/raw/msgpack/msgpack-c/pull/677.patch") do |patch|
+        io.write(patch.read)
+        io.close_write
+        io.read
+      end
+    end
+  end
   FileUtils.rm_rf(tar_gz)
 end
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180428/9ddd6048/attachment-0001.htm 



More information about the Groonga-commit mailing list
Back to archive index