aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-platform-gettid.patch
diff options
context:
space:
mode:
authorMarc Vertes <marc.vertes@ugrid.net>2016-03-18 21:21:39 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-22 10:58:57 +0200
commit3ab89df0030d905def63177ebc928ec23494fcfe (patch)
treea24ba99ed3f342d747f8df79a1b65d480c801e5c /testing/seamonkey/fix-platform-gettid.patch
parentf90c15a50a5cefedf36bd7c043d5069b3652c092 (diff)
downloadaports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.bz2
aports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.xz
testing/seamonkey: new aport
http://www.seamonkey-project.org
Diffstat (limited to 'testing/seamonkey/fix-platform-gettid.patch')
-rw-r--r--testing/seamonkey/fix-platform-gettid.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/seamonkey/fix-platform-gettid.patch b/testing/seamonkey/fix-platform-gettid.patch
new file mode 100644
index 0000000000..385a926ce9
--- /dev/null
+++ b/testing/seamonkey/fix-platform-gettid.patch
@@ -0,0 +1,19 @@
+--- seamonkey-2.39/mozilla/tools/profiler/core/platform.h.orig
++++ seamonkey-2.39/mozilla/tools/profiler/core/platform.h
+@@ -60,14 +60,14 @@
+
+ // We need a definition of gettid(), but glibc doesn't provide a
+ // wrapper for it.
+-#if defined(__GLIBC__)
++//#if defined(__GLIBC__)
+ #include <unistd.h>
+ #include <sys/syscall.h>
+ static inline pid_t gettid()
+ {
+ return (pid_t) syscall(SYS_gettid);
+ }
+-#endif
++//#endif
+
+ #ifdef XP_WIN
+ #include <windows.h>