pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/openoffice3 fix build after xulrunner-1.9.2.2 update



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f51f0a2e4759
branches:  trunk
changeset: 573419:f51f0a2e4759
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Mar 16 15:58:54 2010 +0000

description:
fix build after xulrunner-1.9.2.2 update

diffstat:

 misc/openoffice3/distinfo         |   3 ++-
 misc/openoffice3/options.mk       |   6 ++----
 misc/openoffice3/patches/patch-af |  18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 5 deletions(-)

diffs (66 lines):

diff -r f1b1496c9a01 -r f51f0a2e4759 misc/openoffice3/distinfo
--- a/misc/openoffice3/distinfo Tue Mar 16 15:57:47 2010 +0000
+++ b/misc/openoffice3/distinfo Tue Mar 16 15:58:54 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2009/09/19 11:06:53 tnn Exp $
+$NetBSD: distinfo,v 1.26 2010/03/16 15:58:54 tnn Exp $
 
 SHA1 (openoffice-3.1.1/OOo_3.1.1_src_binfilter.tar.bz2) = 3b4d0d312a1bed9bdb1bbdfb172fa7361533b498
 RMD160 (openoffice-3.1.1/OOo_3.1.1_src_binfilter.tar.bz2) = 8caa064f836e531035fd551cf2d7288ca5188da0
@@ -20,6 +20,7 @@
 SHA1 (patch-ac) = ed6d84d40c3543eed754d74a5e65caf137f31c3d
 SHA1 (patch-ad) = 8f7afec29d927db694bf511ffd615fe903cc46dc
 SHA1 (patch-ae) = 754b79eaca1dc872d61a7f8fd79d7ee8d0a17b39
+SHA1 (patch-af) = 553e67c7afd8506515ae40a252d4e26dce59fc51
 SHA1 (patch-ag) = 6c2f17424cfc85b5bc923a650167f14b7acabfd4
 SHA1 (patch-ah) = e0a7dd2bf36e5009b5b8a5ddc593a5a78c01a012
 SHA1 (patch-ai) = 268c8107052d2650a78d8048513f4acb2a1ee0f1
diff -r f1b1496c9a01 -r f51f0a2e4759 misc/openoffice3/options.mk
--- a/misc/openoffice3/options.mk       Tue Mar 16 15:57:47 2010 +0000
+++ b/misc/openoffice3/options.mk       Tue Mar 16 15:58:54 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.20 2010/03/05 14:30:01 wiz Exp $
+# $NetBSD: options.mk,v 1.21 2010/03/16 15:58:54 tnn Exp $
 #
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.openoffice3
@@ -42,8 +42,6 @@
 
 .if !empty(PKG_OPTIONS:Mxulrunner)
 CONFIGURE_ARGS+=       --with-system-mozilla=mozilla
-BUILDLINK_API_DEPENDS.xulrunner+=      xulrunner>=1.9.1.2nb5
-BUILDLINK_API_DEPENDS.xulrunner+=      xulrunner<1.9.2.2pre
 .include "../../devel/xulrunner/buildlink3.mk"
 #
 # OOo ships headers that are too old and conflict with xulrunner headers.
@@ -54,7 +52,7 @@
 post-wrapper:  copy-mozilla-headers
 copy-mozilla-headers:
        cp \
-         ${BUILDLINK_DIR}/include/xulrunner/stable/npapi.h \
+         ${BUILDLINK_DIR}/include/xulrunner/npapi.h \
          ${WRKSRC}/np_sdk/mozsrc
 .else
 CONFIGURE_ARGS+=       --disable-mozilla
diff -r f1b1496c9a01 -r f51f0a2e4759 misc/openoffice3/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/openoffice3/patches/patch-af Tue Mar 16 15:58:54 2010 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1 2010/03/16 15:58:54 tnn Exp $
+
+--- extensions/source/plugin/base/nfuncs.cxx.orig      2008-04-11 10:22:47.000000000 +0000
++++ extensions/source/plugin/base/nfuncs.cxx
+@@ -102,8 +102,13 @@ NPNetscapeFuncs aNPNFuncs =
+       NPN_MemFree,
+       NPN_MemFlush,
+       NPN_ReloadPlugins,
++#if 0 /* xxxtnn */
+       NPN_GetJavaEnv,
+       NPN_GetJavaPeer,
++#else
++      NULL,
++      NULL,
++#endif
+       NPN_GetURLNotify,
+       NPN_PostURLNotify,
+       NPN_GetValue,



Home | Main Index | Thread Index | Old Index