--- /dev/null
+--- seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h~ 2018-07-12 04:19:15.000000000 +0200
++++ seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2019-10-10 14:38:34.367540687 +0200
+@@ -65,12 +65,14 @@
+ #include <unistd.h>
+ #if !defined(__BIONIC__)
+ #include <sys/syscall.h>
++#if defined(__GLIBC__) && ! __GLIBC_PREREQ(2, 30)
+ static inline pid_t gettid()
+ {
+ return (pid_t) syscall(SYS_gettid);
+ }
+ #endif
+ #endif
++#endif
+
+ #ifdef XP_WIN
+ #include <windows.h>
Summary(pt_BR.UTF-8): Navegador SeaMonkey Community Edition
Name: seamonkey
Version: 2.49.4
-Release: 2
+Release: 3
License: MPL v2.0
Group: X11/Applications/Networking
Source0: http://ftp.mozilla.org/pub/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.xz
# Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade
Patch4: %{name}-system-virtualenv.patch
Patch5: %{name}-icu-detect.patch
+Patch6: %{name}-glibc2.30.patch
URL: https://www.seamonkey-project.org/
BuildRequires: GConf2-devel >= 1.2.1
BuildRequires: OpenGL-devel
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%build
cat << EOF > .mozconfig