From aaaa10ef6634b4423737dbbc3885d22e1d207159 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 3 Jun 2021 10:25:00 +0200 Subject: community/seamonkey: patching for CLEANUP clash --- community/seamonkey/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'community/seamonkey/PKGBUILD') diff --git a/community/seamonkey/PKGBUILD b/community/seamonkey/PKGBUILD index e4c017a8..72135290 100644 --- a/community/seamonkey/PKGBUILD +++ b/community/seamonkey/PKGBUILD @@ -6,3 +6,14 @@ eval "$( export LDFLAGS="-Wl,--no-keep-memory" ' )" + +# nss 3.65 adds a global CLEANUP macro in 'nss/pk11hpke.h', collides with +# CLEANUP in enum in IDBTransaction (indexdb) +source+=('seamonkey-2.53.7.1-CLEANUP.patch') +sha256sums+=('7c0a7491ae5f76aa4b0b171c7dbc0bc108d7686da8741398f46a2b9b314152af') +eval "$( + declare -f prepare | \ + sed ' + /patch.*rust.*/ a \ patch -p1 < ../seamonkey-2.53.7.1-CLEANUP.patch + ' +)" -- cgit v1.2.3