summaryrefslogtreecommitdiff
path: root/graphics/tuxpaint
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-01-11 10:29:49 +0000
committerwiz <wiz@pkgsrc.org>2005-01-11 10:29:49 +0000
commit49330aa45f521dce994eb9e0c9b6dbcc5262477e (patch)
tree263384e60033cd3a63bf90ec923a3f5bb62527b7 /graphics/tuxpaint
parent121d11e9e032d41af425ba25a47d3296703e8058 (diff)
downloadpkgsrc-49330aa45f521dce994eb9e0c9b6dbcc5262477e.tar.gz
Add patch to make it build against latest versions
of SDL_mixer, SDL_ttf, and SDL_image, and depend on them. Bump PKGREVISION.
Diffstat (limited to 'graphics/tuxpaint')
-rw-r--r--graphics/tuxpaint/Makefile8
-rw-r--r--graphics/tuxpaint/distinfo3
-rw-r--r--graphics/tuxpaint/patches/patch-ab31
3 files changed, 39 insertions, 3 deletions
diff --git a/graphics/tuxpaint/Makefile b/graphics/tuxpaint/Makefile
index 9aa5b6db2a9..074107ee942 100644
--- a/graphics/tuxpaint/Makefile
+++ b/graphics/tuxpaint/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2004/12/28 23:18:18 reed Exp $
+# $NetBSD: Makefile,v 1.28 2005/01/11 10:29:49 wiz Exp $
#
DISTNAME= tuxpaint-0.9.14
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tuxpaint/} \
ftp://ftp.sonic.net/pub/users/nbs/unix/x/tuxpaint/source/
@@ -17,6 +17,10 @@ USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
MANCOMPRESSED= YES
+BUILDLINK_DEPENDS.SDL_mixer+= SDL_mixer>=1.2.6
+BUILDLINK_DEPENDS.SDL_ttf+= SDL_ttf>=2.0.7
+BUILDLINK_DEPENDS.SDL_image+= SDL_image>=1.2.4
+
CONFLICTS+= tuxpaint-stamps<2003.12.23
MAKE_ENV+= CONFDIR="${PKG_SYSCONFDIR}" CP="${CP}" CHMOD="${CHMOD}"
diff --git a/graphics/tuxpaint/distinfo b/graphics/tuxpaint/distinfo
index 68e0da61b8a..3c01c646527 100644
--- a/graphics/tuxpaint/distinfo
+++ b/graphics/tuxpaint/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2004/11/03 11:17:53 grant Exp $
+$NetBSD: distinfo,v 1.15 2005/01/11 10:29:49 wiz Exp $
SHA1 (tuxpaint-0.9.14.tar.gz) = d899f15ae348413b85e5d0cacf971db2c604b036
Size (tuxpaint-0.9.14.tar.gz) = 3208894 bytes
SHA1 (patch-aa) = 1319f4cfab14cf1d5f592ab1c615f03b4fbd76ac
+SHA1 (patch-ab) = 03c1aa47c90cc598081a0bf39eb0606309371d0b
diff --git a/graphics/tuxpaint/patches/patch-ab b/graphics/tuxpaint/patches/patch-ab
new file mode 100644
index 00000000000..b1915f4c799
--- /dev/null
+++ b/graphics/tuxpaint/patches/patch-ab
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.3 2005/01/11 10:29:49 wiz Exp $
+
+--- src/tuxpaint.c.orig 2004-10-04 00:32:42.000000000 +0200
++++ src/tuxpaint.c
+@@ -172,7 +172,7 @@ extern char* g_win32_getlocale(void);
+ #endif
+
+ #include "SDL_image.h"
+-#ifndef _IMG_h
++#ifndef _SDL_IMAGE_H
+ #error "---------------------------------------------------"
+ #error "If you installed SDL_image from a package, be sure"
+ #error "to get the development package, as well!"
+@@ -181,7 +181,7 @@ extern char* g_win32_getlocale(void);
+ #endif
+
+ #include "SDL_ttf.h"
+-#ifndef _SDLttf_h
++#ifndef _SDL_TTF_H
+ #error "---------------------------------------------------"
+ #error "If you installed SDL_ttf from a package, be sure"
+ #error "to get the development package, as well!"
+@@ -191,7 +191,7 @@ extern char* g_win32_getlocale(void);
+
+ #ifndef NOSOUND
+ #include "SDL_mixer.h"
+-#ifndef _MIXER_H_
++#ifndef _SDL_MIXER_H
+ #error "---------------------------------------------------"
+ #error "If you installed SDL_mixer from a package, be sure"
+ #error "to get the development package, as well!"