diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:41:42 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:41:42 +0000 |
commit | 5f6e7f6949fe1fba17b53a04af5b465f19b9b17d (patch) | |
tree | 336b116c7090225344e575c81b023f12aef39c5b /editors/openoffice-3-devel/files/patch-cppu::source::uno::data.cxx | |
parent | * add 2 missing man pages (diff) |
First step to make this port working. Configure works and all patches
apply now. There are still some compile errors to fix.
As you may see the patchnames are very long, but that makes
maintaining patches a lot easier.
Notes
Notes:
svn path=/head/; revision=68299
Diffstat (limited to 'editors/openoffice-3-devel/files/patch-cppu::source::uno::data.cxx')
-rw-r--r-- | editors/openoffice-3-devel/files/patch-cppu::source::uno::data.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/openoffice-3-devel/files/patch-cppu::source::uno::data.cxx b/editors/openoffice-3-devel/files/patch-cppu::source::uno::data.cxx new file mode 100644 index 000000000000..9c0e34bfb60b --- /dev/null +++ b/editors/openoffice-3-devel/files/patch-cppu::source::uno::data.cxx @@ -0,0 +1,20 @@ +--- ../cppu/source/uno/data.cxx.kan Wed Jul 24 23:39:23 2002 ++++ ../cppu/source/uno/data.cxx Wed Jul 24 23:38:49 2002 +@@ -295,7 +295,7 @@ + # pragma pack(8) + #endif + +-#if defined(__GNUC__) && defined(LINUX) && defined(INTEL) ++#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && defined(INTEL) + #define MAX_ALIGNMENT_4 + #endif + +@@ -307,7 +307,7 @@ + if (OFFSET_OF(s, m) != n) { fprintf( stderr, "### OFFSET_OF(" #s ", " #m ") = %d instead of expected %d!!!\n", OFFSET_OF(s, m), n ); abort(); } + + #ifdef DEBUG +-#if defined(__GNUC__) && defined(LINUX) && (defined(INTEL) || defined(POWERPC)) ++#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && (defined(INTEL) || defined(POWERPC)) + #define BINTEST_VERIFYSIZE( s, n ) \ + fprintf( stderr, "> sizeof(" #s ") = %d; __alignof__ (" #s ") = %d\n", sizeof(s), __alignof__ (s) ); \ + if (sizeof(s) != n) { fprintf( stderr, "### sizeof(" #s ") = %d instead of expected %d!!!\n", sizeof(s), n ); abort(); } |