Skip to content

Instantly share code, notes, and snippets.

@jweather
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jweather/fdb38e9a1aeb0edf2bad to your computer and use it in GitHub Desktop.
Save jweather/fdb38e9a1aeb0edf2bad to your computer and use it in GitHub Desktop.
diff --git a/app/server/vendor/interception/ext/extconf.rb b/app/server/vendor/interception/ext/extconf.rb
index 3d118d4..852848c 100755
--- a/app/server/vendor/interception/ext/extconf.rb
+++ b/app/server/vendor/interception/ext/extconf.rb
@@ -20,6 +20,7 @@ else
File.open("Makefile", "w") do |f|
f.write "install:\n\t:\n"
+ f.write "clean:\n\t:\n"
end
end
diff --git a/app/server/vendor/rugged/ext/rugged/extconf.rb b/app/server/vendor/rugged/ext/rugged/extconf.rb
index ad68908..1262685 100755
--- a/app/server/vendor/rugged/ext/rugged/extconf.rb
+++ b/app/server/vendor/rugged/ext/rugged/extconf.rb
@@ -47,7 +47,7 @@ else
Dir.mkdir("build") if !Dir.exists?("build")
Dir.chdir("build") do
- sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo")
+ sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo -G \"Unix Makefiles\" -DCMAKE_INSTALL_PREFIX=C:/")
sys(MAKE)
pcfile = File.join(LIBGIT2_DIR, "build", "libgit2.pc")
diff --git a/app/server/vendor/rugged/vendor/libgit2/src/win32/path_w32.h b/app/server/vendor/rugged/vendor/libgit2/src/win32/path_w32.h
index 1d10166..beff3d9 100755
--- a/app/server/vendor/rugged/vendor/libgit2/src/win32/path_w32.h
+++ b/app/server/vendor/rugged/vendor/libgit2/src/win32/path_w32.h
@@ -7,6 +7,8 @@
#ifndef INCLUDE_git_path_w32_h__
#define INCLUDE_git_path_w32_h__
+#include <windows.h>
+
/*
* Provides a large enough buffer to support Windows paths: MAX_PATH is
* 260, corresponding to a maximum path length of 259 characters plus a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment