~statik/ubuntu/karmic/couchdb/fix-bug427036

« back to all changes in this revision

Viewing changes to debian/patches/mozjs_ldlibpath.patch

  • Committer: Bazaar Package Importer
  • Author(s): Elliot Murphy
  • Date: 2009-08-05 11:27:30 UTC
  • Revision ID: james.westby@ubuntu.com-20090805112730-8p83pj8v9uqponlg
Tags: 0.9.0-2ubuntu5
* Fixes LP: #389089 - couchdb fails to start: looking for absent 'xulrunner'
  - Use version-specific xulrunner binary in couchdb wrapper script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nur -x '*.orig' -x '*~' couchdb-0.9.0/bin/couchdb.tpl.in couchdb-0.9.0.new/bin/couchdb.tpl.in
2
 
--- couchdb-0.9.0/bin/couchdb.tpl.in    2009-03-24 14:04:46.000000000 +0100
3
 
+++ couchdb-0.9.0.new/bin/couchdb.tpl.in        2009-06-10 15:49:59.000000000 +0200
4
 
@@ -35,6 +35,9 @@
5
 
 HEART_COMMAND="%bindir%/%couchdb_command_name% -k"
6
 
 HEART_BEAT_TIMEOUT=11
7
 
 
8
 
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/xulrunner-`xulrunner --gre-version`/
9
 
+export LD_LIBRARY_PATH
10
 
+
11
 
 basename=`basename $0`
12
 
 
13
 
 display_version () {
14
 
diff -Nur -x '*.orig' -x '*~' couchdb-0.9.0/bin/couchjs.tpl.in couchdb-0.9.0.new/bin/couchjs.tpl.in
15
 
--- couchdb-0.9.0/bin/couchjs.tpl.in    2008-08-18 11:49:40.000000000 +0200
16
 
+++ couchdb-0.9.0.new/bin/couchjs.tpl.in        2009-06-10 15:50:51.000000000 +0200
17
 
@@ -17,6 +17,9 @@
18
 
 
19
 
 DEFAULT_VERSION=170
20
 
 
21
 
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/xulrunner-`xulrunner --gre-version`/
22
 
+export LD_LIBRARY_PATH
23
 
+
24
 
 basename=`basename $0`
25
 
 
26
 
 display_version () {