summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-03-12 22:38:26 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-03-12 22:38:26 +0000
commit275debd86977764dea1fb07055ba49449b8c15a5 (patch)
treef81bdeb01eea470f36d9517d3cf77a4ea84aefbc /external
parent9f1d152466ea3f3ae3712dc5b06c08bdb0ad6020 (diff)
CWS-TOOLING: integrate CWS mingwport17
2009-02-02 09:09:07 +0100 tono r267246 : i#98723#: Less conditionals in libs.mk for mingw 2009-02-02 09:06:03 +0100 tono r267244 : i#98722#: Skip building ldump in mingw 2009-02-02 09:04:05 +0100 tono r267243 : i#98721#: Improve symbol extraction in mingw 2009-02-02 09:02:07 +0100 tono r267242 : i#98720#: Improve strip performance in mingw 2009-02-02 08:59:36 +0100 tono r267241 : i#98719#: Copy mingw multithread runtime in external 2009-02-02 08:55:09 +0100 tono r267240 : i#98718#: Cleanup cygwin workaround for mingw 2009-02-02 08:53:33 +0100 tono r267239 : i#98718#: Cleanup cygwin workaround for mingw 2009-02-02 08:50:36 +0100 tono r267237 : i#98717#: Avoid MSVC version check in mingw configure 2009-01-28 22:28:53 +0100 tono r267088 : i#97608#: Remove Guiddef.h inclusion 2009-01-28 22:24:23 +0100 tono r267087 : i#96980#: cairo dll name is different in mingw build 2009-01-28 22:19:19 +0100 tono r267086 : i#96731#: MinGW port fro embedserv update
Diffstat (limited to 'external')
-rw-r--r--external/gcc3_specific/makefile.mk16
-rw-r--r--external/mingwheaders/makefile.mk2
-rw-r--r--external/mingwheaders/mingw_headers.patch13
-rw-r--r--external/prj/build.lst2
-rw-r--r--external/prj/d.lst2
5 files changed, 31 insertions, 4 deletions
diff --git a/external/gcc3_specific/makefile.mk b/external/gcc3_specific/makefile.mk
index e111d5c46138..889b61c1960c 100644
--- a/external/gcc3_specific/makefile.mk
+++ b/external/gcc3_specific/makefile.mk
@@ -8,6 +8,20 @@ TARGET=gcc3_specific
.IF "$(BUILD_SPECIAL)"==""
+
+.IF "$(GUI)" == "WNT"
+
+.IF "$(COM)" == "GCC"
+
+all : $(BIN)$/mingwm10.dll
+
+$(BIN)$/mingwm10.dll :
+ $(COPY) -p $(COMPATH)$/bin$/mingwm10.dll $(BIN)$/
+
+.ENDIF
+
+.ELSE
+
.IF "$(SYSTEM_STDLIBS)" != "YES" && "$(COMID)"=="gcc3"
.IF "$(OS)"!="MACOSX"
@@ -30,6 +44,8 @@ $(LB)$/libgcc_s.so.1 :
.ENDIF
.ENDIF
+
+.ENDIF
.ENDIF # "$(BUILD_SPECIAL)"==""
diff --git a/external/mingwheaders/makefile.mk b/external/mingwheaders/makefile.mk
index 8e25bfccb9e0..9214303548d0 100644
--- a/external/mingwheaders/makefile.mk
+++ b/external/mingwheaders/makefile.mk
@@ -39,7 +39,7 @@ TARGET=mingwheaders
# Cygwin and MinGW use different directories for the W32API headers
.IF "$(USE_MINGW)" == "cygwin"
-MINGW_INCLUDE_DIR=$/usr$/include/mingw/include/
+MINGW_INCLUDE_DIR=$/usr$/include/mingw/
MINGW_W32API_INCLUDE_DIR=$/usr$/include/w32api/
MINGW_W32API_LIB_DIR=$/usr$/include/w32api/
.ELSE
diff --git a/external/mingwheaders/mingw_headers.patch b/external/mingwheaders/mingw_headers.patch
index 1418137627b1..b6561ff497d1 100644
--- a/external/mingwheaders/mingw_headers.patch
+++ b/external/mingwheaders/mingw_headers.patch
@@ -296,7 +296,7 @@
}
#endif
--- include/objidl.h.orig 2006-11-19 08:08:34.000000000 +0900
-+++ include/objidl.h 2007-01-20 11:56:53.875000000 +0900
++++ include/objidl.h 2008-11-30 11:56:53.875000000 +0900
@@ -1,3 +1,4 @@
+#include <ole2.h>
#ifndef _OBJIDL_H
@@ -345,6 +345,17 @@
DECLARE_ENUMERATOR(STATSTG);
DECLARE_ENUMERATOR_(IEnumString,LPOLESTR);
DECLARE_ENUMERATOR_(IEnumMoniker,_COM_interface IMoniker*);
+@@ -880,8 +887,8 @@
+ STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
+ STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,Release)(THIS) PURE;
+- STDMETHOD(AddConnection)(THIS_ DWORD,DWORD) PURE;
+- STDMETHOD(ReleaseConnection)(THIS_ DWORD,DWORD,BOOL) PURE;
++ STDMETHOD_(DWORD,AddConnection)(THIS_ DWORD,DWORD) PURE;
++ STDMETHOD_(DWORD,ReleaseConnection)(THIS_ DWORD,DWORD,BOOL) PURE;
+ };
+ #undef INTERFACE
+
@@ -927,6 +934,7 @@
};
#undef INTERFACE
diff --git a/external/prj/build.lst b/external/prj/build.lst
index 3fc0a6522be3..b187dafaf667 100644
--- a/external/prj/build.lst
+++ b/external/prj/build.lst
@@ -2,5 +2,5 @@ el external : SO:external_so soltools NULL
el external usr1 - all el_mkout NULL
el external\glibc nmake - all el_glibc NULL
el external\gpc nmake - all el_gpc NULL
-el external\gcc3_specific nmake - u el_gcc3 NULL
+el external\gcc3_specific nmake - all el_gcc3 NULL
el external\mingwheaders nmake - w el_mingwheaders NULL
diff --git a/external/prj/d.lst b/external/prj/d.lst
index 7652eafbdd1e..bc7d7c1211aa 100644
--- a/external/prj/d.lst
+++ b/external/prj/d.lst
@@ -57,7 +57,7 @@ mkdir: %_DEST%\inc%_EXT%\external\mingw\include\sys
..\msi\instmsia.exe %_DEST%\bin%_EXT%\instmsia.exe
..\msi\instmsiw.exe %_DEST%\bin%_EXT%\instmsiw.exe
-..\mingwm10\mingwm10.dll %_DEST%\bin%_EXT%\mingwm10.dll
+..\%__SRC%\bin\mingwm10.dll %_DEST%\bin%_EXT%\mingwm10.dll
..\%__SRC%\lib\libmsvcrt*.* %_DEST%\lib%_EXT%\lib*.*
..\%__SRC%\lib\lib*static*.dylib %_DEST%\lib%_EXT%\lib*static*.dylib