ooo-build r14805 - in branches/ooo-build-3-0-1: . patches/dev300



Author: rengelhard
Date: Wed Dec 10 03:26:49 2008
New Revision: 14805
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14805&view=rev

Log:
        * patches/dev300/apply, patches/dev300/cws-swffixes02.diff: fix build
          after cws swffixes


Added:
   branches/ooo-build-3-0-1/patches/dev300/cws-swffixes02.diff
Modified:
   branches/ooo-build-3-0-1/ChangeLog
   branches/ooo-build-3-0-1/patches/dev300/apply

Modified: branches/ooo-build-3-0-1/patches/dev300/apply
==============================================================================
--- branches/ooo-build-3-0-1/patches/dev300/apply	(original)
+++ branches/ooo-build-3-0-1/patches/dev300/apply	Wed Dec 10 03:26:49 2008
@@ -527,7 +527,7 @@
 # WebDAV locking implementation - the original version
 # This is forward-ported from ooo-build-2-4-1, because the version for
 # up-streaming still does not work as expected :-(
-webdav-locking-from-ooo-build-2-4-1.diff
+#FIXME#webdav-locking-from-ooo-build-2-4-1.diff
 # fix saving files on Novell teaming via WebDaV
 webdav-locking-local-temp-file.diff, bnc#440514, kendy
 
@@ -996,6 +996,10 @@
 # OpenJDK paths for some archs
 config_office-openjdk-paths.diff, i91783
 
+[ BuildBits >= ooo300-m13 ]
+# fix build after cws swffixes
+cws-swffixes02.diff, i#96970
+
 [ Gcc43 ]
 # gcc 4.3 requires #include <string.h> for strdup, memcmp etc.
 buildfix-bridges-strdup-header.diff, i#89762, kohei

