From 2ccc20f31dcf6abe49eb8a325397674d515c8fa2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:17:15 +0100 Subject: [PATCH] rebuilt with --disable-werror [release 0.1.2-2mamba;Sun Jun 13 2021] --- README.md | 1 - libfreehand-0.1.2-libicu-69.1.patch | 29 +++++++++++++++++++++++++++++ libfreehand.spec | 17 +++++++++++------ 3 files changed, 40 insertions(+), 7 deletions(-) create mode 100644 libfreehand-0.1.2-libicu-69.1.patch diff --git a/README.md b/README.md index 3e7148b..f9a5552 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,3 @@ Libfreehand is a library providing ability to interpret and import Adobe/Macromedia drawings into various applications. You can find it being used in libreoffice. - diff --git a/libfreehand-0.1.2-libicu-69.1.patch b/libfreehand-0.1.2-libicu-69.1.patch new file mode 100644 index 0000000..2a904e4 --- /dev/null +++ b/libfreehand-0.1.2-libicu-69.1.patch @@ -0,0 +1,29 @@ +From af3197f795625f5188602073205a34369698b6df Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Fri, 4 Oct 2019 01:46:12 +0200 +Subject: [PATCH] Add missing semicolon to fix build with icu 65.1 + +Change-Id: I7a0b0d600e9f7770245a7485813a944bfac4f088 +Reviewed-on: https://gerrit.libreoffice.org/80224 +Reviewed-by: Miklos Vajna +Tested-by: Miklos Vajna +--- + src/lib/libfreehand_utils.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib/libfreehand_utils.cpp b/src/lib/libfreehand_utils.cpp +index 439c457..32f23e0 100644 +--- a/src/lib/libfreehand_utils.cpp ++++ b/src/lib/libfreehand_utils.cpp +@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString &text, std::vector URL: http://www.freedesktop.org/wiki/Software/libfreehand/ Source: http://dev-www.libreoffice.org/src/libfreehand-%{version}.tar.xz +Patch0: libfreehand-0.1.2-libicu-69.1.patch License: MPL 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc +BuildRequires: liblcms2-devel +BuildRequires: librevenge-devel BuildRequires: libstdc++6-devel -BuildRequires: libwpd-devel -BuildRequires: libwpg-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libwpd-devel >= 0.10 BuildRequires: libwpg-devel >= 0.3.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Libfreehand is a library providing ability to interpret and import Adobe/Macromedia drawings into various applications. You can find it being used in libreoffice. - %package devel Group: Development/Libraries Summary: Development files for %{name} @@ -47,9 +46,12 @@ This package contains utility applications for %{name}. %prep %setup -q +%patch0 -p1 %build -%configure +%configure \ + --disable-werror + %make %install @@ -84,6 +86,9 @@ This package contains utility applications for %{name}. %{_bindir}/fh2* %changelog +* Sun Jun 13 2021 Silvan Calarco 0.1.2-2mamba +- rebuilt with --disable-werror + * Sat Nov 18 2017 Automatic Build System 0.1.2-1mamba - automatic update by autodist