summaryrefslogtreecommitdiff
path: root/games/tuxpaint
diff options
context:
space:
mode:
Diffstat (limited to 'games/tuxpaint')
-rw-r--r--games/tuxpaint/Makefile2
-rw-r--r--games/tuxpaint/files/patch-tuxpaint.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile
index b7ed77309f6b..6187d643d274 100644
--- a/games/tuxpaint/Makefile
+++ b/games/tuxpaint/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tuxpaint
PORTVERSION= 0.9.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF
diff --git a/games/tuxpaint/files/patch-tuxpaint.c b/games/tuxpaint/files/patch-tuxpaint.c
new file mode 100644
index 000000000000..69e26b6152c0
--- /dev/null
+++ b/games/tuxpaint/files/patch-tuxpaint.c
@@ -0,0 +1,10 @@
+--- src/tuxpaint.c.orig 2009-06-18 22:51:58.000000000 +0200
++++ src/tuxpaint.c 2012-05-09 12:18:19.000000000 +0200
+@@ -410,6 +410,7 @@
+ #endif
+
+ #include <png.h>
++#include <pngpriv.h>
+ #define FNAME_EXTENSION ".png"
+ #ifndef PNG_H
+ #error "---------------------------------------------------"