fix previous patch on suggestion in #2252635

This commit is contained in:
Timotheus Pokorra 2023-12-04 08:51:24 +01:00
commit e67ef2133d
2 changed files with 5 additions and 2 deletions

View file

@ -4,7 +4,7 @@
--glue-includes=webkit2/webkit2.h, --gapidir=$(gapidir) \
--assembly-name=$(ASSEMBLY_NAME) && \
find $(srcdir)/generated/ -type f -name "*.cs" > $(GEN_SOURCES)
+ sed -i "s/parentInstance/parent/g" $(GLUEDIR)/generated.c
+ sed -i "s/WebKitWebViewBase, parentInstance/WebKitWebViewBase, parent/g" $(GLUEDIR)/generated.c
$(SRC_FILES_XML): $(GEN_SOURCES) $(CUSTOM_SOURCES)
echo "<SourceFiles>" > $(SRC_FILES_XML)

View file

@ -4,7 +4,7 @@
Name: webkit2-sharp
Version: 0
Release: 0.19%{?snapshotdate:.%{snapshotdate}git%{shortcommit}}%{?dist}
Release: 0.20%{?snapshotdate:.%{snapshotdate}git%{shortcommit}}%{?dist}
Summary: C# bindings for WebKit 2 with GTK+ 3
License: MIT
@ -85,6 +85,9 @@ find %{buildroot} -name '*.la' -delete
%changelog
* Mon Dec 04 2023 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 0.0.20.20170219gita59fd76
- fix previous patch on suggestion in #2252635
* Mon Aug 14 2023 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 0.0.19.20170219gita59fd76
- fix FTBFS: apply patch to generated file replacing parentinstance with parent