Backport a patch for fixing a function declaration without prototype issue
Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn> (cherry picked from commit 4fe5c6395540941c977590ae9c2cb3351792ce0e)
This commit is contained in:
parent
9dd5aa998f
commit
8f24078290
@ -3,12 +3,15 @@
|
||||
|
||||
Name: appstream
|
||||
Version: 0.16.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Utilities to generate, maintain and access the AppStream database
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: https://github.com/ximion/appstream
|
||||
Source0: https://github.com/ximion/appstream/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
# https://github.com/ximion/appstream/pull/546/
|
||||
Patch0: backport-fix-a-function-declaration-without-prototype-issue.patch
|
||||
|
||||
BuildRequires: cmake meson gettext gperf gtk-doc intltool itstool
|
||||
BuildRequires: libstemmer-devel sed
|
||||
BuildRequires: pkgconfig(gio-2.0) pkgconfig(gobject-introspection-1.0)
|
||||
@ -182,6 +185,9 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
|
||||
%{_libdir}/libAppStreamQt.so
|
||||
|
||||
%changelog
|
||||
* Wed Dec 11 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 0.16.1-2
|
||||
- Backport a patch for fixing a function declaration without prototype issue
|
||||
|
||||
* Mon Oct 16 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.16.1-1
|
||||
- Upgrade to 0.16.1
|
||||
|
||||
|
||||
@ -0,0 +1,26 @@
|
||||
From 82dc772ab6d0beeccf5ae9156016f794ebe26663 Mon Sep 17 00:00:00 2001
|
||||
From: Gleb Popov <6yearold@gmail.com>
|
||||
Date: Tue, 31 Oct 2023 10:12:22 +0300
|
||||
Subject: [PATCH] fix a function declaration without prototype issue
|
||||
|
||||
Tested-by: jchzhou <zhoujiacheng@iscas.ac.cn>
|
||||
---
|
||||
compose/asc-globals.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/compose/asc-globals.c b/compose/asc-globals.c
|
||||
index 314f75c..0bf221e 100644
|
||||
--- a/compose/asc-globals.c
|
||||
+++ b/compose/asc-globals.c
|
||||
@@ -455,7 +455,7 @@ asc_globals_get_hint_tag_details (const gchar *tag)
|
||||
* Returns: (transfer full): A list of valid hint tags. Free with %g_strfreev
|
||||
*/
|
||||
gchar**
|
||||
-asc_globals_get_hint_tags ()
|
||||
+asc_globals_get_hint_tags (void)
|
||||
{
|
||||
AscGlobalsPrivate *priv = asc_globals_get_priv ();
|
||||
GHashTableIter iter;
|
||||
--
|
||||
2.47.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user