pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/podofo
Module Name: pkgsrc
Committed By: joerg
Date: Mon Sep 25 22:26:27 UTC 2017
Modified Files:
pkgsrc/print/podofo: Makefile buildlink3.mk distinfo
pkgsrc/print/podofo/patches: patch-src_base_PdfCompilerCompat.h
Added Files:
pkgsrc/print/podofo/patches: patch-src_base_PdfDefines.h
patch-src_base_PdfVariant.h
Log Message:
Apply upstream fix for providing the same ABI for C++03 and C++11.
Bump revision. Belatedly fix b3.mk.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/print/podofo/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/print/podofo/buildlink3.mk
cvs rdiff -u -r1.17 -r1.18 pkgsrc/print/podofo/distinfo
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/print/podofo/patches/patch-src_base_PdfCompilerCompat.h
cvs rdiff -u -r0 -r1.1 \
pkgsrc/print/podofo/patches/patch-src_base_PdfDefines.h \
pkgsrc/print/podofo/patches/patch-src_base_PdfVariant.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/podofo/Makefile
diff -u pkgsrc/print/podofo/Makefile:1.28 pkgsrc/print/podofo/Makefile:1.29
--- pkgsrc/print/podofo/Makefile:1.28 Sat Feb 11 22:27:00 2017
+++ pkgsrc/print/podofo/Makefile Mon Sep 25 22:26:27 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2017/02/11 22:27:00 adam Exp $
+# $NetBSD: Makefile,v 1.29 2017/09/25 22:26:27 joerg Exp $
DISTNAME= podofo-0.9.5
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=podofo/}
Index: pkgsrc/print/podofo/buildlink3.mk
diff -u pkgsrc/print/podofo/buildlink3.mk:1.8 pkgsrc/print/podofo/buildlink3.mk:1.9
--- pkgsrc/print/podofo/buildlink3.mk:1.8 Fri Jul 5 21:12:45 2013
+++ pkgsrc/print/podofo/buildlink3.mk Mon Sep 25 22:26:27 2017
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.8 2013/07/05 21:12:45 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2017/09/25 22:26:27 joerg Exp $
BUILDLINK_TREE+= podofo
.if !defined(PODOFO_BUILDLINK3_MK)
PODOFO_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.podofo+= podofo>=0.9.2
+BUILDLINK_API_DEPENDS.podofo+= podofo>=0.9.5nb1
BUILDLINK_PKGSRCDIR.podofo?= ../../print/podofo
.include "../../devel/zlib/buildlink3.mk"
Index: pkgsrc/print/podofo/distinfo
diff -u pkgsrc/print/podofo/distinfo:1.17 pkgsrc/print/podofo/distinfo:1.18
--- pkgsrc/print/podofo/distinfo:1.17 Sat Feb 11 22:27:00 2017
+++ pkgsrc/print/podofo/distinfo Mon Sep 25 22:26:27 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2017/02/11 22:27:00 adam Exp $
+$NetBSD: distinfo,v 1.18 2017/09/25 22:26:27 joerg Exp $
SHA1 (podofo-0.9.5.tar.gz) = 25c84a9e4815197e967bdb93fc2de8e1654a2812
RMD160 (podofo-0.9.5.tar.gz) = a557330766b1795dd010937eb5c08ce7df671122
@@ -6,7 +6,9 @@ SHA512 (podofo-0.9.5.tar.gz) = d13b30bfe
Size (podofo-0.9.5.tar.gz) = 1160799 bytes
SHA1 (patch-CMakeLists.txt) = f6e51c220fcd1cca833cdf5e4d9c3e0da9116c1e
SHA1 (patch-cmake_modules_FindFREETYPE.cmake) = 755d6d7ad73dea490479b90299728129bb1b0795
-SHA1 (patch-src_base_PdfCompilerCompat.h) = 5472e3fdda57f48ac5d6f24e916e94c51fd18af4
+SHA1 (patch-src_base_PdfCompilerCompat.h) = 965cc15853f9829fad0e018651a7640914108c67
+SHA1 (patch-src_base_PdfDefines.h) = 1526aacbe680adaa6f147aafb3303ec2f45991e7
SHA1 (patch-src_base_PdfMemoryManagement.cpp) = 9303daf1e471106d9d22e42230db650dba5f1006
+SHA1 (patch-src_base_PdfVariant.h) = 8e9c206738716fd51a1d56f34e7aa35cc6718d48
SHA1 (patch-src_doc_PdfImage.cpp) = 844250a772d40ba3ea2322ea623990b87b27c664
SHA1 (patch-test_CMakeLists.txt) = 846871dac995ff80544ad9096574eddd776e324f
Index: pkgsrc/print/podofo/patches/patch-src_base_PdfCompilerCompat.h
diff -u pkgsrc/print/podofo/patches/patch-src_base_PdfCompilerCompat.h:1.2 pkgsrc/print/podofo/patches/patch-src_base_PdfCompilerCompat.h:1.3
--- pkgsrc/print/podofo/patches/patch-src_base_PdfCompilerCompat.h:1.2 Thu Nov 5 19:46:53 2015
+++ pkgsrc/print/podofo/patches/patch-src_base_PdfCompilerCompat.h Mon Sep 25 22:26:27 2017
@@ -1,8 +1,12 @@
-$NetBSD: patch-src_base_PdfCompilerCompat.h,v 1.2 2015/11/05 19:46:53 adam Exp $
+$NetBSD: patch-src_base_PdfCompilerCompat.h,v 1.3 2017/09/25 22:26:27 joerg Exp $
---- src/base/PdfCompilerCompat.h.orig 2011-09-30 13:20:59.000000000 +0200
-+++ src/base/PdfCompilerCompat.h 2014-08-26 14:58:16.000000000 +0200
-@@ -72,6 +72,9 @@
+Ensure alloca exists, even in standard modes on NetBSD.
+
+Merge r1825.
+
+--- src/base/PdfCompilerCompat.h.orig 2017-01-11 20:32:50.000000000 +0000
++++ src/base/PdfCompilerCompat.h
+@@ -74,6 +74,9 @@
#if defined(_WIN32)
#include <malloc.h>
#endif
@@ -12,3 +16,20 @@ $NetBSD: patch-src_base_PdfCompilerCompa
// Disable usage of min() and max() macros
#if defined(_WIN32) && !defined(__MINGW32__)
+@@ -198,16 +201,6 @@ namespace PoDoFo {
+
+ #endif // defined(_WIN32)
+
+-// Visual C++ 2015 (_MSC_VER 1900) still uses __cplusplus = 199711 so, we need both tests
+-// this shrinks enum types from sizeof(int) to sizeof(char) which creates significant
+-// space savings on PdfObject / PdfVariant
+-#if (defined(_MSC_VER) && _MSC_VER < 1900) || (!defined(_MSC_VER) && __cplusplus < 201103)
+-#define PODOFO_ENUM_UINT8
+-#else
+-#define PODOFO_ENUM_UINT8 : uint8_t
+-#endif
+-
+-
+ /**
+ * \page PoDoFo PdfCompilerCompat Header
+ *
Added files:
Index: pkgsrc/print/podofo/patches/patch-src_base_PdfDefines.h
diff -u /dev/null pkgsrc/print/podofo/patches/patch-src_base_PdfDefines.h:1.1
--- /dev/null Mon Sep 25 22:26:27 2017
+++ pkgsrc/print/podofo/patches/patch-src_base_PdfDefines.h Mon Sep 25 22:26:27 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_base_PdfDefines.h,v 1.1 2017/09/25 22:26:27 joerg Exp $
+
+Merge r1825.
+
+--- src/base/PdfDefines.h.orig 2017-09-25 13:21:28.667585186 +0000
++++ src/base/PdfDefines.h
+@@ -194,7 +194,7 @@ const EPdfWriteMode ePdfWriteMode_Defaul
+ *
+ * Remember to update PdfVariant::GetDataTypeString() when adding members here.
+ */
+-enum EPdfDataType PODOFO_ENUM_UINT8 {
++enum EPdfDataType {
+ ePdfDataType_Bool, /**< Boolean datatype: Accepts the values "true" and "false" */
+ ePdfDataType_Number, /**< Number datatype for integer values */
+ ePdfDataType_Real, /**< Real datatype for floating point numbers */
Index: pkgsrc/print/podofo/patches/patch-src_base_PdfVariant.h
diff -u /dev/null pkgsrc/print/podofo/patches/patch-src_base_PdfVariant.h:1.1
--- /dev/null Mon Sep 25 22:26:27 2017
+++ pkgsrc/print/podofo/patches/patch-src_base_PdfVariant.h Mon Sep 25 22:26:27 2017
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_base_PdfVariant.h,v 1.1 2017/09/25 22:26:27 joerg Exp $
+
+Merge r1825.
+
+--- src/base/PdfVariant.h.orig 2017-09-25 13:20:57.927586504 +0000
++++ src/base/PdfVariant.h
+@@ -513,7 +513,7 @@ class PODOFO_API PdfVariant {
+ * required to access the correct member of
+ * the union UVariant.
+ */
+- EPdfDataType m_eDataType;
++ pdf_int8 m_eDataType;
+
+ // No touchy. Only for use by PdfVariant's internal tracking of the delayed
+ // loading state. Use DelayedLoadDone() to test this if you need to.
+@@ -574,7 +574,7 @@ EPdfDataType PdfVariant::GetDataType() c
+ {
+ DelayedLoad();
+
+- return m_eDataType;
++ return static_cast<EPdfDataType>(m_eDataType);
+ }
+
+ // -----------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index