]> git.pld-linux.org Git - packages/libpsl.git/commitdiff
fix build with gtk-doc >= 1.30
authorJan Palus <atler@pld-linux.org>
Thu, 23 Apr 2020 12:30:11 +0000 (14:30 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 23 Apr 2020 12:30:11 +0000 (14:30 +0200)
gtk-doc.patch [new file with mode: 0644]
libpsl.spec

diff --git a/gtk-doc.patch b/gtk-doc.patch
new file mode 100644 (file)
index 0000000..bcd49e7
--- /dev/null
@@ -0,0 +1,25 @@
+From 87d1add318b5e5d09977f7f374e923577b6ff3be Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+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 @@
+         </para>
+         <xi:include href="xml/libpsl.xml"/>
+   </chapter>
+-  <chapter id="object-tree">
+-    <title>Object Hierarchy</title>
+-     <xi:include href="xml/tree_index.sgml"/>
+-  </chapter>
+   <index id="api-index-full">
+     <title>API Index</title>
+     <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
index 22e7ea34411097e87404ac2411b297b1269a6875..ac454b83c738415395a3c8a6ea11dac9e81ea6d7 100644 (file)
@@ -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
 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
 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
 
 %prep
 %setup -q
+%patch0 -p1
 
 %if 0
 rmdir list
 
 %if 0
 rmdir list
This page took 0.137518 seconds and 4 git commands to generate.