diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2006-09-14 16:36:02 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2006-09-14 16:36:02 +0000 |
commit | 9c21328f44850be63b5209792f394b1dfd9df93a (patch) | |
tree | c35a00228a54627a05f8a9f36c0d72ec3a266cda /app-office/openoffice/files | |
parent | * bump (diff) | |
download | gentoo-2-9c21328f44850be63b5209792f394b1dfd9df93a.tar.gz gentoo-2-9c21328f44850be63b5209792f394b1dfd9df93a.tar.bz2 gentoo-2-9c21328f44850be63b5209792f394b1dfd9df93a.zip |
Add a patch which solves a problem with saving documents, see bug #147493
(Portage version: 2.1.1)
Diffstat (limited to 'app-office/openoffice/files')
-rw-r--r-- | app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff | 32 | ||||
-rw-r--r-- | app-office/openoffice/files/2.0.4_rc1/sfx2-docfile-newfilesave.diff | 13 |
2 files changed, 40 insertions, 5 deletions
diff --git a/app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff b/app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff index 6b9ff00fcff5..94cd96817dfd 100644 --- a/app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff +++ b/app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff @@ -42,16 +42,34 @@ cp -af $TOOLSDIR/src/*.dic $OOBUILDDIR/extras/source/wordbook || exit 1; --- patches/src680/apply +++ patches/src680/apply -@@ -1014,8 +1014,6 @@ +@@ -150,6 +150,9 @@ + + # add SPARC platform to automation + automation-sparc-platform.diff, i#66140, rengelha ++ ++#Fix new file save error in ood-m1 and ood-m2 ++sfx2-docfile-newfilesave.diff, i#69232 jianhua + + # [ LinuxOnly ] + +@@ -1008,16 +1011,10 @@ + + # system STLport + dont-copy-and-install-stlport.diff, i#63732, rengelha +-# support server-only versions of 64bit JDKs +-64bit-jdk-server-paths.diff, i#65974 + # throw also Java exception on JNI error jni-throw-exception.diff, i#65977 # system db check system-db-check.diff, i#65979 -# Gentoo's portaudio ... -system-portaudio-use-lpthread.diff - # use IBM j9vm over IBM classic JVM - ibm-j9vm.diff +-# use IBM j9vm over IBM classic JVM +-ibm-j9vm.diff -@@ -1031,7 +1029,10 @@ + [ GentooOnly ] + SectionOwner => aprosky +@@ -1031,7 +1028,14 @@ gentoo-gcc-naming-and-versioning.diff, hmth # build with -fomit-frame-pointer #omit-fp-workaround.diff, i#50625, hmth @@ -60,10 +78,14 @@ +xmlhelp-use-libxslt-from-system.diff, i#30380, rengelha +# Gentoo's portaudio ... +system-portaudio-use-lpthread.diff, hmth ++# support server-only versions of 64bit JDKs ++64bit-jdk-server-paths.diff, i#65974, hmth ++# use IBM j9vm over IBM classic JVM ++ibm-j9vm.diff, hmth [ DebianBaseOnly ] SectionOwner => rengelha -@@ -1494,8 +1495,6 @@ +@@ -1494,8 +1498,6 @@ [ GentooExperimental ] SectionOwner => hmth diff --git a/app-office/openoffice/files/2.0.4_rc1/sfx2-docfile-newfilesave.diff b/app-office/openoffice/files/2.0.4_rc1/sfx2-docfile-newfilesave.diff new file mode 100644 index 000000000000..f270c8a78b7b --- /dev/null +++ b/app-office/openoffice/files/2.0.4_rc1/sfx2-docfile-newfilesave.diff @@ -0,0 +1,13 @@ +--- sfx2/source/doc/docfile.cxx 2006-09-02 00:25:16.000000000 +0800 ++++ sfx2/source/doc/docfile.cxx 2006-09-04 17:16:59.000000000 +0800 +@@ -2274,7 +2274,9 @@ void SfxMedium::GetMedium_Impl() + } + + //TODO/MBA: ErrorHandling - how to transport error from MediaDescriptor +- if ( !GetError() && !pImp->xStream.is() && !pImp->xInputStream.is() ) ++ //When you create a new file, it will cause the file set Error. but it is correct. ++ //And the pURLObj will mark the file is new one or opened -- base on gdb. ++ if ( !GetError() && !pImp->xStream.is() && !pImp->xInputStream.is() && pURLObj) + SetError( ERRCODE_IO_ACCESSDENIED ); + + if ( !GetError() ) |