[packages/firefox52-esr] - rel 5; fix build with newer glibc

arekm arekm at pld-linux.org
Tue Mar 3 12:59:34 CET 2020


commit 24f0fa48caec0649ef370f1837791e8b1ca06979
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 3 12:59:27 2020 +0100

    - rel 5; fix build with newer glibc

 firefox52-esr.spec |  4 +++-
 glibc.patch        | 16 ++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/firefox52-esr.spec b/firefox52-esr.spec
index 64eaeb2..77adffb 100644
--- a/firefox52-esr.spec
+++ b/firefox52-esr.spec
@@ -30,7 +30,7 @@ Summary(hu.UTF-8):	Firefox web böngésző
 Summary(pl.UTF-8):	Firefox - przeglądarka WWW
 Name:		firefox52-esr
 Version:	52.9.0
-Release:	4
+Release:	5
 License:	MPL v2.0
 Group:		X11/Applications/Networking
 Source0:	http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz
@@ -51,6 +51,7 @@ Patch8:		%{_basename}-system-virtualenv.patch
 Patch9:		%{_basename}-Disable-Firefox-Health-Report.patch
 Patch10:	freetype.patch
 Patch11:	xulrunner-pc.patch
+Patch12:	glibc.patch
 URL:		https://www.mozilla.org/firefox/
 BuildRequires:	OpenGL-devel
 BuildRequires:	alsa-lib-devel
@@ -234,6 +235,7 @@ echo 'LOCAL_INCLUDES += $(MOZ_HUNSPELL_CFLAGS)' >> extensions/spellcheck/src/Mak
 %patch9 -p1
 %patch10 -p2
 %patch11 -p1
+%patch12 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python,%{__python},' xpcom/typelib/xpt/tools/xpt.py xpcom/idl-parser/xpidl/xpidl.py
 
diff --git a/glibc.patch b/glibc.patch
new file mode 100644
index 0000000..baf455c
--- /dev/null
+++ b/glibc.patch
@@ -0,0 +1,16 @@
+--- firefox-52.9.0esr/tools/profiler/core/platform.h~	2017-04-11 04:13:25.000000000 +0200
++++ firefox-52.9.0esr/tools/profiler/core/platform.h	2020-03-03 11:59:12.442453550 +0100
+@@ -63,13 +63,6 @@
+ // provide a wrapper for it (except for Bionic)
+ #if defined(__linux__)
+ #include <unistd.h>
+-#if !defined(__BIONIC__)
+-#include <sys/syscall.h>
+-static inline pid_t gettid()
+-{
+-  return (pid_t) syscall(SYS_gettid);
+-}
+-#endif
+ #endif
+ 
+ #ifdef XP_WIN
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox52-esr.git/commitdiff/24f0fa48caec0649ef370f1837791e8b1ca06979



More information about the pld-cvs-commit mailing list