summarylogtreecommitdiffstats
path: root/0001_kfreebsd.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001_kfreebsd.patch')
-rw-r--r--0001_kfreebsd.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/0001_kfreebsd.patch b/0001_kfreebsd.patch
new file mode 100644
index 000000000000..6e14a7ac11e0
--- /dev/null
+++ b/0001_kfreebsd.patch
@@ -0,0 +1,41 @@
+Description: Needed for kfreebsd-* arch
+ Fix link_settings.
+ Use python multiprocessing.dummy module to run tests.
+Forwarded: not-needed
+Author: Steven Chamberlain <steven@pyro.eu.org>
+Author: Jérémy Lal <kapouer@melix.org>
+Bug-Debian: http://bugs.debian.org/670836
+Last-Update: 2013-05-02
+--- a/tools/gyp/v8.gyp
++++ b/tools/gyp/v8.gyp
+@@ -676,7 +676,7 @@
+ ['OS=="freebsd"', {
+ 'link_settings': {
+ 'libraries': [
+- '-L/usr/local/lib -lexecinfo',
++ '-L/usr/local/lib -lpthread',
+ ]},
+ 'sources': [
+ '../../src/platform-freebsd.cc',
+--- a/tools/run-tests.py
++++ b/tools/run-tests.py
+@@ -28,7 +28,7 @@
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+-import multiprocessing
++import multiprocessing.dummy as multiprocessing
+ import optparse
+ import os
+ from os.path import join
+--- a/tools/testrunner/local/execution.py
++++ b/tools/testrunner/local/execution.py
+@@ -26,7 +26,7 @@
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+-import multiprocessing
++import multiprocessing.dummy as multiprocessing
+ import os
+ import threading
+ import time