FreeBSD Bugzilla – Attachment 80043 Details for
Bug 114903
[Maintainer Update] devel/ruby-rudl fix for invalid lvalue error with gcc4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
devel_ruby-rudl.patch
devel_ruby-rudl.patch (text/plain), 937 bytes, created by
Erik Greenwald
on 2007-07-25 17:20:01 UTC
(
hide
)
Description:
devel_ruby-rudl.patch
Filename:
MIME Type:
Creator:
Erik Greenwald
Created:
2007-07-25 17:20:01 UTC
Size:
937 bytes
patch
obsolete
>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)); >+ >+ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114903
: 80043