]> git.pld-linux.org Git - packages/firefox52-esr.git/commitdiff
- rel 5; fix build with newer glibc auto/th/firefox52-esr-52.9.0-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Mar 2020 11:59:27 +0000 (12:59 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 3 Mar 2020 11:59:27 +0000 (12:59 +0100)
firefox52-esr.spec
glibc.patch [new file with mode: 0644]

index 64eaeb248555a336d7252e0d19f4fbd2f6bade32..77adffbde87c94e69c7585bb500de7d5b829177b 100644 (file)
@@ -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 (file)
index 0000000..baf455c
--- /dev/null
@@ -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
This page took 0.045505 seconds and 4 git commands to generate.