diff --git a/0001-fix-undeclared-symbol-pango_parse_markup-due-to-pango-updated.patch b/0001-fix-undeclared-symbol-pango_parse_markup-due-to-pango-updated.patch new file mode 100644 index 0000000..1f15e6c --- /dev/null +++ b/0001-fix-undeclared-symbol-pango_parse_markup-due-to-pango-updated.patch @@ -0,0 +1,24 @@ +From c72b2ed231a0dfaf0080b86f209edd4179cb48ce Mon Sep 17 00:00:00 2001 +From: wang--ge +Date: Thu, 6 Jan 2022 14:06:41 +0800 +Subject: [PATCH] fix undclared symbol pango_parse_markup due to pango updated + +--- + untracked/pango/pangomm/attrlist.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/untracked/pango/pangomm/attrlist.cc b/untracked/pango/pangomm/attrlist.cc +index 76c3341..cb5cbe4 100644 +--- a/untracked/pango/pangomm/attrlist.cc ++++ b/untracked/pango/pangomm/attrlist.cc +@@ -5,6 +5,7 @@ + + #include + #include ++#include + + + // -*- c++ -*- +-- +2.30.0 + diff --git a/pangomm.spec b/pangomm.spec index 19a954a..bb29ae3 100644 --- a/pangomm.spec +++ b/pangomm.spec @@ -1,10 +1,11 @@ Name: pangomm Version: 2.42.2 -Release: 1 +Release: 2 Summary: C++ bindings for pango License: LGPLv2+ URL: http://www.gtkmm.org/ Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.42/%{name}-%{version}.tar.xz +Patch0: 0001-fix-undeclared-symbol-pango_parse_markup-due-to-pango-updated.patch BuildRequires: gcc-c++ glibmm24-devel >= 2.48.0 cairomm-devel >= 1.2.2 libxslt BuildRequires: pango-devel >= 1.41.0 doxygen graphviz meson perl m4 mm-common @@ -66,6 +67,10 @@ This package contains some man help file and some other files for %{name}. %{_datadir}/devhelp/ %changelog +* Thu Jan 06 2022 Ge Wang - 2.42.2-2 +- Fix build error: pango_parse_markup was not declared in this scope +- Add include file in attrlist.cc + * Fri Jun 18 2021 weijin deng - 2.42.2-1 - Upgrade to 2.42.2 - Use meson rebuild