From erik@sinistar.bluecows.com  Wed Jul 25 16:18:18 2007
Return-Path: <erik@sinistar.bluecows.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B0C4116A418
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jul 2007 16:18:18 +0000 (UTC)
	(envelope-from erik@sinistar.bluecows.com)
Received: from sinistar.bluecows.com (sinistar.bluecows.com [205.167.142.250])
	by mx1.freebsd.org (Postfix) with ESMTP id 9061E13C457
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jul 2007 16:18:18 +0000 (UTC)
	(envelope-from erik@sinistar.bluecows.com)
Received: by sinistar.bluecows.com (Postfix, from userid 1015)
	id 5B128434002; Wed, 25 Jul 2007 10:46:29 -0500 (CDT)
Message-Id: <20070725154629.5B128434002@sinistar.bluecows.com>
Date: Wed, 25 Jul 2007 10:46:29 -0500 (CDT)
From: Erik Greenwald <erik@smluc.org>
Reply-To: Erik Greenwald <erik@smluc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: erik@math.missouristate.edu
Subject: [Maintainer Update]  devel/ruby-rudl  fix for invalid lvalue error with gcc4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         114903
>Category:       ports
>Synopsis:       [Maintainer Update]  devel/ruby-rudl  fix for invalid lvalue error with gcc4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 25 16:20:01 GMT 2007
>Closed-Date:    Wed Sep 05 01:06:49 GMT 2007
>Last-Modified:  Wed Sep  5 01:10:12 GMT 2007
>Originator:     Erik Greenwald
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD vidar.br0kenland.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Jan 13 11:46:43 EST 2007 root@vidar.br0kenland.org:/usr/obj/usr/src/sys/VIDAR i386

>Description:

fixes the lvalue error when using gcc4

>How-To-Repeat:
>Fix:

--- devel_ruby-rudl.patch begins here ---
Index: devel/ruby-rudl/files/patch-flxplay.c
===================================================================
RCS file: devel/ruby-rudl/files/patch-flxplay.c
diff -N devel/ruby-rudl/files/patch-flxplay.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ devel/ruby-rudl/files/patch-flxplay.c	25 Jul 2007 15:44:25 -0000
@@ -0,0 +1,13 @@
+--- flxplay.c.orig	Wed Jul 25 11:40:05 2007
++++ flxplay.c	Wed Jul 25 11:40:27 2007
+@@ -42,8 +42,8 @@
+   int lastFrameTicks;
+ } FLC;
+ 
+-#define ReadU16(tmp1, tmp2) (Uint16)*(tmp1) = ((Uint8)*(tmp2+1)<<8)+(Uint8)*(tmp2);
+-#define ReadU32(tmp1, tmp2) (Uint32)*(tmp1) = (((((((Uint8)*(tmp2+3)<<8)+((Uint8)*(tmp2+2)))<<8)+((Uint8)*(tmp2+1)))<<8)+(Uint8)*(tmp2));
++#define ReadU16(tmp1, tmp2) *(Uint16 *)(tmp1) = ((Uint8)*(tmp2+1)<<8)+(Uint8)*(tmp2);
++#define ReadU32(tmp1, tmp2) *(Uint32 *)(tmp1) = (((((((Uint8)*(tmp2+3)<<8)+((Uint8)*(tmp2+2)))<<8)+((Uint8)*(tmp2+1)))<<8)+(Uint8)*(tmp2));
+ 
+ 
+ 
--- devel_ruby-rudl.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 25 16:20:08 UTC 2007 
Responsible-Changed-Why:  
clsung@ wants to have ruby- PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114903 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Wed Sep 5 01:06:48 UTC 2007 
State-Changed-Why:  
Committed. Thank You. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114903 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114903: commit references a PR
Date: Wed,  5 Sep 2007 01:06:43 +0000 (UTC)

 clsung      2007-09-05 01:06:38 UTC
 
   FreeBSD ports repository
 
   Added files:
     devel/ruby-rudl/files patch-flxplay.c 
   Log:
   - fixes the lvalue error when using gcc4
   
   PR:             ports/114903
   Submitted by:   maintainer (Erik Greenwald)
   
   Revision  Changes    Path
   1.1       +13 -0     ports/devel/ruby-rudl/files/patch-flxplay.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
