pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/podofo Build didn't find SIZE_MAX (on 7.99.35/am...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ab583f1dcb4
branches: trunk
changeset: 350684:1ab583f1dcb4
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Aug 02 20:14:44 2016 +0000
description:
Build didn't find SIZE_MAX (on 7.99.35/amd64).
Not exactly sure why, but it was repeatable, so add a patch that makes
sure SIZE_MAX is defined.
diffstat:
print/podofo/distinfo | 3 +-
print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp | 16 +++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r d69acd13199a -r 1ab583f1dcb4 print/podofo/distinfo
--- a/print/podofo/distinfo Tue Aug 02 20:07:43 2016 +0000
+++ b/print/podofo/distinfo Tue Aug 02 20:14:44 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2016/08/01 13:39:34 adam Exp $
+$NetBSD: distinfo,v 1.16 2016/08/02 20:14:44 wiz Exp $
SHA1 (podofo-0.9.4.tar.gz) = e91929e0e4c020aee77d6aca5a5af8195888918c
RMD160 (podofo-0.9.4.tar.gz) = 431496b2e4f5d14d05d56f0a5c9bf328fbab1b7a
@@ -7,5 +7,6 @@
SHA1 (patch-CMakeLists.txt) = f6e51c220fcd1cca833cdf5e4d9c3e0da9116c1e
SHA1 (patch-cmake_modules_FindFREETYPE.cmake) = 755d6d7ad73dea490479b90299728129bb1b0795
SHA1 (patch-src_base_PdfCompilerCompat.h) = 5472e3fdda57f48ac5d6f24e916e94c51fd18af4
+SHA1 (patch-src_base_PdfMemoryManagement.cpp) = 48766c3bfdba244d96b54259050c609a7e837593
SHA1 (patch-src_doc_PdfImage.cpp) = 844250a772d40ba3ea2322ea623990b87b27c664
SHA1 (patch-test_CMakeLists.txt) = 846871dac995ff80544ad9096574eddd776e324f
diff -r d69acd13199a -r 1ab583f1dcb4 print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp Tue Aug 02 20:14:44 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_base_PdfMemoryManagement.cpp,v 1.1 2016/08/02 20:14:44 wiz Exp $
+
+Make sure SIZE_MAX is defined.
+
+--- src/base/PdfMemoryManagement.cpp.orig 2016-05-15 19:12:45.000000000 +0000
++++ src/base/PdfMemoryManagement.cpp
+@@ -31,6 +31,9 @@
+ * files in the program, then also delete it here. *
+ ***************************************************************************/
+
++#define __STDC_LIMIT_MACROS 1
++#include <stdint.h>
++
+ #include "PdfMemoryManagement.h"
+ #include "PdfDefinesPrivate.h"
+
Home |
Main Index |
Thread Index |
Old Index