]> git.pld-linux.org Git - packages/xlockmore.git/commitdiff
- patch for Mesa 3.1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 20 Jan 2000 14:37:39 +0000 (14:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xlockmore-Mesa.patch -> 1.1

xlockmore-Mesa.patch [new file with mode: 0644]

diff --git a/xlockmore-Mesa.patch b/xlockmore-Mesa.patch
new file mode 100644 (file)
index 0000000..ef454bb
--- /dev/null
@@ -0,0 +1,36 @@
+--- configure.in~      Mon Nov  8 15:06:12 1999
++++ configure.in       Wed Jan 19 14:37:50 2000
+@@ -1903,10 +1903,10 @@
+ dnl MesaGL mesagl
+-dnl test -z "$mesagl_direct_test_library" && mesagl_direct_test_library=MesaGLU
++dnl test -z "$mesagl_direct_test_library" && mesagl_direct_test_library=GLU
+ AC_DEFUN(AC_PATH_MESAGL_DIRECT,
+-[test -z "$mesagl_direct_test_library" && mesagl_direct_test_library=MesaGL
+-test -z "$mesagl_direct_test_library" && mesagl_direct_test_library=MesaGLU
++[test -z "$mesagl_direct_test_library" && mesagl_direct_test_library=GL
++test -z "$mesagl_direct_test_library" && mesagl_direct_test_library=GLU
+ test -z "$mesagl_direct_test_function" && mesagl_direct_test_function=glXCreateContext
+ test -z "$mesagl_direct_test_include" && mesagl_direct_test_include=GL/gl.h
+   for ac_dir in               \
+@@ -2057,7 +2057,7 @@
+   if test "$gl" = no; then
+     gl=yes
+     AC_DEFINE(USE_GL)
+-    XLOCKLIBS="${XLOCKLIBS} -lMesaGL -lMesaGLU"
++    XLOCKLIBS="${XLOCKLIBS} -lGL -lGLU"
+     test "x$mesagl_includes" = xNONE && mesagl_includes=$ac_mesagl_includes
+     test "x$mesagl_libraries" = xNONE && mesagl_libraries=$ac_mesagl_libraries
+     case "${canonical}" in
+@@ -2073,8 +2073,8 @@
+     case "${canonical}" in
+       *-*-linux* )
+         # Testing if MesaGL was compiled against VGA
+-        if test -f $mesagl_libraries/libMesaGL.so; then
+-          have_mesagl_svga=`nm $mesagl_libraries/libMesaGL.so | grep SVGAMesa | wc -l`
++        if test -f $mesagl_libraries/libGL.so; then
++          have_mesagl_svga=`nm $mesagl_libraries/libGL.so | grep SVGAMesa | wc -l`
+         else
+           have_mesagl_svga=0
+         fi
This page took 0.039053 seconds and 4 git commands to generate.