Hi, I made some progress. Patch attached to this mail.
As usually: 1) apt-get source openoffice.org 2) cd openoffice.org-2.0.0/ 3) patch -p1 < ../compile-openoffice.patch 4) dpkg-buildpackage -rfakeroot -us -uc Then I get the following error: ============= Building project rhino ============= /home/fleury/devel/projects/openoffice/openoffice.org-2.0.0-1/ooo-build/build/ooo680-m3/rhino mkout -- version: 1.5 ------------- dmake: Error -- `./rhino1_5R4.patch' not found, and can't be made '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/fleury/devel/projects/openoffice/openoffice.org-2.0.0-1/ooo-build/build/ooo680-m3/rhino make[1]: *** [stamp/build] Error 1 make[1]: Leaving directory `/home/fleury/devel/projects/openoffice/openoffice.org-2.0.0-1/ooo-build' make: *** [debian/stampdir/build] Error 2 Regards -- Emmanuel Fleury Weekends don't count unless you spend them doing something completely pointless. -- Calvin & Hobbes (Bill Waterson)
diff -ruN openoffice.org-2.0.0/ooo-build/patches/64bit/buildfix-64bit-config_office.diff openoffice.org-2.0.0-2/ooo-build/patches/64bit/buildfix-64bit-config_office.diff --- openoffice.org-2.0.0/ooo-build/patches/64bit/buildfix-64bit-config_office.diff 2005-12-17 16:53:03.000000000 +0100 +++ openoffice.org-2.0.0-2/ooo-build/patches/64bit/buildfix-64bit-config_office.diff 2005-12-17 18:41:27.000000000 +0100 @@ -1,5 +1,14 @@ --- config_office/configure.in 2005-01-28 05:34:39.000000000 +0100 +++ config_office/configure.in 2005-01-28 05:36:21.000000000 +0100 +@@ -3357,7 +3385,7 @@ + AC_MSG_RESULT([external]) + SYSTEM_HUNSPELL=YES + AC_LANG(C++) +- AC_CHECK_HEADER(hunspell.hxx, [], ++ AC_CHECK_HEADER(hunspell/hunspell.hxx, [], + [AC_MSG_ERROR(hunspell headers not found.)], []) + AC_CHECK_LIB(hunspell, main, [], + [ AC_MSG_ERROR(hunspell library not found.) ], []) @@ -3481,17 +3481,17 @@ MOC="moc" if test "$test_kde" = "yes" -a "$ENABLE_KDE" = "TRUE" ; then diff -ruN openoffice.org-2.0.0/ooo-build/patches/64bit/intptr-basegfx.diff openoffice.org-2.0.0-2/ooo-build/patches/64bit/intptr-basegfx.diff --- openoffice.org-2.0.0/ooo-build/patches/64bit/intptr-basegfx.diff 1970-01-01 01:00:00.000000000 +0100 +++ openoffice.org-2.0.0-2/ooo-build/patches/64bit/intptr-basegfx.diff 2005-12-17 18:41:27.000000000 +0100 @@ -0,0 +1,11 @@ +--- basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx.orig 2005-12-17 01:11:26.000000000 +0100 ++++ basegfx/source/polygon/b2dpolypolygonrasterconverter.cxx 2005-12-17 01:11:51.000000000 +0100 +@@ -121,7 +121,7 @@ + m_indices2 = new sal_uInt32[nNumElements]; + + // check for out of memory situation +- if(!((sal_uInt32)m_indices1|(sal_uInt32)m_indices2)) { ++ if(!((sal_IntPtr)m_indices1|(sal_IntPtr)m_indices2)) { + delete [] m_indices1; + delete [] m_indices2; + m_indices1 = NULL; diff -ruN openoffice.org-2.0.0/ooo-build/patches/OOO_2_0/apply openoffice.org-2.0.0-2/ooo-build/patches/OOO_2_0/apply --- openoffice.org-2.0.0/ooo-build/patches/OOO_2_0/apply 2005-12-17 16:53:03.000000000 +0100 +++ openoffice.org-2.0.0-2/ooo-build/patches/OOO_2_0/apply 2005-12-17 18:44:04.000000000 +0100 @@ -32,7 +32,7 @@ DebianBase : LinuxCommon, SystemDB, DebianBaseOnly Debian : DebianBase, DebianOnly, DebianSidOnly DebianSarge : DebianBase, DebianOnly, DebianSargeOnly -Debian64 : DebianBase, 64bit, DebianOnly +Debian64 : DebianBase, 64bit, DebianOnly, IntPtr # Ubuntu Ubuntu: DebianBase, UbuntuOnly Ubuntu64: DebianBase, 64bit, UbuntuOnly @@ -782,6 +782,7 @@ [ IntPtr ] # Introduce sal_IntPtr and sal_uIntPtr #54498, CWS intptr +intptr-basegfx.diff intptr-basic.diff intptr-bridges.diff intptr-connectivity.diff @@ -822,7 +823,7 @@ # TODO check zforlist for correctness cws-ooo64bit02.2005-04-19.diff -cws-ooo64bit02.2005-04-19-math-h.diff +# cws-ooo64bit02.2005-04-19-math-h.diff # Temporary hacks buildfix-64bit-basic.diff @@ -831,7 +832,7 @@ buildfix-64bit-dbaccess.diff buildfix-64bit-forms.diff buildfix-64bit-fpicker.diff -buildfix-64bit-sc.diff +# buildfix-64bit-sc.diff buildfix-64bit-setup_native.diff buildfix-64bit-svtools.diff buildfix-64bit-svx.diff @@ -872,6 +873,8 @@ # in fact this patches automation buildfix-64bit-automation.diff +# BigInt fixes +bigint-sd-sfx2-sw-tools.diff [ JDK150 ] # You need 64bit java, e.g. JDK 1.5.0 for AMD64: