diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-05-14 21:16:00 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-05-14 21:16:00 +0000 |
commit | bc18c810e3159ac9ea9e531ada9893f9a1c48989 (patch) | |
tree | d1f470d36c446b7dd65e201eff424e90f4a755f7 /graphics/xv | |
parent | 731d1a44fe89ad5c76c68df258c56cc2b3212776 (diff) | |
download | pkgsrc-bc18c810e3159ac9ea9e531ada9893f9a1c48989.tar.gz |
when using alloca() on IRIX 5 alloca.h has to be included
Diffstat (limited to 'graphics/xv')
-rw-r--r-- | graphics/xv/Makefile | 8 | ||||
-rw-r--r-- | graphics/xv/distinfo | 3 | ||||
-rw-r--r-- | graphics/xv/patches/patch-ab | 14 |
3 files changed, 22 insertions, 3 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index 0f7264247ec..7cc9c493490 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.64 2006/04/22 09:22:10 rillig Exp $ +# $NetBSD: Makefile,v 1.65 2006/05/14 21:16:00 schwarz Exp $ DISTNAME= xv-3.10a PKGREVISION= 12 -CATEGORIES= graphics x11 +CATEGORIES= graphics x11 MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ #DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -28,6 +28,10 @@ LICENSE= xv-license .include "../../mk/bsd.prefs.mk" +.if !empty(LOWER_OPSYS:Mirix5*) +CPPFLAGS+= -DNEED_ALLOCA_H +.endif + pre-configure: ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.orig && \ ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' \ diff --git a/graphics/xv/distinfo b/graphics/xv/distinfo index 206d07505fd..21e47517413 100644 --- a/graphics/xv/distinfo +++ b/graphics/xv/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2006/03/15 19:27:31 minskim Exp $ +$NetBSD: distinfo,v 1.13 2006/05/14 21:16:00 schwarz Exp $ SHA1 (xv-3.10a.tar.gz) = 9e6372f154be9e9e355972cbeb91d98d9c342474 RMD160 (xv-3.10a.tar.gz) = 7d545e0c0e5b0120a7d026ea549cba19a53fbc0d @@ -7,6 +7,7 @@ SHA1 (xv-3.10a-jumbo-patches-20050501.tar.bz2) = deb42fc30697312f13fcedb88f10cc3 RMD160 (xv-3.10a-jumbo-patches-20050501.tar.bz2) = d199e7d1b6c5162e0cad09d4118b3735f1d156ef Size (xv-3.10a-jumbo-patches-20050501.tar.bz2) = 369886 bytes SHA1 (patch-aa) = 9bfd1e6a55766e4c6f60907a5f58a882657dca9b +SHA1 (patch-ab) = 1be183fb72ba82cc15fdcec6607c1e294e284370 SHA1 (patch-ac) = cc0da5cefbb4a13b86daaca482c52ece4bc3294c SHA1 (patch-ad) = 3a49ca0152f6a7d6cf79348e3b5308da509b63ea SHA1 (patch-af) = 1beddc2abe530871fcdbb2cea5682225c194bd4d diff --git a/graphics/xv/patches/patch-ab b/graphics/xv/patches/patch-ab new file mode 100644 index 00000000000..83fb756df8a --- /dev/null +++ b/graphics/xv/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.8 2006/05/14 21:16:00 schwarz Exp $ + +--- xvpcd.c.orig 2006-05-14 18:38:26.000000000 +0200 ++++ xvpcd.c 2006-05-14 18:39:31.000000000 +0200 +@@ -27,6 +27,9 @@ + + #include "xv.h" + #include <memory.h> ++#ifdef NEED_ALLOCA_H ++#include <alloca.h> ++#endif + + #ifdef HAVE_PCD + |