fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / python3 / python-3.3.3-msvc2012-winxp.patch.1
blob2addd4962c07995f75d3765722bbfe7719727292
1 without explicit subsystem set, the linker tries to open a file
2 with the name of the comptibility version
3 (fatal error LNK1181: cannot open input file ",5.01")
4 diff -ur python3.org/PCbuild/_ctypes.vcxproj python3/PCbuild/_ctypes.vcxproj
5 --- python3.org/PCbuild/_ctypes.vcxproj 2014-05-19 19:06:01.274114800 +0200
6 +++ python3/PCbuild/_ctypes.vcxproj     2014-05-19 19:07:13.649079800 +0200
7 @@ -174,7 +174,7 @@
8      </ClCompile>
9      <Link>
10        <AdditionalOptions>/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE %(AdditionalOptions)</AdditionalOptions>
11 -      <SubSystem>NotSet</SubSystem>
12 +      <SubSystem>Console</SubSystem>
13        <BaseAddress>0x1D1A0000</BaseAddress>
14      </Link>
15    </ItemDefinitionGroup>
16 @@ -187,7 +187,7 @@
17      </ClCompile>
18      <Link>
19        <AdditionalOptions>/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE %(AdditionalOptions)</AdditionalOptions>
20 -      <SubSystem>NotSet</SubSystem>
21 +      <SubSystem>Console</SubSystem>
22        <BaseAddress>0x1D1A0000</BaseAddress>
23      </Link>
24    </ItemDefinitionGroup>
25 @@ -197,7 +197,7 @@
26      </ClCompile>
27      <Link>
28        <AdditionalOptions>/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE %(AdditionalOptions)</AdditionalOptions>
29 -      <SubSystem>NotSet</SubSystem>
30 +      <SubSystem>Console</SubSystem>
31        <BaseAddress>0x1D1A0000</BaseAddress>
32      </Link>
33    </ItemDefinitionGroup>
34 @@ -210,7 +210,7 @@
35      </ClCompile>
36      <Link>
37        <AdditionalOptions>/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE %(AdditionalOptions)</AdditionalOptions>
38 -      <SubSystem>NotSet</SubSystem>
39 +      <SubSystem>Console</SubSystem>
40        <BaseAddress>0x1D1A0000</BaseAddress>
41        <TargetMachine>MachineX64</TargetMachine>
42      </Link>
43 @@ -221,7 +221,7 @@
44      </ClCompile>
45      <Link>
46        <AdditionalOptions>/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE %(AdditionalOptions)</AdditionalOptions>
47 -      <SubSystem>NotSet</SubSystem>
48 +      <SubSystem>Console</SubSystem>
49        <BaseAddress>0x1D1A0000</BaseAddress>
50      </Link>
51    </ItemDefinitionGroup>
52 @@ -234,7 +234,7 @@
53      </ClCompile>
54      <Link>
55        <AdditionalOptions>/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE %(AdditionalOptions)</AdditionalOptions>
56 -      <SubSystem>NotSet</SubSystem>
57 +      <SubSystem>Console</SubSystem>
58        <BaseAddress>0x1D1A0000</BaseAddress>
59        <TargetMachine>MachineX64</TargetMachine>
60      </Link>
61 diff -ur python3.org/PCbuild/_decimal.vcxproj python3/PCbuild/_decimal.vcxproj
62 --- python3.org/PCbuild/_decimal.vcxproj        2014-05-19 19:06:01.274114800 +0200
63 +++ python3/PCbuild/_decimal.vcxproj    2014-05-19 19:07:13.649079800 +0200
64 @@ -176,7 +176,7 @@
65        <AdditionalIncludeDirectories>..\Modules\_decimal;..\Modules\_decimal\libmpdec;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
66      </ClCompile>
67      <Link>
68 -      <SubSystem>NotSet</SubSystem>
69 +      <SubSystem>Console</SubSystem>
70        <BaseAddress>0x1D1A0000</BaseAddress>
71      </Link>
72    </ItemDefinitionGroup>
73 @@ -189,7 +189,7 @@
74        <AdditionalIncludeDirectories>..\Modules\_decimal;..\Modules\_decimal\libmpdec;..\Include;..\PC;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
75      </ClCompile>
76      <Link>
77 -      <SubSystem>NotSet</SubSystem>
78 +      <SubSystem>Console</SubSystem>
79        <BaseAddress>0x1D1A0000</BaseAddress>
80      </Link>
81    </ItemDefinitionGroup>
82 @@ -199,7 +199,7 @@
83        <AdditionalIncludeDirectories>..\Modules\_decimal;..\Modules\_decimal\libmpdec;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
84      </ClCompile>
85      <Link>
86 -      <SubSystem>NotSet</SubSystem>
87 +      <SubSystem>Console</SubSystem>
88        <BaseAddress>0x1D1A0000</BaseAddress>
89      </Link>
90    </ItemDefinitionGroup>
91 @@ -212,7 +212,7 @@
92        <AdditionalIncludeDirectories>..\Modules\_decimal;..\Modules\_decimal\libmpdec;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
93      </ClCompile>
94      <Link>
95 -      <SubSystem>NotSet</SubSystem>
96 +      <SubSystem>Console</SubSystem>
97        <BaseAddress>0x1D1A0000</BaseAddress>
98        <TargetMachine>MachineX64</TargetMachine>
99      </Link>
100 @@ -223,7 +223,7 @@
101        <AdditionalIncludeDirectories>..\Modules\_decimal;..\Modules\_decimal\libmpdec;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
102      </ClCompile>
103      <Link>
104 -      <SubSystem>NotSet</SubSystem>
105 +      <SubSystem>Console</SubSystem>
106        <BaseAddress>0x1D1A0000</BaseAddress>
107      </Link>
108    </ItemDefinitionGroup>
109 @@ -236,7 +236,7 @@
110        <AdditionalIncludeDirectories>..\Modules\_decimal;..\Modules\_decimal\libmpdec;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
111      </ClCompile>
112      <Link>
113 -      <SubSystem>NotSet</SubSystem>
114 +      <SubSystem>Console</SubSystem>
115        <BaseAddress>0x1D1A0000</BaseAddress>
116        <TargetMachine>MachineX64</TargetMachine>
117      </Link>