[PATCH] NP_GetMIMEDescription() returns const char*

Jon VanAlten jvanalte at redhat.com
Mon Dec 12 08:09:48 PST 2011


Hi all,

----- Original Message -----
> From: "Omair Majid" <omajid at redhat.com>
> To: "Thomas Meyer" <thomas at m3y3r.de>
> Cc: "distro-pkg-dev" <distro-pkg-dev at openjdk.java.net>
> Sent: Monday, December 12, 2011 10:26:18 AM
> Subject: Re: [PATCH] NP_GetMIMEDescription() returns const char*
> 
> Hi Thomas,
> 
> On 12/10/2011 08:11 AM, Thomas Meyer wrote:
> > # HG changeset patch
> > # User Thomas Meyer<thomas at m3y3r.de>
> > # Date 1323522372 -3600
> > # Node ID 2b69ce95feb38023b2be8bec3bc87f2219d0c80b
> > # Parent  3674bf4ef962a752a05bf7bfa5aee19a817c4834
> >
> > /usr/include/xulrunner-sdk-2/npfunctions.h defines "const char*
> > NP_GetMIMEDescription(void);"
> > make icedtea-web version also return a const char*
> > This fix is needed to make icedtea-web compile on Fedora 16.
> >
> 
> Thanks for the patch. This patch is already included in Fedora [1].
> We
> are aware of the issue [2], but there is so simple fix. If we apply
> this
> patch, it breaks icedtea-web builds on distributions using an older
> version of xulrunner :(
> 
> Cheers,
> Omair
> 
> [1]
> http://pkgs.fedoraproject.org/gitweb/?p=icedtea-web.git;a=blob;f=icedtea-web-1.1.4-npapi-fix.patch;h=79ca0a6c009d310de5eb082d9ae5291da46e7dde;hb=refs/heads/f16
> 
> [2]
> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-November/016240.html
> 

Seems to me that if this is a change that is expected to stay in
xulrunner going forward, the preferred approach would be to make the
change in icedtea-web and document the well-known fix for those
building against older xulrunner, rather than the other way around.
Just my $0.02.

cheers,
jon



More information about the distro-pkg-dev mailing list