pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libggi Add patch to fix build failure in Free...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48b82dad490c
branches:  trunk
changeset: 544148:48b82dad490c
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Jul 13 15:00:48 2008 +0000

description:
Add patch to fix build failure in FreeBSD and DragonFly specific code.
Patch provided by Hasso Tepper in PR 38863 and alread fixed in upsteram.
http://ggi.cvs.sourceforge.net/ggi/ggi-core/libggi/display/vgl/visual.c?r1=1.12&r2=1.13

diffstat:

 graphics/libggi/distinfo         |   3 ++-
 graphics/libggi/patches/patch-ae |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 63e792a89a25 -r 48b82dad490c graphics/libggi/distinfo
--- a/graphics/libggi/distinfo  Sun Jul 13 14:58:07 2008 +0000
+++ b/graphics/libggi/distinfo  Sun Jul 13 15:00:48 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2007/03/16 22:28:55 joerg Exp $
+$NetBSD: distinfo,v 1.14 2008/07/13 15:00:48 obache Exp $
 
 SHA1 (libggi-2.1.1.src.tar.bz2) = 38b5deeb161d2b923104138bf4fe8e0e72c4601d
 RMD160 (libggi-2.1.1.src.tar.bz2) = 69bbe53775465774b93213bf9e8aa13cf3d93148
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 025f85629f7713323fc67d84237d519d32bf810b
 SHA1 (patch-ac) = db9a3b4cabb264ace844d1a32d833c45caa5dd20
 SHA1 (patch-ad) = 0764cbec555ea68fa55952be8b21fc8508fe97f5
+SHA1 (patch-ae) = fdb08db44a939f9fd1b9b3feaf8d063dc9faadd5
diff -r 63e792a89a25 -r 48b82dad490c graphics/libggi/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libggi/patches/patch-ae  Sun Jul 13 15:00:48 2008 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.3 2008/07/13 15:00:48 obache Exp $
+
+--- display/vgl/visual.c.orig  2008-06-05 08:54:51 +0300
++++ display/vgl/visual.c       2008-06-05 08:55:35 +0300
+@@ -210,13 +210,12 @@ static int GGIopen(ggi_visual *vis, stru
+               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));



Home | Main Index | Thread Index | Old Index