pkgsrc-Bugs archive

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

pkg/45727: misc/openoffice3 does not build with PKG_OPTIONS.openoffice3+=-xulrunner

>Number:         45727
>Category:       pkg
>Synopsis:       misc/openoffice3 does not build with 
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 20 22:20:00 +0000 2011
>Originator:     B.ICT A.P. deBROUWER Jr.
>Release:        5.1
NetBSD host066.template 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 
3 weeks ago openoffice3/patches/patch-ae changed and did make 
NPP_GetMIMEDescription into a constant.

now if build with:
(so using openoffices own mozilla things) we get:

declaration of C function 'const char* NPP_GetMIMEDescription()' conflicts with
previous declaration 'char* NPP_GetMIMEDescription()' here
echo 'PKG_OPTIONS.openoffice3+=-xulrunner'>>${PKGMAKECONF}/mk.conf
cd pkgsrc/misc/openoffice3 && make

--- np_sdk/mozsrc/npapi.h.orig        2011-12-20 15:38:28.000000000 +0000
+++ np_sdk/mozsrc/npapi.h     2011-12-20 15:38:59.000000000 +0000
@@ -536,7 +536,7 @@
  * NPP_* functions are provided by the plugin and called by the navigator.
-char* NPP_GetMIMEDescription(void);
+const char* NPP_GetMIMEDescription(void);
 NPError NP_LOADDS NPP_Initialize(void);
 void    NP_LOADDS NPP_Shutdown(void);

Home | Main Index | Thread Index | Old Index