packages: podofo/podofo.spec, podofo/podofo-casts.patch (NEW) - rel 2; buil...

arekm arekm at pld-linux.org
Mon Aug 16 10:16:50 CEST 2010


Author: arekm                        Date: Mon Aug 16 08:16:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; build fix

---- Files affected:
packages/podofo:
   podofo.spec (1.5 -> 1.6) , podofo-casts.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/podofo/podofo.spec
diff -u packages/podofo/podofo.spec:1.5 packages/podofo/podofo.spec:1.6
--- packages/podofo/podofo.spec:1.5	Wed Jul 14 13:36:31 2010
+++ packages/podofo/podofo.spec	Mon Aug 16 10:16:45 2010
@@ -7,11 +7,12 @@
 Summary(pl.UTF-8):	Biblioteka do obsługi PDF-ów
 Name:		podofo
 Version:	0.8.1
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
 # Source0-md5:	1d5cc8c03e2942266f96a7e8bf09dd0e
+Patch0:		%{name}-casts.patch
 URL:		http://podofo.sourceforge.net/
 BuildRequires:	cmake
 %{?with_apidocs:BuildRequires:	doxygen}
@@ -95,6 +96,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
@@ -166,6 +168,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/08/16 08:16:45  arekm
+- rel 2; build fix
+
 Revision 1.5  2010/07/14 11:36:31  lisu
 - updated to 0.8.1
 - problem with bogus shared library name fixed upstream

================================================================
Index: packages/podofo/podofo-casts.patch
diff -u /dev/null packages/podofo/podofo-casts.patch:1.1
--- /dev/null	Mon Aug 16 10:16:51 2010
+++ packages/podofo/podofo-casts.patch	Mon Aug 16 10:16:45 2010
@@ -0,0 +1,29 @@
+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
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/podofo/podofo.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list