Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263858 - net-libs/xulrunner and xulrunner-bin wrong header path in jni_md.h
Summary: net-libs/xulrunner and xulrunner-bin wrong header path in jni_md.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 13:11 UTC by Justin Lecher (RETIRED)
Modified: 2009-11-04 00:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2009-03-26 13:11:12 UTC
/opt/xulrunner/include/jni.h has following include definition

#include "prtypes.h"


But prtypes.h is in /usr/include. Therefor I suggest to patch it

--- /opt/xulrunner/include/jni_md.h.orig	2009-03-26 14:00:10.000000000 +0100
+++ /opt/xulrunner/include/jni_md.h	2009-03-26 13:58:26.000000000 +0100
@@ -57,7 +57,7 @@
 #ifndef JNI_MD_H
 #define JNI_MD_H
 
-#include "prtypes.h" /* needed for _declspec */
+#include <nspr/prtypes.h> /* needed for _declspec */
 
 /*******************************************************************************
  * WHAT'S UP WITH THIS FILE?
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-03-26 13:59:40 UTC
Same for

/opt/xulrunner/include/jri_md.h
/opt/xulrunner/include/npapi.h
/opt/xulrunner/include/nscore.h
/opt/xulrunner/include/nsTArray.h
Comment 2 Jory A. Pratt gentoo-dev 2009-07-12 15:26:14 UTC
If you want this fixed, it belongs upstream. There are using local defines as it is a binary that is intended to work on any x86 system. 
Comment 3 Jory A. Pratt gentoo-dev 2009-11-04 00:19:18 UTC
These are the headers that are ship'd with the binary which includes its own version of nss/nspr.