summarylogtreecommitdiffstats
path: root/0001_kfreebsd.patch
blob: 6e14a7ac11e01ed1506fa57a86d61aba13834247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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