support clang
This commit is contained in:
parent
7878819195
commit
391bbcf64f
33
0001-modify-perl-libxml-mm.c.patch
Normal file
33
0001-modify-perl-libxml-mm.c.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 5799da176777ad3aefb851f23df6232c6f21d0b3 Mon Sep 17 00:00:00 2001
|
||||
From: "Shencb@123" <1944340417@qq.com>
|
||||
Date: Mon, 26 Aug 2024 23:10:01 +0800
|
||||
Subject: [PATCH] modify perl-libxml-mm.c
|
||||
|
||||
---
|
||||
util/rarian-example.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/util/rarian-example.c b/util/rarian-example.c
|
||||
index d203a19..714d69c 100644
|
||||
--- a/util/rarian-example.c
|
||||
+++ b/util/rarian-example.c
|
||||
@@ -76,7 +76,7 @@ for_each_cb (RrnReg *reg, void * user_data)
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
-
|
||||
+int
|
||||
info_for_each (RrnInfoEntry *entry, void *data)
|
||||
{
|
||||
if (entry->section)
|
||||
@@ -89,7 +89,7 @@ info_for_each (RrnInfoEntry *entry, void *data)
|
||||
entry->comment);
|
||||
return TRUE;
|
||||
}
|
||||
-
|
||||
+int
|
||||
man_for_each (RrnManEntry *entry, void *data)
|
||||
{
|
||||
printf ("Man page %s\n", entry->name);
|
||||
--
|
||||
2.45.2.windows.1
|
||||
@ -1,6 +1,6 @@
|
||||
Name: rarian
|
||||
Version: 0.8.1
|
||||
Release: 24
|
||||
Release: 25
|
||||
License: LGPLv2+
|
||||
Summary: Documentation meta-data library
|
||||
URL: http://rarian.freedesktop.org/
|
||||
@ -9,6 +9,7 @@ Source: http://download.gnome.org/sources/rarian/0.8/rarian-%{version}.tar.bz2
|
||||
Source1: scrollkeeper-omf.dtd
|
||||
|
||||
Patch1: rarian-0.8.1-categories.patch
|
||||
Patch2:0001-modify-perl-libxml-mm.c
|
||||
|
||||
Requires(post): libxml2
|
||||
Requires(postun): libxml2
|
||||
@ -110,6 +111,12 @@ fi
|
||||
%{_datadir}/help
|
||||
|
||||
%changelog
|
||||
* Tue Aug 27 2024 shenchenbangs <1944340417@qq.com> - 0.8.1-25
|
||||
- Fix the function does not define a return value
|
||||
|
||||
* Wed Sep 08 2021 shixuantong <shixuantong@huawei.com> - 0.8.1-24
|
||||
- remove rpath
|
||||
|
||||
* Wed Sep 08 2021 shixuantong <shixuantong@huawei.com> - 0.8.1-24
|
||||
- remove rpath
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user