aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/0001-mozilla-pkgconfig.patch.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-25 09:39:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-25 09:39:13 +0000
commitdbcdac2b6698e87c9dc04dca7621b533a22502b7 (patch)
treee6ce1daa4de04da905af591b4aad686af692a981 /main/xulrunner/0001-mozilla-pkgconfig.patch.patch
parent1693a44e16824ea7907bd8a045f54470fca2897e (diff)
downloadaports-dbcdac2b6698e87c9dc04dca7621b533a22502b7.tar.bz2
aports-dbcdac2b6698e87c9dc04dca7621b533a22502b7.tar.xz
main/xulrunner: upgrade to 8.0.1
Diffstat (limited to 'main/xulrunner/0001-mozilla-pkgconfig.patch.patch')
-rw-r--r--main/xulrunner/0001-mozilla-pkgconfig.patch.patch83
1 files changed, 83 insertions, 0 deletions
diff --git a/main/xulrunner/0001-mozilla-pkgconfig.patch.patch b/main/xulrunner/0001-mozilla-pkgconfig.patch.patch
new file mode 100644
index 0000000000..b8beae40f6
--- /dev/null
+++ b/main/xulrunner/0001-mozilla-pkgconfig.patch.patch
@@ -0,0 +1,83 @@
+From f00f666955c2e4053e0cff90f787dc5b980bcb18 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri, 25 Nov 2011 08:23:35 +0000
+Subject: [PATCH 1/4] mozilla-pkgconfig.patch
+
+---
+ xulrunner/installer/Makefile.in | 1 +
+ xulrunner/installer/libxul-embedding.pc.in | 1 +
+ xulrunner/installer/libxul.pc.in | 1 +
+ .../installer/mozilla-gtkmozembed-embedding.pc.in | 1 +
+ xulrunner/installer/mozilla-gtkmozembed.pc.in | 1 +
+ xulrunner/installer/mozilla-js.pc.in | 2 +-
+ 6 files changed, 6 insertions(+), 1 deletions(-)
+
+diff --git a/xulrunner/installer/Makefile.in b/xulrunner/installer/Makefile.in
+index 35febf9..38d854d 100644
+--- a/xulrunner/installer/Makefile.in
++++ b/xulrunner/installer/Makefile.in
+@@ -110,6 +110,7 @@ endif
+ -e "s|%includedir%|$(includedir)|" \
+ -e "s|%idldir%|$(idldir)|" \
+ -e "s|%sdkdir%|$(sdkdir)|" \
++ -e "s|%libdir%|$(installdir)|" \
+ -e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \
+ -e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
+ -e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \
+diff --git a/xulrunner/installer/libxul-embedding.pc.in b/xulrunner/installer/libxul-embedding.pc.in
+index 100e0a7..97b7cb4 100644
+--- a/xulrunner/installer/libxul-embedding.pc.in
++++ b/xulrunner/installer/libxul-embedding.pc.in
+@@ -6,5 +6,6 @@ idldir=%idldir%
+ Name: libxul-embedding
+ Description: Static library for version-independent embedding of the Mozilla runtime
+ Version: %MOZILLA_VERSION%
++Requires: %NSPR_NAME% >= %NSPR_VERSION%
+ Libs: -L${sdkdir}/lib -lxpcomglue -ldl
+ Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS%
+diff --git a/xulrunner/installer/libxul.pc.in b/xulrunner/installer/libxul.pc.in
+index ccce9aa..92e8502 100644
+--- a/xulrunner/installer/libxul.pc.in
++++ b/xulrunner/installer/libxul.pc.in
+@@ -1,5 +1,6 @@
+ prefix=%prefix%
+ sdkdir=%sdkdir%
++libdir=%libdir%
+ includedir=%includedir%
+ idldir=%idldir%
+
+diff --git a/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in b/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
+index 03bd646..4d2b62d 100644
+--- a/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
++++ b/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
+@@ -1,5 +1,6 @@
+ prefix=%prefix%
+ sdkdir=%sdkdir%
++libdir=%libdir%
+ includedir=%includedir%
+
+ Name: mozilla-gtkembedmoz
+diff --git a/xulrunner/installer/mozilla-gtkmozembed.pc.in b/xulrunner/installer/mozilla-gtkmozembed.pc.in
+index a25c05e..cd0d600 100644
+--- a/xulrunner/installer/mozilla-gtkmozembed.pc.in
++++ b/xulrunner/installer/mozilla-gtkmozembed.pc.in
+@@ -1,5 +1,6 @@
+ prefix=%prefix%
+ sdkdir=%sdkdir%
++libdir=%libdir%
+ includedir=%includedir%
+
+ Name: mozilla-gtkembedmoz
+diff --git a/xulrunner/installer/mozilla-js.pc.in b/xulrunner/installer/mozilla-js.pc.in
+index c1428f1..a528ef1 100644
+--- a/xulrunner/installer/mozilla-js.pc.in
++++ b/xulrunner/installer/mozilla-js.pc.in
+@@ -7,4 +7,4 @@ Description: The Mozilla JavaScript Library
+ Version: %MOZILLA_VERSION%
+ Requires: %NSPR_NAME% >= %NSPR_VERSION%
+ Libs: -L${sdkdir}/lib %MOZ_JS_LINK%
+-Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
++Cflags: -I${includedir} -I${includedir}/js -DXP_UNIX -DJS_THREADSAFE
+--
+1.7.7.4
+