FreeBSD Bugzilla – Attachment 71929 Details for
Bug 104648
[Maintainer] fix graphics/libggi build with gcc 4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libggi.diff
libggi.diff (text/plain), 1.08 KB, created by
Antoine Brodin
on 2006-10-21 11:40:17 UTC
(
hide
)
Description:
libggi.diff
Filename:
MIME Type:
Creator:
Antoine Brodin
Created:
2006-10-21 11:40:17 UTC
Size:
1.08 KB
patch
obsolete
>Index: files/patch-display-vgl-visual.c >=================================================================== >RCS file: files/patch-display-vgl-visual.c >diff -N files/patch-display-vgl-visual.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-display-vgl-visual.c 21 Oct 2006 10:23:14 -0000 >@@ -0,0 +1,24 @@ >+--- display/vgl/visual.c 2005/07/30 11:38:52 1.9 >++++ display/vgl/visual.c 2006/10/04 17:42:04 1.9.2.1 >+@@ -1,4 +1,4 @@ >+-/* $Id: visual.c,v 1.9 2005/07/30 11:38:52 cegger Exp $ >++/* $Id: visual.c,v 1.9.2.1 2006/10/04 17:42:04 cegger Exp $ >+ ****************************************************************************** >+ >+ FreeBSD vgl(3) target: initialization >+@@ -210,13 +210,12 @@ >+ error = GGI_ENOMEM; >+ goto error; >+ } >+- VGL_PRIV(vis) = malloc(sizeof(struct vgl_priv)); >+- if (VGL_PRIV(vis) == NULL) { >++ LIBGGI_PRIVATE(vis) = priv = malloc(sizeof(struct vgl_priv)); >++ if (priv == NULL) { >+ do_cleanup(vis); >+ error = GGI_ENOMEM; >+ goto error; >+ } >+- priv = VGL_PRIV(vis); >+ memset(priv, 0, sizeof(*priv)); >+ >+ memset(priv->vgl_palred, 0, sizeof(priv->vgl_palred));
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 104648
: 71929