rpms/podofo/EL-6 podofo-0.8.1-casts.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 podofo.spec, 1.4, 1.5 sources, 1.3, 1.4 podofo-0.8.0-version.patch, 1.1, NONE

Dan Horák sharkcz at fedoraproject.org
Tue Jun 15 07:02:14 UTC 2010


Author: sharkcz

Update of /cvs/pkgs/rpms/podofo/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv30359

Modified Files:
	.cvsignore podofo.spec sources 
Added Files:
	podofo-0.8.1-casts.patch 
Removed Files:
	podofo-0.8.0-version.patch 
Log Message:
* Tue Jun  8 2010 Dan Horák <dan[at]danny.cz> 0.8.1-2
- fix building tests


podofo-0.8.1-casts.patch:
 EncryptTest.cpp |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

--- NEW FILE podofo-0.8.1-casts.patch ---
>From 713ce16bc78e7d744c0a490eb10148ea7c6939a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan at danny.cz>
Date: Tue, 8 Jun 2010 11:57:15 +0200
Subject: [PATCH] add missing casts to pdf_int64

---
 test/unit/EncryptTest.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/unit/EncryptTest.cpp b/test/unit/EncryptTest.cpp
index e0b4801..3355175 100644
--- a/test/unit/EncryptTest.cpp
+++ b/test/unit/EncryptTest.cpp
@@ -326,9 +326,9 @@ void EncryptTest::testEnableAlgorithms()
 
     PdfObject object;
     object.GetDictionary().AddKey(PdfName("Filter"), PdfName("Standard"));
-    object.GetDictionary().AddKey(PdfName("V"), 4L);
-    object.GetDictionary().AddKey(PdfName("R"), 4L);
-    object.GetDictionary().AddKey(PdfName("P"), 1L);
+    object.GetDictionary().AddKey(PdfName("V"), static_cast<pdf_int64>(4L));
+    object.GetDictionary().AddKey(PdfName("R"), static_cast<pdf_int64>(4L));
+    object.GetDictionary().AddKey(PdfName("P"), static_cast<pdf_int64>(1L));
     object.GetDictionary().AddKey(PdfName("O"), PdfString(""));
     object.GetDictionary().AddKey(PdfName("U"), PdfString(""));
 
-- 
1.6.6.1



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/podofo/EL-6/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	11 May 2010 08:53:15 -0000	1.3
+++ .cvsignore	15 Jun 2010 07:02:13 -0000	1.4
@@ -1 +1 @@
-podofo-0.8.0.tar.gz
+podofo-0.8.1.tar.gz


Index: podofo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/podofo/EL-6/podofo.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- podofo.spec	11 May 2010 08:53:16 -0000	1.4
+++ podofo.spec	15 Jun 2010 07:02:14 -0000	1.5
@@ -1,13 +1,13 @@
 Name:           podofo
-Version:        0.8.0
-Release:        1%{?dist}
+Version:        0.8.1
+Release:        2%{?dist}
 Summary:        Tools and libraries to work with the PDF file format
 
 Group:          Applications/Publishing
 License:        GPLv2+
 URL:            http://podofo.sourceforge.net
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch0:         %{name}-0.8.0-version.patch
+Patch0:         %{name}-0.8.1-casts.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  cmake
@@ -57,7 +57,7 @@ Development files and documentation for 
 
 %prep
 %setup -q
-%patch0 -p1 -b .version
+%patch0 -p1 -b .casts
 
 
 %build
@@ -106,6 +106,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jun  8 2010 Dan Horák <dan[at]danny.cz> 0.8.1-2
+- fix building tests
+
+* Mon Jun  7 2010 Dan Horák <dan[at]danny.cz> 0.8.1-1
+- updated to 0.8.1
+
 * Thu Apr 29 2010 Dan Horák <dan[at]danny.cz> 0.8.0-1
 - updated to 0.8.0
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/podofo/EL-6/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources	11 May 2010 08:53:16 -0000	1.3
+++ sources	15 Jun 2010 07:02:14 -0000	1.4
@@ -1 +1 @@
-b73b4f2f3525a2dcd632f5e0054cab63  podofo-0.8.0.tar.gz
+1d5cc8c03e2942266f96a7e8bf09dd0e  podofo-0.8.1.tar.gz


--- podofo-0.8.0-version.patch DELETED ---



More information about the scm-commits mailing list