1 |
mrpouet 09/09/09 10:35:31 |
2 |
|
3 |
Added: gnash-0.8.5-xpcom-idldir.patch |
4 |
Log: |
5 |
Fix bug #284073, Use pkgconfig to determine XPCOM_IDL_DIR instead of non-portable construct which fix building against xulrunner-1.9.0, many thanks to Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de>, Add >=sys-devel/libtool-2 in RDEPEND (not portable to libtool-1) |
6 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 www-plugins/gnash/files/gnash-0.8.5-xpcom-idldir.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gnash/files/gnash-0.8.5-xpcom-idldir.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/gnash/files/gnash-0.8.5-xpcom-idldir.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gnash-0.8.5-xpcom-idldir.patch |
15 |
=================================================================== |
16 |
Author: Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de> |
17 |
Subject: Use pkg-config to determine XPCOM_IDL_DIR instead of non-portable construct. |
18 |
Bug: #284073 |
19 |
|
20 |
--- |
21 |
|
22 |
diff -ur a/macros/xpcom.m4 b/macros/xpcom.m4 |
23 |
--- a/macros/xpcom.m4 2009-03-02 16:29:48.000000000 +0100 |
24 |
+++ b/macros/xpcom.m4 2009-09-08 22:02:21.548228034 +0200 |
25 |
@@ -102,7 +102,7 @@ |
26 |
|
27 |
if test x"${ac_cv_path_xpcom_incl}" != x; then |
28 |
XPCOM_CFLAGS="${ac_cv_path_xpcom_incl}" |
29 |
- XPCOM_IDL_CFLAGS=`echo $XPCOM_CFLAGS | sed -e 's:include:share/idl:'` |
30 |
+ XPCOM_IDL_CFLAGS="-I`$PKG_CONFIG --variable=idldir libxul`/unstable" |
31 |
XPIDL=$(pkg-config libxul --variable=sdkdir) |
32 |
XPIDL="${XPIDL}xpidl" |
33 |
AC_DEFINE([HAVE_XPCOM], [1], [Use XPCOM in the NPAPI plugin]) |