diff options
Diffstat (limited to 'meta/recipes-devtools/patchelf/patchelf/maxsize.patch')
-rw-r--r-- | meta/recipes-devtools/patchelf/patchelf/maxsize.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/patchelf/patchelf/maxsize.patch b/meta/recipes-devtools/patchelf/patchelf/maxsize.patch index cc04a89e69..afc6d30bb0 100644 --- a/meta/recipes-devtools/patchelf/patchelf/maxsize.patch +++ b/meta/recipes-devtools/patchelf/patchelf/maxsize.patch @@ -16,15 +16,15 @@ RP 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patchelf.cc b/src/patchelf.cc -index 8566ed9..df75593 100644 +index fe51f77..f7cb648 100644 --- a/src/patchelf.cc +++ b/src/patchelf.cc -@@ -248,7 +248,7 @@ static void readFile(string fileName, mode_t * fileMode) +@@ -256,7 +256,7 @@ static void readFile(string fileName) + struct stat st; if (stat(fileName.c_str(), &st) != 0) error("stat"); fileSize = st.st_size; - *fileMode = st.st_mode; -- maxSize = fileSize + 8 * 1024 * 1024; +- maxSize = fileSize + 32 * 1024 * 1024; + maxSize = fileSize + 64 * 1024 * 1024; contents = (unsigned char *) malloc(fileSize + maxSize); - if (!contents) abort();
\ No newline at end of file + if (!contents) abort(); |