Actually apply patch

gjs doesn't use autosetup, so the last patch didn't have any
effect at all 🤦

Resolves: #2170044
This commit is contained in:
Florian Müllner 2023-02-16 23:27:38 +01:00
parent f7c564fcd5
commit 55b6c5c12c

View File

@ -20,7 +20,7 @@
Name: gjs
Version: 1.68.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Javascript Bindings for GNOME
# The following files contain code from Mozilla which
@ -69,9 +69,10 @@ Patch30: FixSharedArray.diff
Patch31: 0002-D89554-autoconf1.diff
Patch32: 0003-D94538-autoconf2.diff
Patch33: 0001-gobject-Guard-against-null-JS-wrapper-in-set-get-pro.patch
%endif
Patch40: 0001-gobject-Guard-against-null-JS-wrapper-in-set-get-pro.patch
BuildRequires: cairo-gobject-devel
BuildRequires: dbus-daemon
BuildRequires: dbus-glib-devel
@ -186,6 +187,8 @@ rm -rf modules/zlib
popd
%endif
%patch40 -p1
%build
%if 0%{?bundled_mozjs}
pushd firefox-%{mozjs_version}/js/src