summaryrefslogtreecommitdiff
path: root/graphics/gfract
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-24 14:02:54 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-24 14:02:54 +0000
commit1858e47f83b50610666829d6a0fac53196809fb5 (patch)
treea1e81801a6e26be9ffd78ddd52207aa8a290f2f6 /graphics/gfract
parent706ac58f447b1567fb98d6e4f397e780156ca7f5 (diff)
downloadpkgsrc-1858e47f83b50610666829d6a0fac53196809fb5.tar.gz
Fix build with newer GCC
Diffstat (limited to 'graphics/gfract')
-rw-r--r--graphics/gfract/distinfo3
-rw-r--r--graphics/gfract/patches/patch-color.cpp11
2 files changed, 13 insertions, 1 deletions
diff --git a/graphics/gfract/distinfo b/graphics/gfract/distinfo
index b7db40f54e6..4e20d263622 100644
--- a/graphics/gfract/distinfo
+++ b/graphics/gfract/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2011/07/05 04:28:34 dholland Exp $
+$NetBSD: distinfo,v 1.9 2011/11/24 14:02:54 joerg Exp $
SHA1 (gfract-0.32.tar.gz) = f603c067c9616ebde714b72b3bda801e9906d6c3
RMD160 (gfract-0.32.tar.gz) = 6196bd3cc17c4c41bbd0b7df4cbe0691e52de521
@@ -7,4 +7,5 @@ SHA1 (gfract-palettes-0.1.tar.gz) = f05e06e6012e1b1526e0c796ca7f6617fca8ab7d
RMD160 (gfract-palettes-0.1.tar.gz) = 3430c31cb5cb2317a02b1e2cf506c5ffa9601a7c
Size (gfract-palettes-0.1.tar.gz) = 223648 bytes
SHA1 (patch-aa) = 374c5fc29e3b3b07a5b0873ee1d042128b1ae5b8
+SHA1 (patch-color.cpp) = 442929a5c425336e93384625e10ef773dc73c80d
SHA1 (patch-my_png_cpp) = 3bfa0a24aa62e9b71f6bc6d7f2060b2a185a9daa
diff --git a/graphics/gfract/patches/patch-color.cpp b/graphics/gfract/patches/patch-color.cpp
new file mode 100644
index 00000000000..c8c42482188
--- /dev/null
+++ b/graphics/gfract/patches/patch-color.cpp
@@ -0,0 +1,11 @@
+$NetBSD: patch-color.cpp,v 1.1 2011/11/24 14:02:54 joerg Exp $
+
+--- color.cpp.orig 2011-11-24 00:30:21.000000000 +0000
++++ color.cpp
+@@ -1,5 +1,6 @@
+ #include <math.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <algorithm>
+ #include "externs.h"
+ #include "misc.h"