[packages/seamonkey] - release 3, glibc-2.30 provides gettid definition
adamg
adamg at pld-linux.org
Thu Oct 10 15:35:17 CEST 2019
commit 8fbffe023cf8858651c3dc2d1df21e535aa4026f
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Thu Oct 10 15:35:10 2019 +0200
- release 3, glibc-2.30 provides gettid definition
seamonkey-glibc2.30.patch | 17 +++++++++++++++++
seamonkey.spec | 4 +++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/seamonkey.spec b/seamonkey.spec
index 0e74a38..0eef080 100644
--- a/seamonkey.spec
+++ b/seamonkey.spec
@@ -30,7 +30,7 @@ Summary(pl.UTF-8): SeaMonkey Community Edition - przeglądarka WWW
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
@@ -85,6 +85,7 @@ Patch3: %{name}-enable-addons.patch
# 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
@@ -531,6 +532,7 @@ unpack() {
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
%build
cat << EOF > .mozconfig
diff --git a/seamonkey-glibc2.30.patch b/seamonkey-glibc2.30.patch
new file mode 100644
index 0000000..205cb34
--- /dev/null
+++ b/seamonkey-glibc2.30.patch
@@ -0,0 +1,17 @@
+--- 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>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/seamonkey.git/commitdiff/8fbffe023cf8858651c3dc2d1df21e535aa4026f
More information about the pld-cvs-commit
mailing list