[cl-debian] Bug#381259: cl-sdl-opengl: No mapping for "gluOrtho2D"

Stephen Smith ssmith at vislab.usyd.edu.au
Thu Aug 3 06:50:53 UTC 2006


Package: cl-sdl-opengl
Version: 1:0.2.2-3
Severity: normal
Tags: patch


There is no mapping for gluOrtho2D defined.  Patch attached.

There are probably others, I'll address them if/when I find them.

Cheers,
Steve


diff -Nurw cl-sdl-0.2.2.orig/opengl/glu.lisp cl-sdl-0.2.2/opengl/glu.lisp
--- cl-sdl-0.2.2.orig/opengl/glu.lisp	2006-04-28 01:28:23.000000000 +1000
+++ cl-sdl-0.2.2/opengl/glu.lisp	2006-08-03 16:01:58.000000000 +1000
@@ -106,3 +106,10 @@
   (width gl:double)
   (height gl:double)
   (viewport (* gl:int)))
+
+(def-foreign-routine ("gluOrtho2D" ortho-2d) void
+  (left gl:double)
+  (right gl:double)
+  (bottom gl:double)
+  (top gl:double))
+
	 


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cl-sdl-opengl depends on:
ii  cl-sdl                        1:0.2.2-3  Common Lisp bindings to the SDL gr
ii  cl-uffi                       1.5.14-1   Universal Foreign Function Library
ii  libc6                         2.3.6-16   GNU C Library: Shared libraries
ii  libgl1-mesa-glx [libgl1]      6.4.2-1    A free implementation of the OpenG
ii  libglu1-mesa [libglu1]        6.4.2-1    The OpenGL utility library (GLU)
ii  libglu1-mesa-dev [libglu-dev] 6.4.2-1    The OpenGL utility library -- deve

cl-sdl-opengl recommends no packages.

-- no debconf information





More information about the Cl-debian mailing list