[arch-commits] Commit in seamonkey/trunk (PKGBUILD gettid.patch)

Evangelos Foutras foutrelis at archlinux.org
Thu Apr 9 03:48:47 UTC 2020


    Date: Thursday, April 9, 2020 @ 03:48:47
  Author: foutrelis
Revision: 612885

libffi 3.3 rebuild

Added:
  seamonkey/trunk/gettid.patch
Modified:
  seamonkey/trunk/PKGBUILD

--------------+
 PKGBUILD     |   10 +++++++++-
 gettid.patch |   13 +++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-09 03:47:12 UTC (rev 612884)
+++ PKGBUILD	2020-04-09 03:48:47 UTC (rev 612885)
@@ -2,7 +2,7 @@
 
 pkgname=seamonkey
 pkgver=2.49.4
-pkgrel=4
+pkgrel=5
 pkgdesc="SeaMonkey internet suite"
 arch=('x86_64')
 license=('MPL')
@@ -18,11 +18,13 @@
         mozconfig
         seamonkey-2.0-lang.patch
         patch-bug1435212.xz
+        gettid.patch
 	no-crmf.diff)
 sha256sums=('c8a66774d0a3525698b559fa2c41397186f2de99c5733e35b8eafb0ae5ccc4ee'
             '6ff9fd323eec175eb02cfefd3136c79491c3b40be0b1f899da7c75c2f76259ca'
             'ab19d10fbd6258aec37ab5e5efb12429814b2c24a1193284a48dd654311b4e2e'
             'dce68858694f820a9a1fc2428038a88ea00b4835cea0778734db794fea3bb21a'
+            '923154d052f041af15a2495ceb1f76f7c8619fd8bfc66a0bbedfeab2514adf0b'
             'fb85a538044c15471c12cf561d6aa74570f8de7b054a7063ef88ee1bdfc1ccbb')
 
 prepare() {
@@ -37,6 +39,9 @@
   # https://github.com/freebsd/freebsd-ports/blob/master/www/seamonkey/files/patch-bug1435212
   patch -Np1 -d mozilla -i ../../patch-bug1435212
 
+  # https://bugzilla.mozilla.org/show_bug.cgi?id=1533969
+  patch -Np1 -i ../gettid.patch
+
   # Don't exit with error when some libs are missing which we have in
   # system.
   sed -i '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' suite/installer/Makefile.in
@@ -68,6 +73,9 @@
   CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
   CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
 
+  # GCC 9
+  CXXFLAGS+=" -Wno-format-overflow"
+
   make -j1 -f client.mk build
 }
 

Added: gettid.patch
===================================================================
--- gettid.patch	                        (rev 0)
+++ gettid.patch	2020-04-09 03:48:47 UTC (rev 612885)
@@ -0,0 +1,13 @@
+--- seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h.orig	2020-04-09 05:40:25.587372314 +0300
++++ seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h	2020-04-09 05:41:24.195387788 +0300
+@@ -65,10 +65,6 @@
+ #include <unistd.h>
+ #if !defined(__BIONIC__)
+ #include <sys/syscall.h>
+-static inline pid_t gettid()
+-{
+-  return (pid_t) syscall(SYS_gettid);
+-}
+ #endif
+ #endif
+ 



More information about the arch-commits mailing list