diff options
author | martin <martin@pkgsrc.org> | 2014-08-26 13:47:06 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2014-08-26 13:47:06 +0000 |
commit | 12908dba9e2d7eb2418a6328f0ffe701fe9f37d5 (patch) | |
tree | 6a21b88aa3652906d34e89a492aafe6006555491 | |
parent | b4d34472a3f4b1440729b65d488478269c40c9af (diff) | |
download | pkgsrc-12908dba9e2d7eb2418a6328f0ffe701fe9f37d5.tar.gz |
Make it buildable on NetBSD-current with gcc 4.8
-rw-r--r-- | print/podofo/Makefile | 4 | ||||
-rw-r--r-- | print/podofo/distinfo | 3 | ||||
-rw-r--r-- | print/podofo/patches/patch-src_base_PdfCompilerCompat.h | 12 |
3 files changed, 16 insertions, 3 deletions
diff --git a/print/podofo/Makefile b/print/podofo/Makefile index f1e893c9105..7abf23bae97 100644 --- a/print/podofo/Makefile +++ b/print/podofo/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.21 2014/05/03 13:01:24 alnsn Exp $ +# $NetBSD: Makefile,v 1.22 2014/08/26 13:47:06 martin Exp $ DISTNAME= podofo-0.9.2 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=podofo/} diff --git a/print/podofo/distinfo b/print/podofo/distinfo index f765bbb3430..f3da761eaa5 100644 --- a/print/podofo/distinfo +++ b/print/podofo/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2014/02/01 04:12:04 markd Exp $ +$NetBSD: distinfo,v 1.10 2014/08/26 13:47:06 martin Exp $ SHA1 (podofo-0.9.2.tar.gz) = 8a6e27e17e0ed9f12e1a999cff66eae8eb97a4bc RMD160 (podofo-0.9.2.tar.gz) = 69bf1035f2466ba95208830038c6f8e303580a5b @@ -6,6 +6,7 @@ Size (podofo-0.9.2.tar.gz) = 1092131 bytes SHA1 (patch-aa) = 83740cf59f1c86b07e7ce498e19efe627c0b249e SHA1 (patch-ab) = 61ae284aecee35aab179d5922b651f26945bab41 SHA1 (patch-ac) = b184fa648407141a373451334790aada66cc2ae2 +SHA1 (patch-src_base_PdfCompilerCompat.h) = add7dfa217993e7c981f13dc8d0e43ab6bf2184a SHA1 (patch-src_base_PdfLocale.h) = ba209173509f1109d305765ae7dd56d8266a97d8 SHA1 (patch-src_base_PdfVariant.cpp) = 849374c8111175cc8875bce0f0b7656bfd1ba5b3 SHA1 (patch-src_doc_PdfFontType1Base14.cpp) = e54f803cabf66d67763047bfa9163bd1ebc89e53 diff --git a/print/podofo/patches/patch-src_base_PdfCompilerCompat.h b/print/podofo/patches/patch-src_base_PdfCompilerCompat.h new file mode 100644 index 00000000000..91f3ddff04d --- /dev/null +++ b/print/podofo/patches/patch-src_base_PdfCompilerCompat.h @@ -0,0 +1,12 @@ +--- 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 @@ + #if defined(_WIN32) + #include <malloc.h> + #endif ++#ifdef __NetBSD__ ++#define alloca __builtin_alloca ++#endif + + // Disable usage of min() and max() macros + #if defined(_WIN32) && !defined(__MINGW32__) |