summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkristerw <kristerw>2005-06-18 20:11:01 +0000
committerkristerw <kristerw>2005-06-18 20:11:01 +0000
commit398a50677c44ec04ad3dd60ac8ccca40e6292829 (patch)
treec4e03559a5f48e294bf2d35a7a1de8b6e2a10e85
parent8db617816aabcbbaad21c462355e14df20793052 (diff)
downloadpkgsrc-398a50677c44ec04ad3dd60ac8ccca40e6292829.tar.gz
Fix a cut-and-paste error that prevented compilation on NetBSD 1.6.
-rw-r--r--graphics/glitz/distinfo3
-rw-r--r--graphics/glitz/patches/patch-aa27
2 files changed, 29 insertions, 1 deletions
diff --git a/graphics/glitz/distinfo b/graphics/glitz/distinfo
index b5089287f5c..9990eac980b 100644
--- a/graphics/glitz/distinfo
+++ b/graphics/glitz/distinfo
@@ -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 --git a/graphics/glitz/patches/patch-aa b/graphics/glitz/patches/patch-aa
new file mode 100644
index 00000000000..accc922a914
--- /dev/null
+++ b/graphics/glitz/patches/patch-aa
@@ -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';
+ }
+ }
+