From 2b3ec700e3faa087eebb1f27a6ef9872ba83d39a Mon Sep 17 00:00:00 2001 From: is Date: Mon, 17 Oct 2005 20:30:27 +0000 Subject: Portability patch --- lang/mpd/Makefile | 4 ++-- lang/mpd/distinfo | 3 ++- lang/mpd/patches/patch-bj | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 lang/mpd/patches/patch-bj (limited to 'lang') diff --git a/lang/mpd/Makefile b/lang/mpd/Makefile index c5cc331f47d..b17f963c126 100644 --- a/lang/mpd/Makefile +++ b/lang/mpd/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2005/10/17 20:18:34 is Exp $ +# $NetBSD: Makefile,v 1.4 2005/10/17 20:30:27 is Exp $ # PKGNAME= mpd-1.0.1 DISTNAME= mpd.1.0.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= lang parallel MASTER_SITES= http://www.cs.arizona.edu/mpd/download/ EXTRACT_SUFX= .tgz diff --git a/lang/mpd/distinfo b/lang/mpd/distinfo index 9c254cddff8..17eb55862b0 100644 --- a/lang/mpd/distinfo +++ b/lang/mpd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/10/17 20:18:34 is Exp $ +$NetBSD: distinfo,v 1.4 2005/10/17 20:30:27 is Exp $ SHA1 (mpd.1.0.1.tgz) = 797b505935ccc741fdca6010bc0bd53601a6f262 RMD160 (mpd.1.0.1.tgz) = 2862ae9220ec0a546ed4193aeee4dc8dc94610a2 @@ -23,4 +23,5 @@ SHA1 (patch-bf) = 20e66a54a51702ce229ef53e250c467d01e2d3b2 SHA1 (patch-bg) = 231723cbc6b6baef132aefd450524942fb0108f2 SHA1 (patch-bh) = c880064e871297a411e2292f78d82222bb46dac4 SHA1 (patch-bi) = 31fc9eb664dd3e73c7fe12ae6e95fd85b67286fc +SHA1 (patch-bj) = c5123801140fbfdcbfdabbcd39fe70d2e71355fc SHA1 (patch-bk) = ffbcc49346ea57a3fd0eed51d7bb00f80e25f3a5 diff --git a/lang/mpd/patches/patch-bj b/lang/mpd/patches/patch-bj new file mode 100644 index 00000000000..1b08d99aaf0 --- /dev/null +++ b/lang/mpd/patches/patch-bj @@ -0,0 +1,13 @@ +$NetBSD: patch-bj,v 1.1 2005/10/17 20:30:27 is Exp $ + +--- mpd/gexpr.c.orig 1999-10-26 03:06:20.000000000 +0200 ++++ mpd/gexpr.c +@@ -942,7 +942,7 @@ Nodeptr e; + r = RNODE (e); + if (l->e_sig->g_type == T_STRING) { + if (option_O) +- cprintf ("(DATA(%e)+%e-1)", l, r); ++ cprintf ("((Char*)DATA(%e)+%e-1)", l, r); + else { + cprintf ("("); + once (l, ','); -- cgit v1.2.3