]> git.pld-linux.org Git - packages/seamonkey.git/commitdiff
- release 3, glibc-2.30 provides gettid definition auto/th/seamonkey-2.49.4-3
authorAdam Gołębiowski <adamg@pld-linux.org>
Thu, 10 Oct 2019 13:35:10 +0000 (15:35 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Thu, 10 Oct 2019 13:35:10 +0000 (15:35 +0200)
seamonkey-glibc2.30.patch [new file with mode: 0644]
seamonkey.spec

diff --git a/seamonkey-glibc2.30.patch b/seamonkey-glibc2.30.patch
new file mode 100644 (file)
index 0000000..205cb34
--- /dev/null
@@ -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>
index 0e74a38f518d447bb0fde9e28f5480462686eff9..0eef0803556b0c7a0e7e5498d61ccec7c98992f8 100644 (file)
@@ -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
This page took 0.302421 seconds and 4 git commands to generate.