Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2002 14:52:19 +0100 (CET)
From:      Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        e0026813@stud3.tuwien.ac.at
Subject:   ports/45675: [FIX BENTO] lang/dice
Message-ID:  <20021124135219.A80F75FD@frog.fafoe>

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

>Number:         45675
>Category:       ports
>Synopsis:       [FIX BENTO] lang/dice
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 24 06:00:13 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Farfeleder
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD frog.fafoe 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Fri Nov 22 17:42:48 CET 2002 freebsd@frog.fafoe:/freebsd/current/obj/freebsd/current/src/sys/FROG i386


	
>Description:
Dice uses the macro __aligned which is also used by system headers.  It
is renamed to dice_aligned.
	
>How-To-Repeat:
portinstall dice
	
>Fix:

	

--- dice.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/home/ncvs/ports/lang/dice/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	10 Nov 2002 16:46:49 -0000	1.9
+++ Makefile	24 Nov 2002 13:31:33 -0000
@@ -27,6 +27,9 @@
 
 		@${CP} ${FILESDIR}/Makefile ${WRKSRC}
 
+		@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
+			${REINPLACE_CMD} -e 's@__aligned@dice_aligned@g'
+
 do-install:
 		@for i in ${WRKSRC}/ubin/*; \
 		do \
--- dice.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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