pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/tuxpaint Add patch to make it build against l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0199461fe4c
branches:  trunk
changeset: 487203:a0199461fe4c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 11 10:29:49 2005 +0000

description:
Add patch to make it build against latest versions
of SDL_mixer, SDL_ttf, and SDL_image, and depend on them. Bump PKGREVISION.

diffstat:

 graphics/tuxpaint/Makefile         |   8 ++++++--
 graphics/tuxpaint/distinfo         |   3 ++-
 graphics/tuxpaint/patches/patch-ab |  31 +++++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+), 3 deletions(-)

diffs (71 lines):

diff -r b2b38001ec89 -r a0199461fe4c graphics/tuxpaint/Makefile
--- a/graphics/tuxpaint/Makefile        Tue Jan 11 09:04:21 2005 +0000
+++ b/graphics/tuxpaint/Makefile        Tue Jan 11 10:29:49 2005 +0000
@@ -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_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 -r b2b38001ec89 -r a0199461fe4c graphics/tuxpaint/distinfo
--- a/graphics/tuxpaint/distinfo        Tue Jan 11 09:04:21 2005 +0000
+++ b/graphics/tuxpaint/distinfo        Tue Jan 11 10:29:49 2005 +0000
@@ -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 -r b2b38001ec89 -r a0199461fe4c graphics/tuxpaint/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tuxpaint/patches/patch-ab        Tue Jan 11 10:29:49 2005 +0000
@@ -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!"



Home | Main Index | Thread Index | Old Index