ports/140040: [PATCH] net/mpd unbreak

Sato Kuro poyopoyo at puripuri.plala.or.jp
Wed Oct 28 05:50:02 UTC 2009


>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:



More information about the freebsd-ports-bugs mailing list