~ubuntu-branches/ubuntu/oneiric/couchdb/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/mozjs1.9_ldlibpath.patch

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-03-18 00:09:31 UTC
  • Revision ID: james.westby@ubuntu.com-20110318000931-ck8w43ony8ihs341
Tags: 1.0.1-0ubuntu13
* Fix LP: #736847 - couchjs doesn't search in xulrunner release path
  for libmozjs. I made it search in all paths for the 2.0 beta and 
  point releases, but missed this one. D'oh!
  - update debian/mozjs1.9_ldlibpath.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 start_arguments=""
9
9
 background_start_arguments=""
10
10
 
11
 
+for i in /usr/lib/xulrunner-2.0b* /usr/lib/xulrunner-2.0.0.* ; do 
 
11
+for i in /usr/lib/xulrunner-2.0b* /usr/lib/xulrunner-2.0 /usr/lib/xulrunner-2.0.0.* ; do 
12
12
+    if [ -f ${i}/libmozjs.so ] ; then 
13
13
+        mozjs_path=${i}
14
14
+        break
28
28
 
29
29
 DEFAULT_VERSION=170
30
30
 
31
 
+for i in /usr/lib/xulrunner-2.0b* /usr/lib/xulrunner-2.0.0.* ; do 
 
31
+for i in /usr/lib/xulrunner-2.0b* /usr/lib/xulrunner-2.0 /usr/lib/xulrunner-2.0.0.* ; do 
32
32
+    if [ -f ${i}/libmozjs.so ] ; then 
33
33
+        mozjs_path=${i}
34
34
+        break