pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/ruby-opengl Make it compile on NetBSD 1.6.X, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/05924f10d4b5
branches: trunk
changeset: 484968:05924f10d4b5
user: taca <taca%pkgsrc.org@localhost>
date: Thu Dec 02 01:47:35 2004 +0000
description:
Make it compile on NetBSD 1.6.X, really this is fix for traditional
C compile which needs to define variable in first in function.
diffstat:
graphics/ruby-opengl/distinfo | 3 ++-
graphics/ruby-opengl/patches/patch-ab | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 6b0d63677d41 -r 05924f10d4b5 graphics/ruby-opengl/distinfo
--- a/graphics/ruby-opengl/distinfo Thu Dec 02 00:42:06 2004 +0000
+++ b/graphics/ruby-opengl/distinfo Thu Dec 02 01:47:35 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2004/11/28 14:55:00 taca Exp $
+$NetBSD: distinfo,v 1.5 2004/12/02 01:47:35 taca Exp $
SHA1 (ruby/rbogl-0.32f.tar.gz) = 0ff63b7241c27111f0d7a7efba5e5a3e89bd1ad9
Size (ruby/rbogl-0.32f.tar.gz) = 75228 bytes
SHA1 (patch-aa) = a1239bd409f4a39075330ab91b4f1e5d3a3e3e7a
+SHA1 (patch-ab) = cb0c3964ebd01b048942cafb91d259007f0e1910
diff -r 6b0d63677d41 -r 05924f10d4b5 graphics/ruby-opengl/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ruby-opengl/patches/patch-ab Thu Dec 02 01:47:35 2004 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2004/12/02 01:47:35 taca Exp $
+
+--- ogl.c.orig Sun Jul 18 00:26:38 2004
++++ ogl.c
+@@ -2162,14 +2162,14 @@ VALUE obj,arg1,arg2,arg3,arg4,arg5,arg6;
+ int format;
+ int type;
+ VALUE pixels;
++ int type_size;
++ int format_size;
+ x = (GLint)NUM2INT(arg1);
+ y = (GLint)NUM2INT(arg2);
+ width = (GLsizei)NUM2INT(arg3);
+ height = (GLsizei)NUM2INT(arg4);
+ format = NUM2INT(arg5);
+ type = NUM2INT(arg6);
+- int type_size;
+- int format_size;
+ if (format != -1 && type != -1) {
+ type_size = gltype_size(type) / 8;
+ format_size = glformat_size(format);
Home |
Main Index |
Thread Index |
Old Index