Browse Source

fix patch

Frank-Rainer Grahl 1 month ago
parent
commit
6210b77901
1 changed files with 10 additions and 0 deletions
  1. 10 0
      mozilla-release/patches/1839740-3-119a1.patch

+ 10 - 0
mozilla-release/patches/1839740-3-119a1.patch

@@ -37,6 +37,16 @@ diff --git a/build/unix/elfhack/Makefile.in b/build/unix/elfhack/Makefile.in
  	@echo === provide the pre-elfhacked library as an attachment.
  	@echo === provide the pre-elfhacked library as an attachment.
  	@echo === Use --disable-elf-hack until this is fixed.
  	@echo === Use --disable-elf-hack until this is fixed.
  	@echo ===
  	@echo ===
+@@ -40,8 +41,9 @@ dummy: dummy.$(OBJ_SUFFIX)
+ libs:: dummy
+ 	# Will either crash or return exit code 1 if elfhack is broken
+ 	LD_PRELOAD=$(CURDIR)/test-array$(DLL_SUFFIX) $(CURDIR)/dummy
+ 	LD_PRELOAD=$(CURDIR)/test-ctors$(DLL_SUFFIX) $(CURDIR)/dummy
+ 
+ GARBAGE += dummy
+ endif
+ endif
++endif
 diff --git a/build/unix/elfhack/inject.c b/build/unix/elfhack/inject.c
 diff --git a/build/unix/elfhack/inject.c b/build/unix/elfhack/inject.c
 --- a/build/unix/elfhack/inject.c
 --- a/build/unix/elfhack/inject.c
 +++ b/build/unix/elfhack/inject.c
 +++ b/build/unix/elfhack/inject.c