Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 60265 Details for
Bug 94600
libggi-2.1.1 doesn't compile (gcc4)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
When used as a lvalue, don't use the macro which does casting
libggi-2.1.0-gcc4.patch (text/plain), 2.48 KB, created by
Håvard Wall
on 2005-05-31 05:01:17 UTC
(
hide
)
Description:
When used as a lvalue, don't use the macro which does casting
Filename:
MIME Type:
Creator:
Håvard Wall
Created:
2005-05-31 05:01:17 UTC
Size:
2.48 KB
patch
obsolete
>--- default/fbdev/ati/mach64/visual.c~ 2004-09-13 18:19:19.000000000 +0200 >+++ default/fbdev/ati/mach64/visual.c 2005-05-31 13:53:16.000000000 +0200 >@@ -281,7 +281,7 @@ > }*/ > > free(priv); >- ATI_MACH64_PRIV(vis) = NULL; >+ LIBGGI_PRIVATE(vis) = NULL; > > ggUnregisterCleanup((ggcleanup_func *)do_cleanup, vis); > >@@ -313,7 +313,7 @@ > if (priv == NULL) { > return GGI_ENOMEM; > } >- ATI_MACH64_PRIV(vis) = priv; >+ LIBGGI_PRIVATE(vis) = priv; > > > fbdevpriv->mmioaddr = mmap(NULL, fbdevpriv->orig_fix.mmio_len, >--- default/fbdev/mga/g400/visual.c~ 2004-09-13 18:20:44.000000000 +0200 >+++ default/fbdev/mga/g400/visual.c 2005-05-31 13:52:18.000000000 +0200 >@@ -117,7 +117,7 @@ > } > > free(priv); >- MGA_G400_PRIV(vis) = NULL; >+ LIBGGI_PRIVATE(vis) = NULL; > > ggUnregisterCleanup((ggcleanup_func *)do_cleanup, vis); > >@@ -259,7 +259,7 @@ > /* vis->opdraw->crossblit = GGI_mga_g400_crossblit; */ > } > >- MGA_G400_PRIV(vis) = priv; >+ LIBGGI_PRIVATE(vis) = priv; > > /* Register cleanup handler */ > ggRegisterCleanup((ggcleanup_func *)do_cleanup, vis); >--- default/fbdev/mga/2164w/visual.c~ 2004-09-13 18:19:59.000000000 +0200 >+++ default/fbdev/mga/2164w/visual.c 2005-05-31 13:51:09.000000000 +0200 >@@ -111,7 +111,7 @@ > } > > free(priv); >- M2164W_PRIV(vis) = NULL; >+ LIBGGI_PRIVATE(vis) = NULL; > > ggUnregisterCleanup((ggcleanup_func *)do_cleanup, vis); > >@@ -253,7 +253,7 @@ > vis->opdraw->crossblit = GGI_m2164w_crossblit; > } > >- M2164W_PRIV(vis) = priv; >+ LIBGGI_PRIVATE(vis) = priv; > > /* Register cleanup handler */ > ggRegisterCleanup((ggcleanup_func *)do_cleanup, vis); >--- display/vcsa/visual.c~ 2004-11-14 01:55:49.000000000 +0100 >+++ display/vcsa/visual.c 2005-05-31 13:38:18.000000000 +0200 >@@ -124,7 +124,7 @@ > } > } > >- priv = VCSA_PRIV(vis) = malloc(sizeof(ggi_vcsa_priv)); >+ priv = LIBGGI_PRIVATE(vis) = malloc(sizeof(ggi_vcsa_priv)); > if (priv == NULL) return GGI_ENOMEM; > > LIBGGI_GC(vis) = malloc(sizeof(ggi_gc)); >--- display/xf86dga/visual.c~ 2004-09-12 23:01:40.000000000 +0200 >+++ display/xf86dga/visual.c 2005-05-31 13:46:02.000000000 +0200 >@@ -163,7 +163,7 @@ > free(DGA_PRIV(vis)); > free(LIBGGI_GC(vis)); > >- DGA_PRIV(vis) = NULL; >+ LIBGGI_PRIVATE(vis) = NULL; > > ggUnregisterCleanup((ggcleanup_func *) do_cleanup, vis); > >@@ -276,7 +276,7 @@ > GGIDPRINT_MISC("Virtwidth: %d, depth: %d, size: %d\n", > priv->width, priv->depth, priv->size); > >- DGA_PRIV(vis) = priv; >+ LIBGGI_PRIVATE(vis) = priv; > > /* Register cleanup handler */ > ggRegisterCleanup((ggcleanup_func *) do_cleanup, vis);
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 94600
:
60265
|
63756