summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-20 03:08:02 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-20 03:08:02 -0500
commitd6e83c661c322d384574186dc2a2c9bf23b85755 (patch)
treea58d152bb23a23423e7a46135b5cae81b6c8934e
parentc7c6615d7a0173184f64e80ee649c22726d0a872 (diff)
downloadthirdparty-d6e83c661c322d384574186dc2a2c9bf23b85755.tar.gz
thirdparty-d6e83c661c322d384574186dc2a2c9bf23b85755.zip
Fix TDE filepickers in OpenOffice
-rw-r--r--libreoffice/3.3.2/patches/NOTES3
-rw-r--r--libreoffice/3.3.2/patches/libreoffice-trinity.diff2
2 files changed, 4 insertions, 1 deletions
diff --git a/libreoffice/3.3.2/patches/NOTES b/libreoffice/3.3.2/patches/NOTES
new file mode 100644
index 0000000..15a4f25
--- /dev/null
+++ b/libreoffice/3.3.2/patches/NOTES
@@ -0,0 +1,3 @@
+This patchset is intended for Debian and has not been tested on other systems, however the patch libreoffice-trinity.diff should apply cleanly to a stock LibreOffice source tree and function properly if enabled.
+
+After patch application, you will need to rerun autoconf from within the libreoffice-build directory in order to apply the changes made to configure.in
diff --git a/libreoffice/3.3.2/patches/libreoffice-trinity.diff b/libreoffice/3.3.2/patches/libreoffice-trinity.diff
index 7431c4c..812e4b0 100644
--- a/libreoffice/3.3.2/patches/libreoffice-trinity.diff
+++ b/libreoffice/3.3.2/patches/libreoffice-trinity.diff
@@ -10604,7 +10604,7 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil
++#endif
++
++ // The executable name
-++ const char *pFname = "tdefilepicker";
+++ char pFname[1024]; snprintf(pFname, sizeof pFname, "%s/%s", getenv("OLDPWD"), "tdefilepicker");
++
++ // ID of the main window
++ const int nIdLen = 20;