Skip to content
Snippets Groups Projects
Commit 5871ae1e authored by Yogendra Charya Tangalapally's avatar Yogendra Charya Tangalapally
Browse files

removed patches not required in KaiOS

Change-Id: I76236a726c3aeabb9b891aef6a04ebb4b15a9ad8
parent 7a81bc0c
No related branches found
No related tags found
No related merge requests found
From 8453e506d543586fec24ee1eb1837af710db87b7 Mon Sep 17 00:00:00 2001
From: Carol Yang <cyang@codeaurora.org>
Date: Wed, 23 Mar 2016 13:22:30 -0700
Subject: [PATCH 3/3] Remove dummy pthread_fork definition
Change-Id: I0c22f9708e6ee71927c92bc8ea063098ddb19ec6
---
memory/replace/logalloc/replay/Replay.cpp | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/memory/replace/logalloc/replay/Replay.cpp b/memory/replace/logalloc/replay/Replay.cpp
index 75db8fb..831d55c 100644
--- a/memory/replace/logalloc/replay/Replay.cpp
+++ b/memory/replace/logalloc/replay/Replay.cpp
@@ -298,16 +298,6 @@ void malloc_init_hard(void);
* implementation on Android */
void
MozTagAnonymousMemory(const void* aPtr, size_t aLength, const char* aTag) {}
-
-/* mozjemalloc and jemalloc use pthread_atfork, which Android doesn't have.
- * While gecko has one in libmozglue, the replay program can't use that.
- * Since we're not going to fork anyways, make it a dummy function. */
-int
-pthread_atfork(void (*aPrepare)(void), void (*aParent)(void),
- void (*aChild)(void))
-{
- return 0;
-}
#endif
#ifdef MOZ_NUWA_PROCESS
--
1.8.2.1
From 26264c71b8cacfa47900aa2ad314d372ec5c2a8d Mon Sep 17 00:00:00 2001
From: Anshul Jain <anshulj@codeaurora.org>
Date: Wed, 5 Nov 2014 10:01:14 -0800
Subject: [PATCH] Bug 1061388 - Explicitly mention PYTHON when invoking
config.status
Change-Id: Id62173d7e3303a2dd781fac872415316688e09e0
---
build/subconfigure.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/subconfigure.py b/build/subconfigure.py
index 0e257ed..9381910 100644
--- a/build/subconfigure.py
+++ b/build/subconfigure.py
@@ -354,7 +354,7 @@ def run(objdir):
sys.stdout.flush()
try:
output += subprocess.check_output([data['shell'], '-c',
- './config.status'], stderr=subprocess.STDOUT, cwd=objdir,
+ '$PYTHON ./config.status'], stderr=subprocess.STDOUT, cwd=objdir,
env=data['env'])
except subprocess.CalledProcessError as e:
ret = e.returncode
--
1.8.2.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment