summary refs log tree commit diff stats
path: root/win32/deps/mozilla-build.patch
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-30 18:04:45 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-30 18:04:45 +0200
commitb451ebc94f49647413881d8ec3806fd699f7a3f9 (patch)
treee47bec65a8adca8228adcb05b9739fbfa435a9e9 /win32/deps/mozilla-build.patch
parent5873bf9e5df14630a37b70bd0519200e335a2654 (diff)
Add libffi build scripts and patch for borked mozilla-build script
Diffstat (limited to 'win32/deps/mozilla-build.patch')
-rw-r--r--win32/deps/mozilla-build.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/win32/deps/mozilla-build.patch b/win32/deps/mozilla-build.patch
new file mode 100644
index 00000000..9f528212
--- /dev/null
+++ b/win32/deps/mozilla-build.patch
@@ -0,0 +1,20 @@
+--- start-msvc11-x64.bat.orig	2012-07-18 19:44:24 +0200
++++ start-msvc11-x64.bat	2012-09-30 17:48:59 +0200
+@@ -30,7 +30,7 @@
+     )
+ 
+     rem Prepend MSVC paths
+-    call "%VC11EXPRESSDIR%\bin\amd64\vcvars64.bat" 2>nul
++    call "%VC11EXPRESSDIR%\bin\x86_amd64\vcvarsx86_amd64.bat" 2>nul
+     if "%DevEnvDir%"=="" (
+       rem Might be using a compiler that shipped with an SDK, so manually set paths
+       SET "PATH=%VC11EXPRESSDIR%\Bin\amd64;%VC11EXPRESSDIR%\Bin;%PATH%"
+@@ -58,7 +58,7 @@
+     rem Prepend MSVC paths
+     rem The Win7 SDK (or newer) should automatically integrate itself into vcvars32.bat
+     ECHO Using VC 2012 built-in SDK
+-    call "%VC11DIR%\bin\amd64\vcvars64.bat"
++    call "%VC11DIR%\bin\x86_amd64\vcvarsx86_amd64.bat"
+ )
+ 
+ if "%VC11DIR%"=="" (