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:   wiz
Date:           Tue Aug  2 20:14:44 UTC 2016

Modified Files:
        pkgsrc/print/podofo: distinfo
Added Files:
        pkgsrc/print/podofo/patches: patch-src_base_PdfMemoryManagement.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/print/podofo/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp

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/distinfo
diff -u pkgsrc/print/podofo/distinfo:1.15 pkgsrc/print/podofo/distinfo:1.16
--- pkgsrc/print/podofo/distinfo:1.15   Mon Aug  1 13:39:34 2016
+++ pkgsrc/print/podofo/distinfo        Tue Aug  2 20:14:44 2016
@@ -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 byt
 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

Added files:

Index: pkgsrc/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp
diff -u /dev/null pkgsrc/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp:1.1
--- /dev/null   Tue Aug  2 20:14:44 2016
+++ pkgsrc/print/podofo/patches/patch-src_base_PdfMemoryManagement.cpp  Tue Aug  2 20:14:44 2016
@@ -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