aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pacparser/spidermonkey-make.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pacparser/spidermonkey-make.patch')
-rw-r--r--testing/pacparser/spidermonkey-make.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/pacparser/spidermonkey-make.patch b/testing/pacparser/spidermonkey-make.patch
new file mode 100644
index 0000000000..a56bd6de7a
--- /dev/null
+++ b/testing/pacparser/spidermonkey-make.patch
@@ -0,0 +1,22 @@
+The find command used in the upstream Makefile copies identical files
+over eachother without forcing the copy. This patch adds the -f (force)
+option to the find copy command. This is not explicitly needed but does
+seem to reduce a warning.
+
+--- a/src/spidermonkey/Makefile
++++ b/src/spidermonkey/Makefile
+@@ -30,12 +30,12 @@
+
+ jslib: js-buildstamp
+ cd js/src
+- find . -name "libjs.a" -exec cp {} .. \;
++ find . -name "libjs.a" -exec cp -f {} .. \;
+
+ js-buildstamp:
+ mkdir -p js/src/$(OBJDIR)
+ CFLAGS="$(SMCFLAGS)" $(MAKE) -C js/src -f Makefile.ref libjs.a
+- find js/src -name "jsautocfg.h" -exec cp {} js/src \;
++ find js/src -name "jsautocfg.h" -exec cp -f {} js/src \;
+ touch js-buildstamp
+
+ clean: