mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
3.0 KiB

  1. diff -pruN xc_orig/fonts/util/ucs2any.c xc/fonts/util/ucs2any.c
  2. --- xc_orig/fonts/util/ucs2any.c 2003-09-21 12:54:14.000000000 +0200
  3. +++ xc/fonts/util/ucs2any.c 2004-01-16 19:49:18.000000000 +0100
  4. @@ -48,9 +48,6 @@
  5. #include <ctype.h>
  6. #include <errno.h>
  7. #include <fcntl.h>
  8. -#ifndef NEED_BASENAME
  9. -#include <libgen.h>
  10. -#endif
  11. #include <limits.h>
  12. #include <stdarg.h>
  13. #include <stdio.h>
  14. @@ -61,17 +58,6 @@
  15. /* global variable for argv[0] */
  16. const char *my_name = NULL;
  17. -#ifdef NEED_BASENAME
  18. -static char *
  19. -basename(char *pathname)
  20. -{
  21. - char *ptr;
  22. -
  23. - ptr = strrchr(pathname, '/');
  24. - return ((ptr == NULL) ? pathname : &ptr[1]);
  25. -}
  26. -#endif
  27. -
  28. /* "CLASS" "z" string and memory manipulation */
  29. static void *
  30. diff -pruN xc_orig/programs/glxgears/Imakefile xc/programs/glxgears/Imakefile
  31. --- xc_orig/programs/glxgears/Imakefile 2001-04-02 23:12:11.000000000 +0200
  32. +++ xc/programs/glxgears/Imakefile 2004-01-16 19:44:27.000000000 +0100
  33. @@ -2,7 +2,7 @@ XCOMM $XConsortium: Imakefile /main/7 19
  34. XCOMM $XFree86: xc/programs/glxgears/Imakefile,v 1.1 2001/04/02 21:12:11 dawes Exp $
  35. #include <Threads.tmpl>
  36. DEPLIBS = $(DEPGLXLIB) $(DEPXLIB)
  37. -LOCAL_LIBRARIES = $(GLXLIB) $(XLIB)
  38. +LOCAL_LIBRARIES = $(GLXLIB) $(XLIB) -ldl -lXxf86vm
  39. SYS_LIBRARIES = MathLibrary
  40. SimpleProgramTarget(glxgears)
  41. diff -pruN xc_orig/programs/glxinfo/Imakefile xc/programs/glxinfo/Imakefile
  42. --- xc_orig/programs/glxinfo/Imakefile 2002-11-22 23:56:03.000000000 +0100
  43. +++ xc/programs/glxinfo/Imakefile 2004-01-16 19:41:59.000000000 +0100
  44. @@ -5,13 +5,13 @@ XCOMM $XFree86: xc/programs/glxinfo/Imak
  45. #if BuildGLULibrary
  46. DEPLIBS = $(DEPGLULIB) $(DEPGLXLIB) $(DEPXLIB)
  47. -LOCAL_LIBRARIES = $(GLULIB) $(GLXLIB) $(XLIB)
  48. +LOCAL_LIBRARIES = $(GLULIB) $(GLXLIB) $(XLIB) -ldl -lXxf86vm
  49. DEFINES = -DDO_GLU
  50. #else
  51. DEPLIBS = $(DEPGLXLIB) $(DEPXLIB)
  52. -LOCAL_LIBRARIES = $(GLXLIB) $(XLIB)
  53. +LOCAL_LIBRARIES = $(GLXLIB) $(XLIB) -ldl -lXxf86vm
  54. #endif
  55. diff -pruN xc_orig/programs/xdm/Imakefile xc/programs/xdm/Imakefile
  56. --- xc_orig/programs/xdm/Imakefile 2003-12-19 05:51:15.000000000 +0100
  57. +++ xc/programs/xdm/Imakefile 2004-01-16 18:50:57.000000000 +0100
  58. @@ -121,16 +121,7 @@ SYS_LIBRARIES1 = -lauth
  59. SYS_LIBRARIES1 = -ls
  60. #endif
  61. -#if HasLibCrypt
  62. -#ifdef SpecialLibCrypt
  63. -CRYPT_LIBRARIES = SpecialLibCrypt
  64. -#else
  65. CRYPT_LIBRARIES = -lcrypt
  66. -#if defined(LynxOSArchitecture)
  67. -CRYPT_DEFINES = -DHAS_CRYPT
  68. -#endif
  69. -#endif
  70. -#endif
  71. #if HasBSD44Sockets
  72. SOCK_DEFINES = -DBSD44SOCKETS
  73. diff -pruN xc_orig/extras/ogl-sample/main/gfx/lib/glu/libnurbs/internals/mymath.h xc/extras/ogl-sample/main/gfx/lib/glu/libnurbs/internals/mymath.h
  74. --- xc_orig/extras/ogl-sample/main/gfx/lib/glu/libnurbs/internals/mymath.h 2002-05-31 18:36:49.000000000 +0200
  75. +++ xc/extras/ogl-sample/main/gfx/lib/glu/libnurbs/internals/mymath.h 2004-01-26 10:04:10.000000000 +0100
  76. @@ -66,8 +66,8 @@ extern "C" float floorf(float);
  77. #define NEEDCEILF
  78. #endif
  79. #elif defined(NEEDCEILF)
  80. -extern "C" float ceilf(float);
  81. -extern "C" float floorf(float);
  82. +//extern "C" float ceilf(float);
  83. +//extern "C" float floorf(float);
  84. #endif
  85. #ifdef LIBRARYBUILD