patch against gcc 4.9 [release 0.9.3-2mamba;Sat Sep 27 2014]
This commit is contained in:
parent
5d41708a8f
commit
2d3be82822
11
podofo-0.9.3-gcc-4.9.patch
Normal file
11
podofo-0.9.3-gcc-4.9.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- podofo-0.9.3/test/unit/EncryptTest.h.orig 2014-09-27 13:57:19.195358412 +0200
|
||||||
|
+++ podofo-0.9.3/test/unit/EncryptTest.h 2014-09-27 13:55:43.003326947 +0200
|
||||||
|
@@ -83,7 +83,7 @@
|
||||||
|
|
||||||
|
private:
|
||||||
|
char* m_pEncBuffer;
|
||||||
|
- long m_lLen;
|
||||||
|
+ int m_lLen;
|
||||||
|
int m_protection;
|
||||||
|
|
||||||
|
};
|
24
podofo.spec
24
podofo.spec
@ -1,23 +1,26 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
Name: podofo
|
Name: podofo
|
||||||
Version: 0.9.2
|
Version: 0.9.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Tools based on libpodofo to work with the PDF file format
|
Summary: Tools based on libpodofo to work with the PDF file format
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||||
URL: http://podofo.sourceforge.net/
|
URL: http://podofo.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/project/podofo/podofo/%{majver}/podofo-%{version}.tar.gz
|
Source: https://downloads.sourceforge.net/project/podofo/podofo/%{version}/podofo-%{version}.tar.gz
|
||||||
|
Patch0: podofo-0.9.3-gcc-4.9.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libfontconfig-devel
|
BuildRequires: libfontconfig-devel
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libidn-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: liblua51-devel
|
BuildRequires: liblua-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
@ -56,12 +59,19 @@ This package contains libraries and header files for developing applications tha
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%ifnarch x86_64
|
||||||
|
%patch0 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
-DPODOFO_BUILD_SHARED:BOOL=TRUE \
|
-DPODOFO_BUILD_SHARED:BOOL=TRUE \
|
||||||
-DPODOFO_BUILD_STATIC:BOOL=FALSE \
|
-DPODOFO_BUILD_STATIC:BOOL=FALSE \
|
||||||
-DLUA_INCLUDE_DIR=`pkg-config --variable=includedir lua5.1` \
|
-DLUA_INCLUDE_DIR=`pkg-config --variable=includedir lua5.1` \
|
||||||
|
-DFREETYPE_INCLUDE_DIR=%{_includedir}/freetype2 \
|
||||||
|
-DPODOFO_HAVE_JPEG_LIB=1 \
|
||||||
|
-DPODOFO_HAVE_PNG_LIB=1 \
|
||||||
|
-DPODOFO_HAVE_TIFF_LIB=1 \
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
-DWANT_LIB64=1 \
|
-DWANT_LIB64=1 \
|
||||||
%endif
|
%endif
|
||||||
@ -94,6 +104,12 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%{_mandir}/man1/podofo*.1*
|
%{_mandir}/man1/podofo*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
|
||||||
|
- patch against gcc 4.9
|
||||||
|
|
||||||
|
* Mon Aug 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-1mamba
|
||||||
|
- update to 0.9.3
|
||||||
|
|
||||||
* Sat Jul 20 2013 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
* Sat Jul 20 2013 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user