diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2007-01-25 08:57:54 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2007-01-25 08:57:54 +0000 |
commit | ed9ce6af4e25f1f5581f81de24e61a6af1d3d39e (patch) | |
tree | 86b422bec125bc31de51c8c622b21824e2fadd30 /app-office | |
parent | Regenerate Manifest (bug #163701) (diff) | |
download | gentoo-2-ed9ce6af4e25f1f5581f81de24e61a6af1d3d39e.tar.gz gentoo-2-ed9ce6af4e25f1f5581f81de24e61a6af1d3d39e.tar.bz2 gentoo-2-ed9ce6af4e25f1f5581f81de24e61a6af1d3d39e.zip |
Add fix for regcomp-crasher on PPC, see bug #162217
(Portage version: 2.1.2-r4)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/openoffice/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/openoffice/files/2.1.0/disable-regcomp-java.diff | 12 | ||||
-rw-r--r-- | app-office/openoffice/files/2.1.0/disable-regcomp-python.diff | 12 | ||||
-rw-r--r-- | app-office/openoffice/files/2.1.0/regcompapply.diff | 13 | ||||
-rw-r--r-- | app-office/openoffice/openoffice-2.1.0.ebuild | 8 |
5 files changed, 51 insertions, 2 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog index 215d207459a5..88f8fe4a6712 100644 --- a/app-office/openoffice/ChangeLog +++ b/app-office/openoffice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/openoffice # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.300 2007/01/25 08:24:51 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.301 2007/01/25 08:57:54 suka Exp $ + + 25 Jan 2007; Andreas Proschofsky <suka@gentoo.org> + +files/2.1.0/disable-regcomp-java.diff, + +files/2.1.0/disable-regcomp-python.diff, +files/2.1.0/regcompapply.diff, + openoffice-2.1.0.ebuild: + Add fix for regcomp-crasher on PPC, see bug #162217 25 Jan 2007; Andreas Proschofsky <suka@gentoo.org> openoffice-2.1.0.ebuild: diff --git a/app-office/openoffice/files/2.1.0/disable-regcomp-java.diff b/app-office/openoffice/files/2.1.0/disable-regcomp-java.diff new file mode 100644 index 000000000000..f9a1ff10a483 --- /dev/null +++ b/app-office/openoffice/files/2.1.0/disable-regcomp-java.diff @@ -0,0 +1,12 @@ +Workaround, see http://www.openoffice.org/issues/show_bug.cgi?id=65026 +--- solenv/bin/modules/installer/servicesfile.pm.orig 2006-04-29 11:25:25.000000000 +0200 ++++ solenv/bin/modules/installer/servicesfile.pm 2006-04-29 12:24:45.000000000 +0200 +@@ -471,7 +473,7 @@ + $python_error_occured = 0; + + if ( $#unocomponents > -1 ) { $uno_error_occured = register_unocomponents(\@unocomponents, $regcompfileref, $servicesfile); } +- if ( $#javacomponents > -1 ) { $java_error_occured = register_javacomponents(\@javacomponents, $regcompfileref, $servicesfile, $regcomprdb); } ++ if ( 0 ) { $java_error_occured = register_javacomponents(\@javacomponents, $regcompfileref, $servicesfile, $regcomprdb); } + if ( $#pythoncomponents > -1 ) { $python_error_occured = register_pythoncomponents(\@pythoncomponents, $regcompfileref, $servicesfile, $includepatharrayref); } + + if ( $uno_error_occured || $java_error_occured || $python_error_occured ) { $registererrorflag = 1; } diff --git a/app-office/openoffice/files/2.1.0/disable-regcomp-python.diff b/app-office/openoffice/files/2.1.0/disable-regcomp-python.diff new file mode 100644 index 000000000000..e63a91f009eb --- /dev/null +++ b/app-office/openoffice/files/2.1.0/disable-regcomp-python.diff @@ -0,0 +1,12 @@ +Workaround, see http://www.openoffice.org/issues/show_bug.cgi?id=65026 +--- solenv/bin/modules/installer/servicesfile.pm.orig 2006-10-23 13:49:24.000000000 +0200 ++++ solenv/bin/modules/installer/servicesfile.pm 2006-10-23 13:50:04.000000000 +0200 +@@ -472,7 +472,7 @@ + + if ( $#unocomponents > -1 ) { $uno_error_occured = register_unocomponents(\@unocomponents, $regcompfileref, $servicesfile); } + if ( 0 ) { $java_error_occured = register_javacomponents(\@javacomponents, $regcompfileref, $servicesfile, $regcomprdb); } +- if ( $#pythoncomponents > -1 ) { $python_error_occured = register_pythoncomponents(\@pythoncomponents, $regcompfileref, $servicesfile, $includepatharrayref); } ++ if ( 0 ) { $python_error_occured = register_pythoncomponents(\@pythoncomponents, $regcompfileref, $servicesfile, $includepatharrayref); } + + if ( $uno_error_occured || $java_error_occured || $python_error_occured ) { $registererrorflag = 1; } + diff --git a/app-office/openoffice/files/2.1.0/regcompapply.diff b/app-office/openoffice/files/2.1.0/regcompapply.diff new file mode 100644 index 000000000000..007a74949a6b --- /dev/null +++ b/app-office/openoffice/files/2.1.0/regcompapply.diff @@ -0,0 +1,13 @@ +--- patches/src680/apply ++++ patches/src680/apply +@@ -1089,6 +1089,9 @@ + system-db-check.diff, i#65979, hmth + # User ~/.ooo-2.0 as user dir + scp2-user-config-ooo-2.0.diff, pmladek ++#fix build on ppc ++disable-regcomp-java.diff ++disable-regcomp-python.diff + + [ DebianBaseOnly ] + SectionOwner => rengelha + diff --git a/app-office/openoffice/openoffice-2.1.0.ebuild b/app-office/openoffice/openoffice-2.1.0.ebuild index 595073f60c44..9a4a0acc1075 100644 --- a/app-office/openoffice/openoffice-2.1.0.ebuild +++ b/app-office/openoffice/openoffice-2.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.1.0.ebuild,v 1.13 2007/01/25 08:24:51 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.1.0.ebuild,v 1.14 2007/01/25 08:57:54 suka Exp $ WANT_AUTOCONF="2.5" WANT_AUTOMAKE="1.9" @@ -200,6 +200,12 @@ src_unpack() { epatch ${FILESDIR}/${PV}/wrapper-readd.diff cp -f ${FILESDIR}/${PV}/ooo-wrapper.in ${S}/bin || die + if use ppc ; then + cp -f ${FILESDIR}/${PV}/disable-regcomp-java.diff ${S}/patches/src680 || die + cp -f ${FILESDIR}/${PV}/disable-regcomp-python.diff ${S}/patches/src680 || die + epatch ${FILESDIR}/${PV}/regcompapply.diff + fi + #Use flag checks if use java ; then echo "--with-ant-home=${ANT_HOME}" >> ${CONFFILE} |