From b3c127ec0622727c532678588744a1c04ca852fe Mon Sep 17 00:00:00 2001 From: liuqiangmin Date: Sat, 19 Nov 2022 01:14:44 +0800 Subject: [PATCH] * lv_hashmap.c (_HashmapIterContext), lv_list.c ListIterContext): 'object' should have type VisObject, not VisObject *. --- ...shmapIterContext-lv_list.c-ListIterC.patch | 58 +++++++++++++++++++ libvisual.spec | 6 +- 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 0004-lv_hashmap.c-_HashmapIterContext-lv_list.c-ListIterC.patch diff --git a/0004-lv_hashmap.c-_HashmapIterContext-lv_list.c-ListIterC.patch b/0004-lv_hashmap.c-_HashmapIterContext-lv_list.c-ListIterC.patch new file mode 100644 index 0000000..9fd1b70 --- /dev/null +++ b/0004-lv_hashmap.c-_HashmapIterContext-lv_list.c-ListIterC.patch @@ -0,0 +1,58 @@ +From db3343d11152cf2ad9a4b75688799ba8b310d57f Mon Sep 17 00:00:00 2001 +From: liuqiangmin +Date: Sat, 19 Nov 2022 00:38:41 +0800 +Subject: [PATCH] * lv_hashmap.c (_HashmapIterContext), lv_list.c + ListIterContext): 'object' should have type VisObject, not VisObject *. + +--- + libvisual/lv_hashmap.c | 4 ++-- + libvisual/lv_list.c | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/libvisual/lv_hashmap.c b/libvisual/lv_hashmap.c +index 3a42b77..805a569 100644 +--- a/libvisual/lv_hashmap.c ++++ b/libvisual/lv_hashmap.c +@@ -4,7 +4,7 @@ + * + * Authors: Dennis Smit + * +- * $Id: lv_hashmap.c,v 1.11 2006/02/17 22:00:17 synap Exp $ ++ * $Id: lv_hashmap.c,v 1.11.2.1 2006-09-16 18:43:45 descender Exp $ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as +@@ -35,7 +35,7 @@ + typedef struct _HashmapIterContext HashmapIterContext; + + struct _HashmapIterContext { +- VisObject *object; ++ VisObject object; + + int index; + int retrieved; +diff --git a/libvisual/lv_list.c b/libvisual/lv_list.c +index 4810d77..efabc5a 100644 +--- a/libvisual/lv_list.c ++++ b/libvisual/lv_list.c +@@ -12,7 +12,7 @@ + * Sepp Wijnands , + * Tom Wimmenhove + * +- * $Id: lv_list.c,v 1.30 2006/01/22 13:23:37 synap Exp $ ++ * $Id: lv_list.c,v 1.30.2.1 2006-09-16 18:43:45 descender Exp $ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as +@@ -46,7 +46,7 @@ + typedef struct _ListIterContext ListIterContext; + + struct _ListIterContext { +- VisObject *object; ++ VisObject object; + + VisListEntry *cur; + }; +-- +2.27.0 + diff --git a/libvisual.spec b/libvisual.spec index bf946a4..dffcd84 100644 --- a/libvisual.spec +++ b/libvisual.spec @@ -1,6 +1,6 @@ Name: libvisual Version: 0.4.0 -Release: 29 +Release: 30 Epoch: 1 Summary: Audio Visualization Library @@ -12,6 +12,7 @@ Patch0: libvisual-0.4.0-better-altivec-detection.patch Patch1: libvisual-0.4.0-inlinedefineconflict.patch Patch2: libvisual-0.4.0-format-security.patch Patch3: libvisual-0.4.0-sw.patch +Patch4: 0004-lv_hashmap.c-_HashmapIterContext-lv_list.c-ListIterC.patch BuildRequires: libtool gettext gcc-c++ xorg-x11-proto-devel doxygen @@ -63,6 +64,9 @@ make %{?_smp_mflags} %{_libdir}/pkgconfig/*.pc %changelog +* Thu Dec 29 2022 liuqiangmin - 1:0.4.0-30 +- Update source code from commit 681ff7d + * Fri Dec 2022 zhangzhixin - 1:0.4.0-29 - Add sw64 arch patch -- Gitee