aboutsummaryrefslogtreecommitdiff
path: root/graphics/gauche-gl
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-13 21:01:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-13 21:01:03 +0000
commit0e9dd205c926bbd5b5093da7b0fd8356e7c44a60 (patch)
tree17f4c42690bf652c110945902ef3fd9a856327e3 /graphics/gauche-gl
parentdb16029e3a3dd96834f76b8e2be8e2a8a288386d (diff)
downloadports-0e9dd205c926bbd5b5093da7b0fd8356e7c44a60.tar.gz
ports-0e9dd205c926bbd5b5093da7b0fd8356e7c44a60.zip
Notes
Diffstat (limited to 'graphics/gauche-gl')
-rw-r--r--graphics/gauche-gl/Makefile3
-rw-r--r--graphics/gauche-gl/distinfo4
-rw-r--r--graphics/gauche-gl/files/patch-src-glext-lib.stub18
-rw-r--r--graphics/gauche-gl/pkg-plist34
4 files changed, 54 insertions, 5 deletions
diff --git a/graphics/gauche-gl/Makefile b/graphics/gauche-gl/Makefile
index 283a6d1908f2..bd8742395e3b 100644
--- a/graphics/gauche-gl/Makefile
+++ b/graphics/gauche-gl/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gl
-PORTVERSION= 0.3.1
-PORTREVISION= 2
+PORTVERSION= 0.4
CATEGORIES= graphics scheme
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gauche
diff --git a/graphics/gauche-gl/distinfo b/graphics/gauche-gl/distinfo
index 69360363009a..d57c2ef53f7d 100644
--- a/graphics/gauche-gl/distinfo
+++ b/graphics/gauche-gl/distinfo
@@ -1,2 +1,2 @@
-MD5 (Gauche-gl-0.3.1.tgz) = fada91aa19e8a8781b3a3cf9e5c86bd2
-SIZE (Gauche-gl-0.3.1.tgz) = 214896
+MD5 (Gauche-gl-0.4.tgz) = 11b2f49ee8344308d8c69b2bbc3282a6
+SIZE (Gauche-gl-0.4.tgz) = 939391
diff --git a/graphics/gauche-gl/files/patch-src-glext-lib.stub b/graphics/gauche-gl/files/patch-src-glext-lib.stub
new file mode 100644
index 000000000000..2a2db92213f8
--- /dev/null
+++ b/graphics/gauche-gl/files/patch-src-glext-lib.stub
@@ -0,0 +1,18 @@
+--- src/glext-lib.stub.orig Fri Jun 10 13:27:17 2005
++++ src/glext-lib.stub Wed Jul 13 22:18:47 2005
+@@ -524,6 +524,7 @@
+ "GLint nstrings = Scm_Length(strings); int i = 0;
+ GLint *lengths;
+ GLcharARB **ss;
++ ScmObj sp;
+ ENSURE(glShaderSourceARB);
+ if (nstrings < 0) goto einval;
+ lengths = SCM_NEW_ATOMIC2(GLint*, nstrings*sizeof(GLint));
+@@ -531,7 +532,6 @@
+ input parameter, and we don't need this array after calling
+ glShaderSourceARB. */
+ ss = SCM_NEW_ATOMIC2(GLcharARB**, nstrings*sizeof(GLcharARB*));
+- ScmObj sp;
+ SCM_FOR_EACH(sp, strings) {
+ if (!SCM_STRINGP(SCM_CAR(sp))) goto einval;
+ lengths[i] = SCM_STRING_SIZE(SCM_CAR(sp));
diff --git a/graphics/gauche-gl/pkg-plist b/graphics/gauche-gl/pkg-plist
index 7c89f0200e46..c8de23a7b143 100644
--- a/graphics/gauche-gl/pkg-plist
+++ b/graphics/gauche-gl/pkg-plist
@@ -54,7 +54,39 @@ share/gauche/%%VERSION%%/lib/gl/math3d.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example9-8.scm
%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/run
%%PORTDOCS%%%%EXAMPLESDIR%%/mandelbrot.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2brick/3Dlabs-License.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2brick/brick.frag
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2brick/brick.vert
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2brick/ogl2brick.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2brick/run.sh
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2brick/README.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/3Dlabs-License.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/ogl2particle.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/run.sh
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/particle.frag
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/particle.vert
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/ogl2particle/README.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/slbook/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/images/foo.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/images/noturn.rgb
+%%PORTDOCS%%%%EXAMPLESDIR%%/images/flower.rgb
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example8-6.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example10-3.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example10-1.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example8-8.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example10-5.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/glbook/example10-4.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/cg/cg-gl-vertex-example.cg
+%%PORTDOCS%%%%EXAMPLESDIR%%/cg/cg-gl-vertex-example.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/cg/checkered-sphere-cg.scm
+%%PORTDOCS%%%%EXAMPLESDIR%%/cg/run
+%%PORTDOCS%%%%EXAMPLESDIR%%/cg/README
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/slbook/ogl2particle
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/slbook/ogl2brick
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/slbook
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/images
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/glbook
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/cg
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%