diff options
author | wiz <wiz@pkgsrc.org> | 2016-08-02 20:14:44 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-08-02 20:14:44 +0000 |
commit | ab4cc2382d3b87ad262d6a15c23ec49d631bccf1 (patch) | |
tree | 6c338dd5e42b73cc1153ce442be4ed3be052fdc4 /print | |
parent | bcd2f256bbbc900810b262a2fc417cb73832c3b0 (diff) | |
download | pkgsrc-ab4cc2382d3b87ad262d6a15c23ec49d631bccf1.tar.gz |
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 (limited to 'print')
-rw-r--r-- | print/podofo/distinfo | 3 | ||||
-rw-r--r-- | print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/print/podofo/distinfo b/print/podofo/distinfo index 0666fb03d80..3dd8545bd8b 100644 --- a/print/podofo/distinfo +++ b/print/podofo/distinfo @@ -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 @@ Size (podofo-0.9.4.tar.gz) = 1147939 bytes 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 --git a/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp b/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp new file mode 100644 index 00000000000..288b3bfa7a7 --- /dev/null +++ b/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp @@ -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" + |