Author: ken
Date: 2012-01-07 12:52:52 -0700 (Sat, 07 Jan 2012)
New Revision: 2361

Added:
   trunk/js/
   trunk/js/js185-1.0.0-DESTDIR-1.patch
Log:
Add patch for SpiderMonkey aka 'js'.

Added: trunk/js/js185-1.0.0-DESTDIR-1.patch
===================================================================
--- trunk/js/js185-1.0.0-DESTDIR-1.patch                                (rev 0)
+++ trunk/js/js185-1.0.0-DESTDIR-1.patch        2012-01-07 19:52:52 UTC (rev 
2361)
@@ -0,0 +1,25 @@
+Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
+Date: 2012-01-07
+Initial Package Version: 1.0.0
+Upstream Status: unknown
+Origin: see below
+Description: Fixes symlinks on libmozjs185.so when DESTDIR is used,
+so that they do not point to the build tree.  Rediffed to apply with -p1.
+
+# See discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=628723
+# Patch created by Colin Walters <[email protected]>
+
+diff -Naur js-1.8.5.orig/js/src/Makefile.in js-1.8.5/js/src/Makefile.in
+--- js-1.8.5.orig/js/src/Makefile.in   2011-03-31 20:08:36.000000000 +0100
++++ js-1.8.5/js/src/Makefile.in        2012-01-07 02:22:58.000000000 +0000
+@@ -888,8 +888,8 @@
+ ifeq (,$(HOST_BIN_SUFFIX))
+       mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER)
+       @[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER)
+-      ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER)
+-      ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER)
++      ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER)
++      ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER)
+ endif
+ endif
+ ifneq (,$(IMPORT_LIBRARY))

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to