Added: branches/ooo-build-3-0-1/patches/dev300/cws-swffixes02.diff
==============================================================================
--- (empty file)
+++ branches/ooo-build-3-0-1/patches/dev300/cws-swffixes02.diff	Wed Dec 10 03:26:49 2008
@@ -0,0 +1,170 @@
+Index: source/plugin/base/makefile.mk
+===================================================================
+RCS file: /cvs/util/extensions/source/plugin/base/makefile.mk,v
+retrieving revision 1.14.64.1
+retrieving revision 1.14.64.1.2.1
+diff -u -r1.14.64.1 -r1.14.64.1.2.1
+--- extensions/source/plugin/base/makefile.mk	19 Nov 2008 15:01:51 -0000	1.14.64.1
++++ extensions/source/plugin/base/makefile.mk	9 Dec 2008 16:08:38 -0000	1.14.64.1.2.1
+@@ -55,11 +55,6 @@
+ CFLAGSCXX+=$(OBJCXXFLAGS)
+ .ENDIF  # "$(GUIBASE)"=="aqua"
+ 
+-.IF "$(GUIBASE)" == "unx" && "$(ENABLE_GTK)" == "TRUE"
+-PKGCONFIG_MODULES=gtk+-2.0
+-.INCLUDE : pkg_config.mk
+-.ENDIF
+-
+ SLOFILES=		\
+ 				$(SLO)$/plctrl.obj		\
+ 				$(SLO)$/service.obj		\
+Index: source/plugin/inc/plugin/unx/plugcon.hxx
+===================================================================
+RCS file: /cvs/util/extensions/source/plugin/inc/plugin/unx/plugcon.hxx,v
+retrieving revision 1.13.64.1
+retrieving revision 1.13.64.1.2.1
+diff -u -r1.13.64.1 -r1.13.64.1.2.1
+--- extensions/source/plugin/inc/plugin/unx/plugcon.hxx	19 Nov 2008 15:02:20 -0000	1.13.64.1
++++ extensions/source/plugin/inc/plugin/unx/plugcon.hxx	9 Dec 2008 16:08:38 -0000	1.13.64.1.2.1
+@@ -77,6 +77,27 @@
+ #define MOZ_X11
+ #endif
+ 
++//http://qa.openoffice.org/issues/show_bug.cgi?id=82545
++//https://bugzilla.mozilla.org/show_bug.cgi?id=241262
++#ifdef UNIX
++#  ifndef _UINT32
++#    if defined(__alpha) || defined(__LP64__)
++       typedef unsigned int uint32;
++#    else  /* __alpha */
++       typedef unsigned long uint32;
++#    endif
++#    define _UINT32
++#  endif
++#  ifndef _INT32
++#    if defined(__alpha) || defined(__LP64__)
++       typedef int int32;
++#    else  /* __alpha */
++       typedef long int32;
++#    endif
++#    define _INT32
++#  endif
++#endif
++
+ #ifndef _NPAPI_H_
+ extern "C" {
+ #include <npsdk/npupp.h>
+Index: source/plugin/unx/makefile.mk
+===================================================================
+RCS file: /cvs/util/extensions/source/plugin/unx/makefile.mk,v
+retrieving revision 1.15.64.1
+retrieving revision 1.15.64.1.2.1
+diff -u -r1.15.64.1 -r1.15.64.1.2.1
+--- extensions/source/plugin/unx/makefile.mk	19 Nov 2008 15:02:32 -0000	1.15.64.1
++++ extensions/source/plugin/unx/makefile.mk	9 Dec 2008 16:08:38 -0000	1.15.64.1.2.1
+@@ -58,12 +58,6 @@
+ CDEFS+=-DDISABLE_XAW
+ .ENDIF
+ 
+-.IF "$(ENABLE_GTK)" == "TRUE"
+-CDEFS+=-DENABLE_GTK
+-PKGCONFIG_MODULES=gtk+-2.0 gthread-2.0
+-.INCLUDE : pkg_config.mk
+-.ENDIF
+-
+ SLOFILES=\
+ 	$(SLO)$/nppapi.obj		\
+ 	$(SLO)$/sysplug.obj		\
+Index: source/plugin/unx/npnapi.cxx
+===================================================================
+RCS file: /cvs/util/extensions/source/plugin/unx/npnapi.cxx,v
+retrieving revision 1.11.102.2
+retrieving revision 1.11.102.2.2.1
+diff -u -r1.11.102.2 -r1.11.102.2.2.1
+--- extensions/source/plugin/unx/npnapi.cxx	3 Dec 2008 14:22:52 -0000	1.11.102.2
++++ extensions/source/plugin/unx/npnapi.cxx	9 Dec 2008 16:08:38 -0000	1.11.102.2.2.1
+@@ -51,13 +51,14 @@
+     if( nInstance == PluginConnector::UnknownNPPID )
+         return NPERR_GENERIC_ERROR;
+     
++	UINT32 nFileID = pConnector->GetStreamID( stream );
+ 	MediatorMessage* pMes=
+ 		pConnector->
+ 		Transact( eNPN_DestroyStream,
+ 				  &nInstance, sizeof( nInstance ),
+-				  pConnector->GetStreamID( stream ), sizeof( int ),
++				  &nFileID, sizeof( nFileID ),
+ 				  POST_STRING( stream->url ),
+-				  reason, sizeof( reason ),
++				  &reason, sizeof( reason ),
+ 				  NULL );
+ 
+ 	if( ! pMes )
+Index: source/plugin/unx/nppapi.cxx
+===================================================================
+RCS file: /cvs/util/extensions/source/plugin/unx/nppapi.cxx,v
+retrieving revision 1.7.102.1
+retrieving revision 1.7.102.1.2.1
+diff -u -r1.7.102.1 -r1.7.102.1.2.1
+--- extensions/source/plugin/unx/nppapi.cxx	19 Nov 2008 15:03:06 -0000	1.7.102.1
++++ extensions/source/plugin/unx/nppapi.cxx	9 Dec 2008 16:08:39 -0000	1.7.102.1.2.1
+@@ -397,7 +397,7 @@
+ 							   saved ? saved->len : 0 ) );
+ 
+ 	char *pArgnBuf, *pArgvBuf;
+-	int nArgnLen = 0, nArgvLen = 0;
++	size_t nArgnLen = 0, nArgvLen = 0;
+ 	int i;
+ 	for( i = 0; i < argc; i++ )
+ 	{
+@@ -425,7 +425,7 @@
+ 					  &argc, sizeof( argc ),
+ 					  pArgnBuf, nArgnLen,
+ 					  pArgvBuf, nArgvLen,
+-					  saved->buf, saved->len,
++					  saved->buf, static_cast<size_t>(saved->len),
+ 					  NULL );
+ 	else
+ 		pMes = 
+@@ -435,7 +435,7 @@
+ 					  &argc, sizeof( argc ),
+ 					  pArgnBuf, nArgnLen,
+ 					  pArgvBuf, nArgvLen,
+-					  "0000", 4,
++					  "0000", size_t(4),
+ 					  NULL );
+ 	delete [] pArgnBuf;
+ 	delete [] pArgvBuf;
+@@ -542,7 +542,7 @@
+ 				  POST_INSTANCE(),
+ 				  &nFileID, sizeof( nFileID ),
+ 				  &offset, sizeof( offset ),
+-				  buffer, len,
++				  buffer, static_cast<size_t>(len),
+ 				  NULL );
+ 	if( ! pMes )
+ 		return 0;
+Index: source/plugin/util/makefile.pmk
+===================================================================
+RCS file: /cvs/util/extensions/source/plugin/util/makefile.pmk,v
+retrieving revision 1.8
+retrieving revision 1.8.100.1
+diff -u -r1.8 -r1.8.100.1
+--- extensions/source/plugin/util/makefile.pmk	11 Apr 2008 10:30:16 -0000	1.8
++++ extensions/source/plugin/util/makefile.pmk	9 Dec 2008 16:08:39 -0000	1.8.100.1
+@@ -34,6 +34,14 @@
+ 
+ .IF "$(SYSTEM_MOZILLA)" == "YES"
+ CFLAGS+=-DSYSTEM_MOZILLA
+-PKGCONFIG_MODULES=$(MOZ_FLAVOUR)-plugin
++PKGCONFIG_MODULES+=$(MOZ_FLAVOUR)-plugin
++.ENDIF
++
++.IF "$(GUIBASE)" == "unx" && "$(ENABLE_GTK)" == "TRUE"
++CDEFS+=-DENABLE_GTK
++PKGCONFIG_MODULES+=gtk+-2.0 gthread-2.0
++.ENDIF
++
++.IF "$(PKGCONFIG_MODULES)" != ""
+ .INCLUDE : pkg_config.mk
+ .ENDIF



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]