I thought I added this to SUNWgnome-media-player.spec already.
Another solution is to add %{_includedir}/mps to the firefox-xpcom.pc file (I
think I added a patch for this or emailed Dave Lin the ideal).
Solution 3: remove the patch that changes firefox-xpcom.pc file (it removes
NSPR line) and ask SUNWprd (nspr header files including prtypes.h) to add
nspr.pc file.
----- Original Message -----
From: Halton Huo <[email protected]>
Date: Wednesday, February 28, 2007 10:51 am
Subject: [jds-review] SUNWgnome-media-player fix for build error
To: jds-review at opensolaris.org
> There will be compile error when building totem-2.17.92/browser-plugin
> as following:
>
> ...
> pkgbuild: "/usr/include/firefox/./npapi.h", line 51: Error: Could not
> open include file "prtypes.h".
> pkgbuild: "/usr/include/firefox/./jri_md.h", line 46: Error: Could not
> open include file "prtypes.h".
> ...
>
> Simply add -I%{_includedir}/mps into CXXFLAGS to fix this build error.
>