summaryrefslogtreecommitdiff
path: root/editors/openoffice-devel/files
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2018-06-12 04:00:07 +0000
committerDon Lewis <truckman@FreeBSD.org>2018-06-12 04:00:07 +0000
commit5183d6d6ee0a225c3e1112e8b3a72ba71e2e03f6 (patch)
tree2abf702240ad25d281de74c6ab51442027a3b826 /editors/openoffice-devel/files
parentInstead of symlinking the directory containing the OpenOffice .desktop (diff)
Upgrade to Apache OpenOffice trunk SVN revsion r1833124. This includes
the bug fix in extra-patch-align16 needed for amd64. [1] Instead of symlinking the directory containing the OpenOffice .desktop files under $PREFIX/share/applications, symlink the individual .desktop files. This is what upstream does on Linux and what LibreOffice does as well. The Plasma 5 desktop ignores symlinks to directories when it is scanning for .desktop files. PR: 228030 [1] Reported by: kan
Notes
Notes: svn path=/head/; revision=472230
Diffstat (limited to 'editors/openoffice-devel/files')
-rw-r--r--editors/openoffice-devel/files/extra-patch-align1670
1 files changed, 0 insertions, 70 deletions
diff --git a/editors/openoffice-devel/files/extra-patch-align16 b/editors/openoffice-devel/files/extra-patch-align16
deleted file mode 100644
index 6d778661e386..000000000000
--- a/editors/openoffice-devel/files/extra-patch-align16
+++ /dev/null
@@ -1,70 +0,0 @@
---- sal/cpprt/operators_new_delete.cxx.orig 2014-09-19 17:58:40 UTC
-+++ sal/cpprt/operators_new_delete.cxx
-@@ -68,7 +68,7 @@ struct AllocatorTraits
- {
- n = std::max(n, std::size_t(1));
- #if OSL_DEBUG_LEVEL > 0
-- n += sizeof(signature_type);
-+ n += 2*sizeof(signature_type);
- #endif /* OSL_DEBUG_LEVEL */
- return n;
- }
-@@ -77,7 +77,7 @@ struct AllocatorTraits
- {
- #if OSL_DEBUG_LEVEL > 0
- memcpy (p, m_signature, sizeof(signature_type));
-- p = static_cast<char*>(p) + sizeof(signature_type);
-+ p = static_cast<char*>(p) + 2*sizeof(signature_type);
- #endif /* OSL_DEBUG_LEVEL */
- return p;
- }
-@@ -85,7 +85,7 @@ struct AllocatorTraits
- void* fini (void * p) const SAL_THROW(())
- {
- #if OSL_DEBUG_LEVEL > 0
-- p = static_cast<char*>(p) - sizeof(signature_type);
-+ p = static_cast<char*>(p) - 2*sizeof(signature_type);
- if (memcmp (p, m_signature, sizeof(signature_type)) != 0)
- {
- OSL_ENSURE(0, "operator delete mismatch");
---- sal/rtl/source/alloc_cache.c.orig 2016-06-21 21:57:07 UTC
-+++ sal/rtl/source/alloc_cache.c
-@@ -894,7 +894,9 @@ rtl_cache_activate (
- if (objalign == 0)
- {
- /* determine default alignment */
-- if (objsize >= RTL_MEMORY_ALIGNMENT_8)
-+ if (objsize >= RTL_MEMORY_ALIGNMENT_16)
-+ objalign = RTL_MEMORY_ALIGNMENT_16;
-+ else if (objsize >= RTL_MEMORY_ALIGNMENT_8)
- objalign = RTL_MEMORY_ALIGNMENT_8;
- else
- objalign = RTL_MEMORY_ALIGNMENT_4;
---- sal/rtl/source/alloc_global.c.orig 2016-06-21 21:57:06 UTC
-+++ sal/rtl/source/alloc_global.c
-@@ -75,8 +75,8 @@ static rtl_cache_type * g_alloc_caches[R
- 0,
- };
-
--#define RTL_MEMALIGN 8
--#define RTL_MEMALIGN_SHIFT 3
-+#define RTL_MEMALIGN 16
-+#define RTL_MEMALIGN_SHIFT 4
-
- static rtl_cache_type * g_alloc_table[RTL_MEMORY_CACHED_LIMIT >> RTL_MEMALIGN_SHIFT] =
- {
---- sal/rtl/source/alloc_impl.h.orig 2014-09-19 17:59:16 UTC
-+++ sal/rtl/source/alloc_impl.h
-@@ -45,6 +45,12 @@ extern "C" {
- #define RTL_MEMORY_ALIGNMENT_8 sizeof(void*)
- #endif /* SAL_TYPES_ALIGNMENT8 */
-
-+#if defined(SAL_TYPES_ALIGNMENT16) && SAL_TYPES_ALIGNMENT16 > 1
-+#define RTL_MEMORY_ALIGNMENT_16 SAL_TYPES_ALIGNMENT16
-+#else
-+#define RTL_MEMORY_ALIGNMENT_16 16
-+#endif /* SAL_TYPES_ALIGNMENT16 */
-+
- #if 0 /* @@@ */
- #define RTL_MEMORY_ALIGNMENT_1 8
- #define RTL_MEMORY_ALIGNMENT_2 (sizeof(void*) * 2)