Tags: patch
It seems that some symbols in /usr/include/gl.h have been removed but were
expected in this package. I have attached a patch to ignore them in the
package source if they are undefined in the headers. This has been done
for previous patches. In addition, the package needs to have an updated
Standards Version and some of the build dependencies were out of date with
the X.org transition and the freeglut3 package. These changes are
included as well. It may be that this package has been orphaned upstream
and it may not support the latest OpenGL standards.
diff -ur libopengl-perl-0.54.alan1.orig/debian/control
libopengl-perl-0.54.alan1/debian/control
--- libopengl-perl-0.54.alan1.orig/debian/control 2005-10-21
12:18:23.000000000 -0500
+++ libopengl-perl-0.54.alan1/debian/control 2005-10-20 17:26:34.000000000
-0500
@@ -1,9 +1,9 @@
Source: libopengl-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>> 4.1), perl (>> 5.8.1), xlibmesa-gl-dev |
libgl-dev, libglut3-dev | libglut-dev, xlibmesa-glu-dev | libglu1-mesa-dev
+Build-Depends: debhelper (>> 4.1), perl (>> 5.8.1), xlibmesa-gl-dev |
libgl-dev, freeglut3-dev | libglut-dev, libglu1-xorg-dev
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
-Standards-Version: 3.6.1
+Standards-Version: 3.6.2
Package: libopengl-perl
Architecture: any
diff -ur libopengl-perl-0.54.alan1.orig/gl_const.h
libopengl-perl-0.54.alan1/gl_const.h
--- libopengl-perl-0.54.alan1.orig/gl_const.h 2005-10-21 12:18:23.000000000
-0500
+++ libopengl-perl-0.54.alan1/gl_const.h 2005-10-21 12:03:28.000000000
-0500
@@ -922,14 +922,30 @@
#if defined(GL_EXT_paletted_texture)
i(GL_TABLE_TOO_LARGE_EXT)
+# if defined(GL_COLOR_TABLE_FORMAT_EXT)
i(GL_COLOR_TABLE_FORMAT_EXT)
+# endif
+# if defined(GL_COLOR_TABLE_WIDTH_EXT)
i(GL_COLOR_TABLE_WIDTH_EXT)
+# endif
+# if defined(GL_COLOR_TABLE_RED_SIZE_EXT)
i(GL_COLOR_TABLE_RED_SIZE_EXT)
+# endif
+# if defined(GL_COLOR_TABLE_GREEN_SIZE_EXT)
i(GL_COLOR_TABLE_GREEN_SIZE_EXT)
+# endif
+# if defined(GL_COLOR_TABLE_BLUE_SIZE_EXT)
i(GL_COLOR_TABLE_BLUE_SIZE_EXT)
+# endif
+# if defined(GL_COLOR_TABLE_ALPHA_SIZE_EXT)
i(GL_COLOR_TABLE_ALPHA_SIZE_EXT)
+# endif
+# if defined(GL_COLOR_TABLE_LUMINANCE_SIZE_EXT)
i(GL_COLOR_TABLE_LUMINANCE_SIZE_EXT)
+# endif
+# if defined(GL_COLOR_TABLE_INTENSITY_SIZE_EXT)
i(GL_COLOR_TABLE_INTENSITY_SIZE_EXT)
+# endif
i(GL_TEXTURE_INDEX_SIZE_EXT)
i(GL_COLOR_INDEX1_EXT)
i(GL_COLOR_INDEX2_EXT)
@@ -987,9 +1003,11 @@
* allow code that uses either.
*/
#if defined(GL_ALL_CLIENT_ATTRIB_BITS) && !defined(GL_CLIENT_ALL_ATTRIB_BITS)
-#define GL_CLIENT_ALL_ATTRIB_BITS GL_ALL_CLIENT_ATTRIB_BITS
-#else
-#define GL_ALL_CLIENT_ATTRIB_BITS GL_CLIENT_ALL_ATTRIB_BITS
+# define GL_CLIENT_ALL_ATTRIB_BITS GL_ALL_CLIENT_ATTRIB_BITS
+#else
+# if defined(GL_CLIENT_ALL_ATTRIB_BITS) && !defined(GL_ALL_CLIENT_ATTRIB_BITS)
+# define GL_ALL_CLIENT_ATTRIB_BITS GL_CLIENT_ALL_ATTRIB_BITS
+# endif
#endif
i(GL_ALL_CLIENT_ATTRIB_BITS)
i(GL_CLIENT_ALL_ATTRIB_BITS)
--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498 Fax: 312.567.3494
[EMAIL PROTECTED] http://www.iit.edu/~segre
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]