Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2009 05:43:08 GMT
From:      Sato Kuro <poyopoyo@puripuri.plala.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140040: [PATCH] net/mpd unbreak
Message-ID:  <200910280543.n9S5h8Ho028643@www.freebsd.org>
Resent-Message-ID: <200910280550.n9S5o1MQ005882@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         140040
>Category:       ports
>Synopsis:       [PATCH] net/mpd unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 28 05:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sato Kuro
>Release:        9.0-CURRENT
>Organization:
>Environment:
>Description:
net/mpd is marked as BROKEN after BURN_BRIDGES has been
fallen. Replacing definitions is enough to unbreak.
>How-To-Repeat:

>Fix:
--- /usr/ports/net/mpd/Makefile	2009-06-14 03:07:42.000000000 +0900
+++ Makefile	2009-07-29 23:54:39.000000000 +0900
@@ -29,9 +29,10 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 800097
-BROKEN=		does not compile
-.endif
+post-patch:
+	${FIND} ${WRKSRC}/src -type f -name \*.c \
+	| ${XARGS} ${GREP} -l 'NG_....LEN[ +1]*' \
+	| ${XARGS} ${REINPLACE_CMD} 's/\(NG_....\)LEN[ +1]*/\1SIZ/g'
 
 pre-build:
 	@${ECHO}


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910280543.n9S5h8Ho028643>