pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/glitz Fix a cut-and-paste error that prevente...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8abae6f28aff
branches:  trunk
changeset: 495712:8abae6f28aff
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Jun 18 20:11:01 2005 +0000

description:
Fix a cut-and-paste error that prevented compilation on NetBSD 1.6.

diffstat:

 graphics/glitz/distinfo         |   3 ++-
 graphics/glitz/patches/patch-aa |  27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r c90697a21399 -r 8abae6f28aff graphics/glitz/distinfo
--- a/graphics/glitz/distinfo   Sat Jun 18 18:55:36 2005 +0000
+++ b/graphics/glitz/distinfo   Sat Jun 18 20:11:01 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 08:45:06 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/06/18 20:11:01 kristerw Exp $
 
 SHA1 (glitz-0.4.0.tar.gz) = f88d3470bd5abfda66f8e6a205d7a1a346604164
 RMD160 (glitz-0.4.0.tar.gz) = e695f68e1a0c0da750b3ae8f9f9d2b022525f7f7
 Size (glitz-0.4.0.tar.gz) = 391481 bytes
+SHA1 (patch-aa) = 373c52f76a50b7b8a662d65313a16b71742c62bd
diff -r c90697a21399 -r 8abae6f28aff graphics/glitz/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/patches/patch-aa   Sat Jun 18 20:11:01 2005 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.3 2005/06/18 20:11:01 kristerw Exp $
+
+--- src/glx/glitz_glx_info.c.orig      Sat Jun 18 21:07:20 2005
++++ src/glx/glitz_glx_info.c   Sat Jun 18 21:08:06 2005
+@@ -379,15 +379,15 @@
+   if (gl_library) {
+     int len = strlen (gl_library);
+ 
+-    if (thread_info->gl_library) {
+-      free (thread_info->gl_library);
+-      thread_info->gl_library = NULL;
++    if (thread_info.gl_library) {
++      free (thread_info.gl_library);
++      thread_info.gl_library = NULL;
+     }
+     
+-    thread_info->gl_library = malloc (len + 1);
+-    if (thread_info->gl_library) {
+-      memcpy (thread_info->gl_library, gl_library, len);
+-      thread_info->gl_library[len] = '\0';
++    thread_info.gl_library = malloc (len + 1);
++    if (thread_info.gl_library) {
++      memcpy (thread_info.gl_library, gl_library, len);
++      thread_info.gl_library[len] = '\0';
+     }
+   }
+   



Home | Main Index | Thread Index | Old Index