Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 77296 Details for
Bug 119208
wolfgl doesn't compile with GCC4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
wolfgl-0.93-gcc4.patch
wolfgl-0.93-gcc4.patch (text/plain), 1.84 KB, created by
Marcelo Goes (RETIRED)
on 2006-01-16 14:21:14 UTC
(
hide
)
Description:
wolfgl-0.93-gcc4.patch
Filename:
MIME Type:
Creator:
Marcelo Goes (RETIRED)
Created:
2006-01-16 14:21:14 UTC
Size:
1.84 KB
patch
obsolete
>diff --exclude='*~' -Naur wolfgl-0.93.orig/common/id_ca.c wolfgl-0.93/common/id_ca.c >--- wolfgl-0.93.orig/common/id_ca.c 2006-01-16 16:55:46.000000000 -0200 >+++ wolfgl-0.93/common/id_ca.c 2006-01-16 20:08:23.000000000 -0200 >@@ -268,13 +268,15 @@ > if (!count) > { > // have to insert a word containing the tag byte >- ch |= *((unsigned char*)inptr)++; >+ ch | *((unsigned char*)inptr); >+ inptr += sizeof (unsigned char); > *outptr++ = ch; > length--; > } > else > { >- offset = *((unsigned char*)inptr)++; >+ offset = *((unsigned char*)inptr); >+ inptr += sizeof (unsigned char); > copyptr = outptr - offset; > length -= count; > while (count--) >@@ -287,7 +289,8 @@ > if (!count) > { > // have to insert a word containing the tag byte >- ch |= *((unsigned char*)inptr)++; >+ ch | *((unsigned char*)inptr); >+ inptr += sizeof (unsigned char); > *outptr++ = ch; > length --; > } >@@ -806,7 +809,7 @@ > > for (i=0;i<NUMCHUNKS;i++) > if (grsegs[i]) >- MM_SetPurge (&(memptr)grsegs[i],3); >+ MM_SetPurge ((memptr)&grsegs[i],3); > ca_levelbit<<=1; > ca_levelnum++; > } >@@ -862,7 +865,7 @@ > > for (i = 0; i < NUMCHUNKS; i++) > if (grsegs[i]) >- MM_SetPurge (&(memptr)grsegs[i],3); >+ MM_SetPurge ((memptr)&grsegs[i],3); > } > > //=========================================================================== >diff --exclude='*~' -Naur wolfgl-0.93.orig/common/wl_game.c wolfgl-0.93/common/wl_game.c >--- wolfgl-0.93.orig/common/wl_game.c 2006-01-16 16:55:46.000000000 -0200 >+++ wolfgl-0.93/common/wl_game.c 2006-01-16 20:17:58.000000000 -0200 >@@ -545,13 +545,13 @@ > { > // solid wall > tilemap[x][y] = tile; >- (unsigned short)actorat[x][y] = tile; >+ actorat[x][y] = tile; > } > else > { > // area floor > tilemap[x][y] = 0; >- (unsigned short)actorat[x][y] = 0; >+ actorat[x][y] = 0; > } > } >
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 119208
:
77292
| 77296