Fix FTBFS
This commit is contained in:
parent
9dac9f5ba6
commit
eca323c5e8
2 changed files with 13 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ License: GPLv2+
|
|||
URL: http://www.anjuta.org/
|
||||
Source0: http://download.gnome.org/sources/anjuta/3.34/%{name}-%{version}.tar.xz
|
||||
Patch0: cpp-java.patch
|
||||
Patch1: webkit.patch
|
||||
|
||||
BuildRequires: autogen
|
||||
BuildRequires: chrpath
|
||||
|
|
@ -86,6 +87,7 @@ This package contains library files for %{name}.
|
|||
%setup -q
|
||||
|
||||
%patch0 -p0 -b .cpp-java
|
||||
%patch1 -p0 -b .webkit
|
||||
|
||||
%build
|
||||
%if 0%{?with_python3}
|
||||
|
|
|
|||
11
webkit.patch
Normal file
11
webkit.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- plugins/devhelp/plugin.c.orig 2018-10-22 14:25:43.000000000 -0500
|
||||
+++ plugins/devhelp/plugin.c 2022-08-02 10:10:03.489808458 -0500
|
||||
@@ -37,7 +37,7 @@
|
||||
#ifdef HAVE_WEBKIT2
|
||||
#include <webkit2/webkit2.h>
|
||||
#else
|
||||
-#include <webkit/webkit.h>
|
||||
+#include <webkitgtk-4.1/webkit2/webkit2.h>
|
||||
#endif
|
||||
|
||||
#define ONLINE_API_DOCS "http://library.gnome.org/devel"
|
||||
Loading…
Add table
Add a link
Reference in a new issue