aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openttd/fix-pthread-stacksize.patch
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-06 19:23:10 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-04-07 00:44:46 +0000
commitd022ef56db396677256448aabbd5cd739b0ebd07 (patch)
treea71b2dbda1fbfcd07fc534ba7870de460f500c36 /testing/openttd/fix-pthread-stacksize.patch
parent3db6443f43076286d4bd3343d4c2b432e798547b (diff)
downloadaports-d022ef56db396677256448aabbd5cd739b0ebd07.tar.bz2
aports-d022ef56db396677256448aabbd5cd739b0ebd07.tar.xz
testing/openttd: upgrade to 1.10.0
Diffstat (limited to 'testing/openttd/fix-pthread-stacksize.patch')
-rw-r--r--testing/openttd/fix-pthread-stacksize.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/testing/openttd/fix-pthread-stacksize.patch b/testing/openttd/fix-pthread-stacksize.patch
deleted file mode 100644
index a4b3155186..0000000000
--- a/testing/openttd/fix-pthread-stacksize.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Only in openttd-1.8.0-mod: src/saveload/.saveload.cpp.swp
---- a/src/thread/thread_pthread.cpp
-+++ b/src/thread/thread_pthread.cpp
-@@ -42,7 +42,10 @@
- self_destruct(self_destruct),
- name(name)
- {
-- pthread_create(&this->thread, NULL, &stThreadProc, this);
-+ pthread_attr_t attrs;
-+ pthread_attr_init(&attrs);
-+ pthread_attr_setstacksize(&attrs, 1048576);
-+ pthread_create(&this->thread, &attrs, &stThreadProc, this);
- }
-
- /* virtual */ bool Exit()