diff -pruN xc_orig/fonts/util/ucs2any.c xc/fonts/util/ucs2any.c --- xc_orig/fonts/util/ucs2any.c 2003-09-21 12:54:14.000000000 +0200 +++ xc/fonts/util/ucs2any.c 2004-01-16 19:49:18.000000000 +0100 @@ -48,9 +48,6 @@ #include #include #include -#ifndef NEED_BASENAME -#include -#endif #include #include #include @@ -61,17 +58,6 @@ /* global variable for argv[0] */ const char *my_name = NULL; -#ifdef NEED_BASENAME -static char * -basename(char *pathname) -{ - char *ptr; - - ptr = strrchr(pathname, '/'); - return ((ptr == NULL) ? pathname : &ptr[1]); -} -#endif - /* "CLASS" "z" string and memory manipulation */ static void * diff -pruN xc_orig/programs/glxgears/Imakefile xc/programs/glxgears/Imakefile --- xc_orig/programs/glxgears/Imakefile 2001-04-02 23:12:11.000000000 +0200 +++ xc/programs/glxgears/Imakefile 2004-01-16 19:44:27.000000000 +0100 @@ -2,7 +2,7 @@ XCOMM $XConsortium: Imakefile /main/7 19 XCOMM $XFree86: xc/programs/glxgears/Imakefile,v 1.1 2001/04/02 21:12:11 dawes Exp $ #include DEPLIBS = $(DEPGLXLIB) $(DEPXLIB) -LOCAL_LIBRARIES = $(GLXLIB) $(XLIB) +LOCAL_LIBRARIES = $(GLXLIB) $(XLIB) -ldl -lXxf86vm SYS_LIBRARIES = MathLibrary SimpleProgramTarget(glxgears) diff -pruN xc_orig/programs/glxinfo/Imakefile xc/programs/glxinfo/Imakefile --- xc_orig/programs/glxinfo/Imakefile 2002-11-22 23:56:03.000000000 +0100 +++ xc/programs/glxinfo/Imakefile 2004-01-16 19:41:59.000000000 +0100 @@ -5,13 +5,13 @@ XCOMM $XFree86: xc/programs/glxinfo/Imak #if BuildGLULibrary DEPLIBS = $(DEPGLULIB) $(DEPGLXLIB) $(DEPXLIB) -LOCAL_LIBRARIES = $(GLULIB) $(GLXLIB) $(XLIB) +LOCAL_LIBRARIES = $(GLULIB) $(GLXLIB) $(XLIB) -ldl -lXxf86vm DEFINES = -DDO_GLU #else DEPLIBS = $(DEPGLXLIB) $(DEPXLIB) -LOCAL_LIBRARIES = $(GLXLIB) $(XLIB) +LOCAL_LIBRARIES = $(GLXLIB) $(XLIB) -ldl -lXxf86vm #endif diff -pruN xc_orig/programs/xdm/Imakefile xc/programs/xdm/Imakefile --- xc_orig/programs/xdm/Imakefile 2003-12-19 05:51:15.000000000 +0100 +++ xc/programs/xdm/Imakefile 2004-01-16 18:50:57.000000000 +0100 @@ -121,16 +121,7 @@ SYS_LIBRARIES1 = -lauth SYS_LIBRARIES1 = -ls #endif -#if HasLibCrypt -#ifdef SpecialLibCrypt -CRYPT_LIBRARIES = SpecialLibCrypt -#else CRYPT_LIBRARIES = -lcrypt -#if defined(LynxOSArchitecture) -CRYPT_DEFINES = -DHAS_CRYPT -#endif -#endif -#endif #if HasBSD44Sockets SOCK_DEFINES = -DBSD44SOCKETS 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 --- xc_orig/extras/ogl-sample/main/gfx/lib/glu/libnurbs/internals/mymath.h 2002-05-31 18:36:49.000000000 +0200 +++ xc/extras/ogl-sample/main/gfx/lib/glu/libnurbs/internals/mymath.h 2004-01-26 10:04:10.000000000 +0100 @@ -66,8 +66,8 @@ extern "C" float floorf(float); #define NEEDCEILF #endif #elif defined(NEEDCEILF) -extern "C" float ceilf(float); -extern "C" float floorf(float); +//extern "C" float ceilf(float); +//extern "C" float floorf(float); #endif #ifdef LIBRARYBUILD