summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-06-18 05:41:00 +0000
committerdholland <dholland@pkgsrc.org>2012-06-18 05:41:00 +0000
commit688d67f2be112027198b64d1fb2254218135f88e (patch)
tree8f13584efc7db0fa6db021031cff33a9486ecd4d
parent66df693c56787c295132aa86c6600ae38f9a5abb (diff)
downloadpkgsrc-688d67f2be112027198b64d1fb2254218135f88e.tar.gz
add <cstdio> for linux build.
-rw-r--r--graphics/pdiff/distinfo3
-rw-r--r--graphics/pdiff/patches/patch-Metric_cpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/pdiff/distinfo b/graphics/pdiff/distinfo
index 4bdf729871f..1e7502f36b5 100644
--- a/graphics/pdiff/distinfo
+++ b/graphics/pdiff/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.6 2011/11/25 20:30:26 joerg Exp $
+$NetBSD: distinfo,v 1.7 2012/06/18 05:41:00 dholland Exp $
SHA1 (PerceptualDiff-1.0.1.tar.gz) = 301d703e7d3c474b663a4abcd63d81500d073be9
RMD160 (PerceptualDiff-1.0.1.tar.gz) = a2931d55b7efa66b907f9002d9380f2f8a088534
Size (PerceptualDiff-1.0.1.tar.gz) = 32344 bytes
+SHA1 (patch-Metric_cpp) = df75a8b9ac43e53a911e8afa041725680ef8a124
SHA1 (patch-aa) = 8741a4f366964e6a43db23befe859b82cd27d048
SHA1 (patch-ab) = f8cc81b1cfdcc7658216d354a917232ec285c64e
SHA1 (patch-ac) = 28fe818975fe6dd747b4a2a4e45d315a96998ec3
diff --git a/graphics/pdiff/patches/patch-Metric_cpp b/graphics/pdiff/patches/patch-Metric_cpp
new file mode 100644
index 00000000000..fb8bcd49214
--- /dev/null
+++ b/graphics/pdiff/patches/patch-Metric_cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-Metric_cpp,v 1.1 2012/06/18 05:41:00 dholland Exp $
+
+Use standard headers.
+
+--- Metric.cpp~ 2007-03-16 06:17:17.000000000 +0000
++++ Metric.cpp
+@@ -14,6 +14,8 @@ You should have received a copy of the G
+ if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include <cstdio>
++
+ #include "Metric.h"
+ #include "CompareArgs.h"
+ #include "RGBAImage.h"