From 9ee281f6a58e214ec6ea16ea116acee8fc5a8337 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Thu, 23 Apr 2020 14:30:11 +0200 Subject: [PATCH] fix build with gtk-doc >= 1.30 --- gtk-doc.patch | 25 +++++++++++++++++++++++++ libpsl.spec | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 gtk-doc.patch diff --git a/gtk-doc.patch b/gtk-doc.patch new file mode 100644 index 0000000..bcd49e7 --- /dev/null +++ b/gtk-doc.patch @@ -0,0 +1,25 @@ +From 87d1add318b5e5d09977f7f374e923577b6ff3be Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Sat, 1 Jun 2019 13:09:41 +0200 +Subject: [PATCH] gtk-doc: do not include tree_index.sgml + +gtk-doc 1.30 no longer generates the file if the object tree is empty. +--- + docs/libpsl/libpsl-docs.sgml | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/docs/libpsl/libpsl-docs.sgml b/docs/libpsl/libpsl-docs.sgml +index 335d241..88c7ba8 100644 +--- a/docs/libpsl/libpsl-docs.sgml ++++ b/docs/libpsl/libpsl-docs.sgml +@@ -22,10 +22,6 @@ + + + +- +- Object Hierarchy +- +- + + API Index + diff --git a/libpsl.spec b/libpsl.spec index 22e7ea3..ac454b8 100644 --- a/libpsl.spec +++ b/libpsl.spec @@ -20,6 +20,7 @@ Source0: https://github.com/rockdaboot/libpsl/releases/download/%{name}-%{versio Source1: https://github.com/publicsuffix/list/archive/%{psl_ref}/publicsuffix_list-%{psldate}.tar.gz # Source1-md5: ee9a591d4545d9f6ca350bd9df2c2e51 %endif +Patch0: gtk-doc.patch URL: https://rockdaboot.github.io/libpsl BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.10 @@ -139,6 +140,7 @@ ciasteczka jest akceptowalna dla domen itp. %prep %setup -q +%patch0 -p1 %if 0 rmdir list -- 2.43.0