]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-gcc3-1.patch
- up
[packages/libreoffice.git] / openoffice-gcc3-1.patch
CommitLineData
d1b7fe6d 1--- oo_1.0.1_src/cppu/inc/uno/lbnames.h.jj Thu Jul 18 14:41:47 2002
2+++ oo_1.0.1_src/cppu/inc/uno/lbnames.h Thu Jul 18 15:19:43 2002
3@@ -96,12 +96,10 @@ provoking error here, because PP ignores
4 #define __CPPU_ENV gcc2
5 #elif (__GNUC__ == 2)
6 #error "Tested gcc 2 versions are 2.91 and 2.95. Patch uno/lbnames.h to try your gcc 2 version."
7-#elif (__GNUC__ == 3 && __GNUC_MINOR__ == 0)
8+#elif (__GNUC__ == 3 && __GNUC_MINOR__ <= 2)
9 #define __CPPU_ENV gcc3
10-#elif (__GNUC__ == 3 && __GNUC_MINOR__ == 1)
11-#define __CPPU_ENV gcc3
12 #elif (__GNUC__ == 3)
13-#error "Tested gcc 3 version is <= 3.1. Patch uno/lbnames.h to try your gcc 3 version."
14+#error "Tested gcc 3 version is <= 3.2. Patch uno/lbnames.h to try your gcc 3 version."
15 #else
16 #error "Supported gcc majors are 2 and 3. Unsupported gcc major version."
17 #endif /* defined (__GNUC__) */
18--- oo_1.0.1_src/product/inc/scp/udk_basefiles.scp.jj Fri Jun 7 20:15:12 2002
19+++ oo_1.0.1_src/product/inc/scp/udk_basefiles.scp Thu Jul 18 15:22:54 2002
20@@ -13,9 +13,10 @@ End
21
22 #if ( CCNUMVER >= 000300010000 )
23
24+#ifdef NOTHING
25 File gid_File_Lib_Stdc
26 BIN_FILE_BODY;
27- Name = STRING(libstdc++.so.4.0.0);
d22a4a6d 28+ Name = STRING(libstdc++.so.5.0.1);
d1b7fe6d 29 Dir = GCFG_BINARY_DIR;
30 Styles = (PACKED, SETUPZIP);
31 End
32@@ -27,6 +28,7 @@ Shortcut gid_Shortcut_Lib_Stdc
33 Styles = (NETWORK,RELATIVE);
34 End
35
36+#endif
37 #else
38
39 File gid_File_Lib_Stdc
40--- oo_1.0.1_src/product/util/makefile.mk.jj Tue Jun 11 17:09:39 2002
41+++ oo_1.0.1_src/product/util/makefile.mk Thu Jul 18 15:22:00 2002
42@@ -117,8 +117,8 @@ BINDINGDLL=$(COMNAME)_uno
43 ADDITIONAL_DLLS= \
44 $(DESTDIRDLL)$/libgcc_s.so.1 \
45 $(DESTDIRDLL)$/libgcc_s.so \
46- $(DESTDIRDLL)$/libstdc++.so.4 \
47- $(DESTDIRDLL)$/libstdc++.so.4.0.0
d22a4a6d 48+ $(DESTDIRDLL)$/libstdc++.so.5 \
49+ $(DESTDIRDLL)$/libstdc++.so.5.0.1
d1b7fe6d 50 .ELSE
51 ADDITIONAL_DLLS= \
52 $(DESTDIRDLL)$/libgcc_s.so.1 \
53@@ -500,13 +500,13 @@ $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX
54
55 .IF "$(CCNUMVER)">="000300010000"
56
57-$(DESTDIRDLL)$/libstdc++.so.4.0.0 : $(DLLOUT)$/libstdc++.so.4.0.0 $(DIRLIST)
d22a4a6d 58+$(DESTDIRDLL)$/libstdc++.so.5.0.1 : $(DLLOUT)$/libstdc++.so.5.0.1 $(DIRLIST)
d1b7fe6d 59 -rm -f $@
60- $(GNUCOPY) -p $(DLLOUT)$/libstdc++.so.4.0.0 $@
d22a4a6d 61+ $(GNUCOPY) -p $(DLLOUT)$/libstdc++.so.5.0.1 $@
d1b7fe6d 62
63-$(DESTDIRDLL)$/libstdc++.so.4 : $(DESTDIRDLL)$/libstdc++.so.4.0.0 $(DIRLIST)
d22a4a6d 64+$(DESTDIRDLL)$/libstdc++.so.5 : $(DESTDIRDLL)$/libstdc++.so.5.0.1 $(DIRLIST)
d1b7fe6d 65 -rm -f $@
66- +ln -s libstdc++.so.4.0.0 $@
d22a4a6d 67+ +ln -s libstdc++.so.5.0.1 $@
d1b7fe6d 68
69 .ELSE
70
This page took 0.111899 seconds and 4 git commands to generate.