rebuilt with --disable-werror [release 0.1.2-2mamba;Sun Jun 13 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:17:15 +01:00
parent 90cc688e26
commit 2ccc20f31d
3 changed files with 40 additions and 7 deletions

View File

@ -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. Libfreehand is a library providing ability to interpret and import Adobe/Macromedia drawings into various applications. You can find it being used in libreoffice.

View File

@ -0,0 +1,29 @@
From af3197f795625f5188602073205a34369698b6df Mon Sep 17 00:00:00 2001
From: Heiko Becker <heirecka@exherbo.org>
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 <vmiklos@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
---
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<unsigne
while (j < length)
{
UChar32 c;
- U16_NEXT(s, j, length, c)
+ U16_NEXT(s, j, length, c);
unsigned char outbuf[U8_MAX_LENGTH+1];
int i = 0;
U8_APPEND_UNSAFE(&outbuf[0], i, c);
--
2.23.0

View File

@ -1,7 +1,7 @@
%define apiver %(echo %version |cut -d. -f1-2) %define apiver %(echo %version |cut -d. -f1-2)
Name: libfreehand Name: libfreehand
Version: 0.1.2 Version: 0.1.2
Release: 1mamba Release: 2mamba
Summary: A library providing ability to interpret and import Adobe/Macromedia drawings into various applications Summary: A library providing ability to interpret and import Adobe/Macromedia drawings into various applications
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -9,23 +9,22 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/wiki/Software/libfreehand/ URL: http://www.freedesktop.org/wiki/Software/libfreehand/
Source: http://dev-www.libreoffice.org/src/libfreehand-%{version}.tar.xz Source: http://dev-www.libreoffice.org/src/libfreehand-%{version}.tar.xz
Patch0: libfreehand-0.1.2-libicu-69.1.patch
License: MPL 2.0 License: MPL 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: liblcms2-devel
BuildRequires: librevenge-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libwpd-devel
BuildRequires: libwpg-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libwpd-devel >= 0.10 BuildRequires: libwpd-devel >= 0.10
BuildRequires: libwpg-devel >= 0.3.0 BuildRequires: libwpg-devel >= 0.3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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 %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
@ -47,9 +46,12 @@ This package contains utility applications for %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%configure %configure \
--disable-werror
%make %make
%install %install
@ -84,6 +86,9 @@ This package contains utility applications for %{name}.
%{_bindir}/fh2* %{_bindir}/fh2*
%changelog %changelog
* Sun Jun 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-2mamba
- rebuilt with --disable-werror
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba * Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
- automatic update by autodist - automatic update by autodist