diff options
author | tron <tron@pkgsrc.org> | 2010-01-09 20:36:34 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2010-01-09 20:36:34 +0000 |
commit | 45aeda55a744c5bb18718557e24374fad1f67888 (patch) | |
tree | a50a7116bae612d7799120e0deaf77b05be5f104 /print | |
parent | da2d459e469d4df6a1f0c884c8b1e81d0dbfb894 (diff) | |
download | pkgsrc-45aeda55a744c5bb18718557e24374fad1f67888.tar.gz |
Fix build with Sun Studio C++.
Diffstat (limited to 'print')
-rw-r--r-- | print/poppler/distinfo | 3 | ||||
-rw-r--r-- | print/poppler/patches/patch-ac | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/print/poppler/distinfo b/print/poppler/distinfo index 990b4d2b738..4a660254cc6 100644 --- a/print/poppler/distinfo +++ b/print/poppler/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.51 2009/11/20 15:59:59 drochner Exp $ +$NetBSD: distinfo,v 1.52 2010/01/09 20:36:34 tron Exp $ SHA1 (poppler-0.12.2.tar.gz) = 3138c456f7e6a429100109ac6cd5a948437b9f04 RMD160 (poppler-0.12.2.tar.gz) = d2c06fd23012e16505ae5e5eced7cbd4d03c0b2c Size (poppler-0.12.2.tar.gz) = 1614984 bytes SHA1 (patch-aa) = 43c63c16d3a845e394a8eb0c3a321944fcf17615 SHA1 (patch-ab) = 441308aec73c66a34c00ee1fad30a38748c89a7d +SHA1 (patch-ac) = c343775da48a1d86dea1451b74355d117e30f6c5 SHA1 (patch-ag) = 58d01b019daec19de80867ce0941e5160591bf62 SHA1 (patch-ai) = a51dba3fb0e7131873ef82ae5e256fb1d17cee53 SHA1 (patch-ao) = cf7e0f086522147a91f59b1b26ca510d1971ac74 diff --git a/print/poppler/patches/patch-ac b/print/poppler/patches/patch-ac new file mode 100644 index 00000000000..106f920c766 --- /dev/null +++ b/print/poppler/patches/patch-ac @@ -0,0 +1,17 @@ +$NetBSD: patch-ac,v 1.8 2010/01/09 20:36:34 tron Exp $ + +Fix build with Sun Studio C++. + +--- goo/gstrtod.cc.orig Wed Sep 9 23:22:31 2009 ++++ goo/gstrtod.cc Sat Jan 9 21:24:38 2010 +@@ -27,6 +27,10 @@ + #include <cstdlib> + #include <cstring> + ++#if defined(sun) && !defined(__GNUC__) ++using namespace std; ++#endif ++ + #define ascii_isspace(c) \ + (c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v') + #define ascii_isdigit(c) \ |